xref: /PHP-5.3/Zend/tests/globals_004.phpt (revision 29b557ae)
1--TEST--
2globals in local scope - 3
3--INI--
4variables_order="egpcs"
5--FILE--
6<?php
7
8function test() {
9	include dirname(__FILE__)."/globals.inc";
10}
11
12test();
13
14echo "Done\n";
15?>
16--EXPECTF--
17bool(true)
18bool(false)
19string(5) "array"
20int(%d)
21string(%d) "%s"
22
23Notice: Undefined index: PHP_SELF in %s on line %d
24NULL
25
26Notice: Undefined variable: _SERVER in %s on line %d
27NULL
28Done
29