xref: /PHP-5.4/Zend/tests/bug47704.phpt (revision ff562052)
1--TEST--
2Bug #47704 (crashes on some "bad" operations with string offsets)
3--FILE--
4<?php
5$s = "abd";
6$s[0]->a += 1;
7?>
8--EXPECTF--
9Fatal error: Cannot use string offset as an object in %sbug47704.php on line %d
10