summaryrefslogtreecommitdiff
path: root/Zend/tests/globals_004.phpt
blob: 6e21b7fbc03dccde16c53758bf1b1cda2e9b0085 (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 dirname(__FILE__)."/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