if condition in PHP and Laravel

Ali
Dec 3, 2022

--

Today is a good day to write about if conditions so lets just dive in.

So the main takeaway here is that if condition evaluates w.r.t null, string length, array length, object length; with these checks in place you can move with confidence w/o using isset wherever possible.

--

--

No responses yet