[TYPO3-core] RFC #9266: Bug: strcmp() with array as parameter in t3lib_div::linkThisScript() produces warnings with PHP 5.3

Ingo Renner ingo at typo3.org
Tue Sep 2 19:40:04 CEST 2008


Niels Pardon wrote:

Hey Niels,

>> !empty($var) is even more explicit and easier to understand
> 
> yes, that's true. But what if the $value = 0? Then empty($value) will be
> true and I'm not sure whether this intended.

point taken for this situation ;)


Ingo

-- 
Ingo Renner
TYPO3 Core Developer, Release Manager TYPO3 4.2


More information about the TYPO3-team-core mailing list