xref: /PHP-5.6/Zend/tests/bug24773.phpt (revision 54a73a6c)
1--TEST--
2Bug #24773 (unset() of integers treated as arrays causes a crash)
3--FILE--
4<?php
5	$array = 'test';
6	unset($array["lvl1"]["lvl2"]["b"]);
7?>
8--EXPECTF--
9Fatal error: Cannot unset string offsets in %s on line %d
10