1
0
mirror of https://github.com/php/php-src.git synced 2026-03-28 02:02:32 +01:00
Files
archived-php-src/ext/opcache/tests/bug75969.phpt
Nikita Popov 372bf8a923 Fixed bug #75969
Move NOP stripping out of zend_optimize_block: NOP stripping may
move instructions, which may invalidate a Tsource shared across
an extended basic block.
2018-02-16 20:30:03 +01:00

25 lines
392 B
PHP

--TEST--
Bug #75969: Assertion failure in live range DCE due to block pass misoptimization
--INI--
opcache.enable_cli=1
opcache.optimization_level=-1
--FILE--
<?php
// This is required for the segfault
md5('foo');
class Extended_Class {};
$response = array(
'a' => 'b'
);
new Extended_Class( array(
'foo' => $response,
'foo2' => 'bar2'
) );
?>
===DONE===
--EXPECT--
===DONE===