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