mirror of
https://github.com/php/php-src.git
synced 2024-12-12 11:23:53 +08:00
17 lines
241 B
PHP
17 lines
241 B
PHP
--TEST--
|
|
unset() CV 4 (unset() local variable in included file)
|
|
--FILE--
|
|
<?php
|
|
function f() {
|
|
$x = "ok\n";
|
|
echo $x;
|
|
include "unset.inc";
|
|
echo $x;
|
|
}
|
|
f();
|
|
?>
|
|
--EXPECTF--
|
|
ok
|
|
|
|
Notice: Undefined variable: x in %sunset_cv04.php on line %d
|