On empty return values. #PHP
www.garfieldtech.comOn empty return values | GarfieldTech
Replying to @Crell@phpc.social
@Crell it's 13 years later and you don't have to wrap is_null() around potential null values anymore. 😊 $mightBeNull?->doSomethingIfNotNull()
Replying to @kleisli@mastodon.social
@kleisli It's still better to not have bulls if you can avoid them. :-)
And a false return is still flat out wrong.