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