1
0
mirror of https://github.com/php/php-src.git synced 2026-03-25 16:52:18 +01:00
Files
archived-php-src/ext/opcache/tests/bug79535.phpt
Nikita Popov 7c1316ec6a Fixed bug #79535
We did not allocate a cache slot for FETCH_CLASS. This is already
fixed on newer PHP versions.
2020-05-04 14:51:18 +02:00

16 lines
269 B
PHP

--TEST--
Bug #79535: PHP crashes with specific opcache.optimization_level
--INI--
opcache.optimization_level=0x000000a0
--FILE--
<?php
function create() {
$name = stdClass::class;
return new $name;
}
var_dump(create());
?>
--EXPECT--
object(stdClass)#1 (0) {
}