mirror of
https://github.com/php/php-src.git
synced 2024-12-02 22:34:55 +08:00
d422478f6d
* PHP-7.3: Fix bug #76047
19 lines
326 B
PHP
19 lines
326 B
PHP
--TEST--
|
|
Bug #78973: Destructor during CV freeing causes segfault if opline never saved
|
|
--INI--
|
|
opcache.optimization_level=0
|
|
--FILE--
|
|
<?php
|
|
|
|
function test($x) {
|
|
}
|
|
test(new class {
|
|
public function __destruct() {
|
|
debug_print_backtrace();
|
|
}
|
|
});
|
|
|
|
?>
|
|
--EXPECTF--
|
|
#0 class@anonymous->__destruct() called at [%s:%d]
|