mirror of
https://github.com/php/php-src.git
synced 2024-12-14 20:33:36 +08:00
10 lines
212 B
Plaintext
10 lines
212 B
Plaintext
|
--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
|