1--TEST--
2Incorrect optimization of $i = $i++
3--SKIPIF--
4<?php require_once('skipif.inc'); ?>
5--FILE--
6<?php
7
8function test() {
9 $i = 1;
10 $i = $i++;
11 var_dump($i);
12
13 $i = 1;
14 $i = $i--;
15 var_dump($i);
16}
17test();
18
19?>
20--EXPECT--
21int(1)
22int(1)
23