Annotation of embedaddon/php/Zend/tests/globals_004.phpt, revision 1.1
1.1 ! misho 1: --TEST--
! 2: globals in local scope - 3
! 3: --INI--
! 4: variables_order="egpcs"
! 5: --FILE--
! 6: <?php
! 7:
! 8: function test() {
! 9: include dirname(__FILE__)."/globals.inc";
! 10: }
! 11:
! 12: test();
! 13:
! 14: echo "Done\n";
! 15: ?>
! 16: --EXPECTF--
! 17: bool(true)
! 18: bool(false)
! 19: string(5) "array"
! 20: int(%d)
! 21: string(%d) "%s"
! 22:
! 23: Notice: Undefined index: PHP_SELF in %s on line %d
! 24: NULL
! 25:
! 26: Notice: Undefined variable: _SERVER in %s on line %d
! 27: NULL
! 28: Done
FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>