PHP  
 PHP_5_3
downloads | QA | documentation | faq | getting help | mailing lists | reporting bugs | php.net sites | links | my php.net 
 

Expected Test Failure Report for Zend/tests/bug62680.phpt ('Bug #62680 (Function isset() throws fatal error on set array if non-existent key depth >= 3)')

Script

1: <?php
2: $array 
= array("");
3:
var_dump(isset($array[0]["a"]["b"]));
4:
var_dump(isset($array[0]["a"]["b"]["c"]));
5:
?>
6:

Expected

bool(false)
bool(false)

Output

bool(false)

Fatal error: Cannot use string offset as an array in /var/php_gcov/PHP_5_3/Zend/tests/bug62680.php on line 4

Diff

002+ 
002- bool(false)
003+ Fatal error: Cannot use string offset as an array in /var/php_gcov/PHP_5_3/Zend/tests/bug62680.php on line 4

 

Generated at Sun, 13 Jul 2014 23:58:04 +0000 (9 days ago)

Copyright © 2005-2014 The PHP Group
All rights reserved.