xref: /PHP-7.0/Zend/tests/unset_cv04.phpt (revision beaff87d)
1--TEST--
2unset() CV 4 (unset() local variable in included file)
3--FILE--
4<?php
5function f() {
6  $x = "ok\n";
7  echo $x;
8  include "unset.inc";
9  echo $x;
10}
11f();
12?>
13--EXPECTF--
14ok
15
16Notice: Undefined variable: x in %sunset_cv04.php on line %d
17