mirror of
https://github.com/php/php-src.git
synced 2024-09-21 09:57:23 +00:00
5cae6b9b0d
We'd have usually converted it into a PRE_INC if there is no use, but that's not guaranteed. If there is no use at this point, make sure we don't try to use the sentinel value.
14 lines
165 B
PHP
14 lines
165 B
PHP
--TEST--
|
|
POST_INC without use during DFA optimization
|
|
--FILE--
|
|
<?php
|
|
|
|
function test($n) {
|
|
for ($i = 0; $i < $n; !$i++) {}
|
|
}
|
|
|
|
?>
|
|
===DONE===
|
|
--EXPECT--
|
|
===DONE===
|