mirror of
https://github.com/php/php-src.git
synced 2024-12-19 15:00:15 +08:00
12 lines
176 B
PHP
12 lines
176 B
PHP
--TEST--
|
|
unset() CV 12 (unset() in indirect called function)
|
|
--FILE--
|
|
<?php
|
|
$x = 1;
|
|
function foo() {unset($GLOBALS["x"]);}
|
|
call_user_func("foo");
|
|
echo "ok\n";
|
|
?>
|
|
--EXPECT--
|
|
ok
|