xref: /PHP-5.5/Zend/tests/bug41919.phpt (revision fc6fa440)
1--TEST--
2Bug #41919 (crash in string to array conversion)
3--FILE--
4<?php
5$foo="50";
6$foo[3]->bar[1] = "bang";
7
8echo "ok\n";
9?>
10--EXPECTF--
11Fatal error: Cannot use string offset as an object in %sbug41919.php on line %d
12