Skip to content

Commit 645f84e

Browse files
committed
Test for bug #62680
1 parent 7e3e183 commit 645f84e

File tree

1 file changed

+13
-0
lines changed

1 file changed

+13
-0
lines changed

Zend/tests/bug62680.phpt

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
--TEST--
2+
Bug #62680 (Function isset() throws fatal error on set array if non-existent key depth >= 3)
3+
--XFAIL--
4+
see https://bugs.php.net/62680
5+
--FILE--
6+
<?php
7+
$array = array("");
8+
var_dump(isset($array[0]["a"]["b"]));
9+
var_dump(isset($array[0]["a"]["b"]["c"]));
10+
?>
11+
--EXPECT--
12+
bool(false)
13+
bool(false)

0 commit comments

Comments
 (0)