cvs: ZendEngine2 /tests bug24773.phpt
| From: | Ilia Alshanetsky | Date: | Wed, 03 Dec 2003 23:00:30 +0000 |
| Subject: | cvs: ZendEngine2 /tests bug24773.phpt | ||
| Groups: | php.zend-engine.cvs | ||
| Request: | Send a blank email to php-zend-engine-cvs+get-2059@lists.php.net to get a copy of this message | ||
iliaa Wed Dec 3 18:00:30 2003 EDT
Added files:
/ZendEngine2/tests bug24773.phpt
Log:
Test case for bug #24773.
Index: ZendEngine2/tests/bug24773.phpt
+++ ZendEngine2/tests/bug24773.phpt
--TEST--
Bug #24773 (unset() of integers treated as arrays causes a crash)
--FILE--
<?php
$array = 'test';
unset($array["lvl1"]["lvl2"]["b"]);
?>
--EXPECTF--
Fatal error: Cannot unset string offsets in %s on line %d