com php-src: Test for bug #62680: Zend/tests/bug62680.phpt

From: Date: Tue, 31 Jul 2012 02:49:13 +0000
Subject: com php-src: Test for bug #62680: Zend/tests/bug62680.phpt
Groups: php.cvs 
Request: Send a blank email to php-cvs+get-69738@lists.php.net to get a copy of this message
Commit: 645f84e41bbda22c7a19326cd1a7df7994678976 Author: Xinchen Hui <laruence@php.net> Tue, 31 Jul 2012 10:49:13 +0800 Parents: 7e3e1837c8e60ad87e9b7aee6cb306a843f5c784 Branches: PHP-5.3 Link: http://git.php.net/?p=php-src.git;a=commitdiff;h=645f84e41bbda22c7a19326cd1a7df7994678976 Log: Test for bug #62680 Bugs: https://bugs.php.net/62680 Changed paths: A Zend/tests/bug62680.phpt Diff: diff --git a/Zend/tests/bug62680.phpt b/Zend/tests/bug62680.phpt new file mode 100644 index 0000000..804dece --- /dev/null +++ b/Zend/tests/bug62680.phpt @@ -0,0 +1,13 @@ +--TEST-- +Bug #62680 (Function isset() throws fatal error on set array if non-existent key depth >= 3) +--XFAIL-- +see https://bugs.php.net/62680 +--FILE-- +<?php +$array = array(""); +var_dump(isset($array[0]["a"]["b"])); +var_dump(isset($array[0]["a"]["b"]["c"])); +?> +--EXPECT-- +bool(false) +bool(false)

« previous php.cvs (#69738) next »