> isset($arr[0]['id']) used to return false if $arr[0] is undefined, but > with the new VM it throws a warning. > > Is this new behavior or a bug ? > I'd call it bugish, since part of the point of isset() is that it's never supposed to throw notices on undefined vars/indices.
[EMAIL PROTECTED] php5]$ sapi/cli/php -r 'error_reporting(E_ALL|E_STRICT); ini_set("display_errors", true); var_dump(isset($arr[0]));' bool(false) [EMAIL PROTECTED] php5]$ sapi/cli/php -r 'error_reporting(E_ALL|E_STRICT); ini_set("display_errors", true); var_dump(isset($arr[0][0]));' Notice: Undefined variable: arr in Command line code on line 1 bool(false) -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php