php-src/Zend/tests/unset_cv12.phpt
2012-10-10 10:27:49 +08:00

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