Return to bug24773.phpt CVS log | Up to [ELWIX - Embedded LightWeight unIX -] / embedaddon / php / Zend / tests |
php
--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