summaryrefslogtreecommitdiff
path: root/Zend/tests/globals_004.phpt
blob: e06791e61ca22fd3eadc60e2ea5274562faf4723 (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 
--INIT--
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