mirror of
https://github.com/php/php-src.git
synced 2024-09-28 21:36:12 +00:00
18 lines
316 B
Plaintext
18 lines
316 B
Plaintext
|
--TEST--
|
||
|
Bug #78973: Destructor during CV freeing causes segfault if opline never saved
|
||
|
--FILE--
|
||
|
<?php
|
||
|
|
||
|
function test($x) {
|
||
|
}
|
||
|
test(new class {
|
||
|
public function __destruct() {
|
||
|
debug_print_backtrace();
|
||
|
}
|
||
|
});
|
||
|
|
||
|
?>
|
||
|
--EXPECTF--
|
||
|
#0 class@anonymous->__destruct() called at [%s:4]
|
||
|
#1 test() called at [%s:5]
|