mirror of
https://github.com/php/php-src.git
synced 2026-04-24 16:38:25 +02:00
37612936a1
We can't just remove the uses, we need to replace uses. The test case only fails on master with SSA integrity violations, but I believe the root issue also existed previously.
15 lines
234 B
PHP
15 lines
234 B
PHP
--TEST--
|
|
Regression test for incorrect update of pi node users when removing a predecessor block
|
|
--FILE--
|
|
<?php
|
|
|
|
function test() {
|
|
for (; $n--; )
|
|
C;
|
|
}
|
|
test();
|
|
|
|
?>
|
|
--EXPECTF--
|
|
Notice: Undefined variable: n in %s on line %d
|