php-src/Zend/tests/globals_004.phpt

29 lines
375 B
Plaintext
Raw Normal View History

2007-02-02 11:10:42 +00:00
--TEST--
globals in local scope - 3
2009-07-17 08:20:04 +00:00
--INI--
2007-02-02 11:10:42 +00:00
variables_order="egpcs"
--FILE--
<?php
function test() {
include dirname(__FILE__)."/globals.inc";
}
test();
echo "Done\n";
?>
--EXPECTF--
2007-02-02 11:10:42 +00:00
bool(true)
bool(false)
unicode(5) "array"
int(%d)
string(%d) "%s"
Notice: Undefined index: PHP_SELF in %s on line %d
2007-02-02 11:10:42 +00:00
NULL
Notice: Undefined variable: _SERVER in %s on line %d
NULL
Done