Tag Archives: Boolean

PHP: Empty() is the Opposite of a Boolean Variable

From the know your language department: It’s already written in the PHP manual, if we could only read it 😉 : empty() is the opposite of (boolean) var, except that no warning is generated when the variable is not set. … Continue reading

Posted in PHP Development, Pressed, The Know Your Language Department | Tagged , , | 3 Comments