<?php if ($foo = $bar) … ?>
PHP sure has some weird conditional matches. I thought it was a general rule that “if ($foo = $bar)” always evaluated TRUE unless $bar was NULL. But apparently that’s not the case in PHP: (Read on …)
PHP sure has some weird conditional matches. I thought it was a general rule that “if ($foo = $bar)” always evaluated TRUE unless $bar was NULL. But apparently that’s not the case in PHP: (Read on …)