1
0
mirror of https://github.com/php/php-src.git synced 2026-04-06 07:32:54 +02:00
Files
archived-php-src/Zend/tests/replace_pred_pi_node.phpt
Nikita Popov 038bc27787 Handle pi nodes in replace_predecessor
If we're removing a predecessor because it already exists during
replacement, we should also drop pi nodes for that predecessor.

Fixes oss-fuzz #39276.
2021-09-27 10:47:47 +02:00

14 lines
216 B
PHP

--TEST--
Handling of pi nodes when replacing a predecessor
--FILE--
<?php
function test(bool $a, bool $b) {
$byte = '';
if ($a && $byte > 0 && $b) {}
unknown($byte);
}
?>
===DONE===
--EXPECT--
===DONE===