xref: /PHP-8.2/ext/opcache/tests/bug79535.phpt (revision e9f783fc)
1--TEST--
2Bug #79535: PHP crashes with specific opcache.optimization_level
3--EXTENSIONS--
4opcache
5--INI--
6opcache.optimization_level=0x000000a0
7--FILE--
8<?php
9function create() {
10    $name = stdClass::class;
11    return new $name;
12}
13var_dump(create());
14?>
15--EXPECT--
16object(stdClass)#1 (0) {
17}
18