mirror of
https://github.com/php/php-src.git
synced 2026-04-28 10:43:30 +02:00
19 lines
486 B
PHP
19 lines
486 B
PHP
--TEST--
|
|
Bug #72907 (null pointer deref, segfault in gc_remove_zval_from_buffer (zend_gc.c:260))
|
|
--FILE--
|
|
<?php
|
|
|
|
$a = 0;
|
|
|
|
($a->a = &$E) + ($b = $a->b->i -= 0);
|
|
|
|
?>
|
|
--EXPECTF--
|
|
Warning: Attempt to modify property of non-object in %sbug72907.php on line %d
|
|
|
|
Warning: Attempt to modify property of non-object in %sbug72907.php on line %d
|
|
|
|
Warning: Creating default object from empty value in %sbug72907.php on line %d
|
|
|
|
Notice: Undefined property: stdClass::$i in %sbug72907.php on line %d
|