summaryrefslogtreecommitdiff
path: root/ext/opcache/tests/bug79535.phpt
blob: 0a0b53fb113c52ecbfa6fcc95d99db85ec0048d2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
--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) {
}