mirror of
https://github.com/php/php-src.git
synced 2024-09-25 11:57:26 +00:00
15 lines
261 B
Plaintext
15 lines
261 B
Plaintext
|
--TSTE--
|
||
|
Bug #32080 (segfault when assigning object to itself with zend.ze1_compatibility_mode=On)
|
||
|
--INI--
|
||
|
zend.ze1_compatibility_mode=on
|
||
|
--FILE--
|
||
|
<?php
|
||
|
class test { }
|
||
|
$t = new test;
|
||
|
$t = $t; // gives segfault
|
||
|
var_dump($t);
|
||
|
?>
|
||
|
--EXPECT--
|
||
|
object(test)#2 (0) {
|
||
|
}
|