xref: /PHP-8.2/ext/opcache/tests/bug75969.phpt (revision e9f783fc)
1--TEST--
2Bug #75969: Assertion failure in live range DCE due to block pass misoptimization
3--INI--
4opcache.enable_cli=1
5opcache.optimization_level=-1
6--EXTENSIONS--
7opcache
8--FILE--
9<?php
10
11// This is required for the segfault
12md5('foo');
13
14class Extended_Class {};
15$response = array(
16    'a' => 'b'
17);
18new Extended_Class( array(
19    'foo' => $response,
20    'foo2' => 'bar2'
21) );
22
23?>
24===DONE===
25--EXPECT--
26===DONE===
27