mirror of
https://github.com/php/php-src.git
synced 2026-03-24 08:12:21 +01:00
Second pass through `Zend/tests/bug*` to organize the tests. Move tests to existing sub directories, and create some new sub directories: * `ArrayAccess` * `autoload` * `clone` * `serialize` (also covers `unserialize()`) * `switch` Work towards GH-15631
19 lines
315 B
PHP
19 lines
315 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 %s(%d): class@anonymous->__destruct()
|