php-src/Zend/tests/globals_004.phpt
Steph Fox 6d8760677d - killed off UEXPECT
- altered EXPECT for parser errors. This may or may not be a Good Thing.
2008-05-26 14:33:44 +00:00

29 lines
376 B
PHP

--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)
unicode(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