php-src/Zend/tests/unset_cv03.phpt

14 lines
212 B
PHP

--TEST--
unset() CV 3 (unset() global variable in included file)
--FILE--
<?php
$x = "ok\n";
echo $x;
include "unset.inc";
echo $x;
?>
--EXPECTF--
ok
Notice: Undefined variable: x in %sunset_cv03.php on line %d