xref: /php-src/Zend/tests/globals_004.phpt (revision 3c68f38f)
1--TEST--
2globals in local scope - 3
3--INI--
4variables_order="egpcs"
5--FILE--
6<?php
7
8function test() {
9    include __DIR__."/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
23Warning: Undefined array key "PHP_SELF" in %s on line %d
24NULL
25
26Warning: Undefined global variable $_SERVER in %s on line %d
27NULL
28Done
29