Thanks Ferenc Everything looks ok http://codepad.viper-7.com/JTXsGK
Devis On 24 November 2011 10:31, Ferenc Kovacs <tyr...@gmail.com> wrote: >> >> >>> It gives me false in 5.3.6. Using it outside of isset() results in the >>> fatal error. >>> >> >> hm. >> >> tyrael@thor:~$ php -r '$string = >> "foo";isset($string["foo"]["bar"]["baz"]["0"]);'; >> PHP Fatal error: Cannot use string offset as an array in Command line >> code on line 1 >> tyrael@thor:~$ php -v >> PHP 5.3.8-1~dotdeb.2 with Suhosin-Patch (cli) (built: Aug 25 2011 13:30:46) >> Copyright (c) 1997-2011 The PHP Group >> Zend Engine v2.3.0, Copyright (c) 1998-2011 Zend Technologies >> with Suhosin v0.9.32.1, Copyright (c) 2007-2010, by SektionEins GmbH >> >> I will check this against a vanilla version, as there is a chance that >> either dotdeb(less likely) or suhosin patched something. >> > > I just remembered that there is http://codepad.viper-7.com/ > so: > 5.3 - fatal error: http://codepad.viper-7.com/GGhoSn > 5.4 - works: http://codepad.viper-7.com/WRdyni > -- > Ferenc Kovács > @Tyr43l - http://tyrael.hu > -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php