xref: /PHP-7.1/Zend/tests/bug43851.phpt (revision e6588b66)
1--TEST--
2Bug #43851 (Memory corrution on reuse of assigned value)
3--FILE--
4<?php
5foo();
6function foo() {
7	global $LAST;
8	($LAST = $LAST + 0) * 1;
9	echo "ok\n";
10}
11?>
12--EXPECT--
13ok
14