mirror of
https://github.com/php/php-src.git
synced 2026-03-31 04:32:19 +02:00
* Zend/*: fix a bunch of typos * Zend/tests/try/try_catch_finally_005.phpt: update string length
14 lines
189 B
PHP
14 lines
189 B
PHP
--TEST--
|
|
Bug #43851 (Memory corruption on reuse of assigned value)
|
|
--FILE--
|
|
<?php
|
|
foo();
|
|
function foo() {
|
|
global $LAST;
|
|
($LAST = $LAST + 0) * 1;
|
|
echo "ok\n";
|
|
}
|
|
?>
|
|
--EXPECT--
|
|
ok
|