[TYPO3-dev] Several extensions do not work with 4.2/PHP 5.2.x

Michael Stucki michael at typo3.org
Wed Feb 6 12:09:09 CET 2008


Oliver Hader wrote:

>> You mean in t3lib_div::_GET()?
>> 
>> Well, if you request a GET parameter which does not exist, the
>> consequence will be that false has to be returned. Also, think of the
>> possibility that this particular function can also return strings.
>> So there is nothing wrong with it, the developer has to deal with it.
> 
> Yes, and also the same happens when using native PHP functions with
> wrong argument types, e.g.
> | $array = array_merge(array('whatever'), 'whatever');
> will also return "Warning: array_merge(): Argument #2 is not an array"

Of course, but this is probably a bit more obvious... ;-)

- michael
-- 
Use a newsreader! Check out
http://typo3.org/community/mailing-lists/use-a-news-reader/




More information about the TYPO3-dev mailing list