mirror of
https://github.com/php/php-src.git
synced 2024-12-12 11:23:53 +08:00
18 lines
306 B
PHP
18 lines
306 B
PHP
--TEST--
|
|
Bug #72911 (Memleak in zend_binary_assign_op_obj_helper)
|
|
--FILE--
|
|
<?php
|
|
|
|
$a = 0;
|
|
|
|
$b = $a->b->i -= 0;
|
|
|
|
var_dump($b);
|
|
|
|
?>
|
|
--EXPECTF--
|
|
Warning: Attempt to modify property of non-object in %sbug72911.php on line %d
|
|
|
|
Warning: Attempt to assign property of non-object in %sbug72911.php on line %d
|
|
NULL
|