mirror of
https://github.com/php/php-src.git
synced 2024-12-14 12:26:19 +08:00
ff5620524c
Removed unnecessary checks
10 lines
212 B
PHP
10 lines
212 B
PHP
--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
|