diff options
author | Xinchen Hui <laruence@php.net> | 2012-07-31 10:49:13 +0800 |
---|---|---|
committer | Xinchen Hui <laruence@php.net> | 2012-07-31 10:49:13 +0800 |
commit | 645f84e41bbda22c7a19326cd1a7df7994678976 (patch) | |
tree | 60ee6ec73f7bc4046e45dae1c6f45548f9007f57 /Zend | |
parent | 7e3e1837c8e60ad87e9b7aee6cb306a843f5c784 (diff) | |
download | php-git-645f84e41bbda22c7a19326cd1a7df7994678976.tar.gz |
Test for bug #62680
Diffstat (limited to 'Zend')
-rw-r--r-- | Zend/tests/bug62680.phpt | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/Zend/tests/bug62680.phpt b/Zend/tests/bug62680.phpt new file mode 100644 index 0000000000..804dece415 --- /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) |