mirror of
https://github.com/php/php-src.git
synced 2024-11-24 10:24:11 +08:00
12 lines
176 B
PHP
Executable File
12 lines
176 B
PHP
Executable File
--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
|