Del Elson
Aug 29, 2021

--

Yeah this is ugly. What is the value of $country at the end of this if $session->user is null? Is it null or undef? Is PHP going to change that in PHP 9 because they realise it was a mistake?

--

--

Del Elson
Del Elson

Written by Del Elson

Since moving from Australia to Vietnam in 2014, Del has been running training courses in software architecture and technical architecture for the IT industry.

No responses yet