From: Antony Dovgal Date: Thu, 12 Jul 2007 09:29:07 +0000 (+0000) Subject: new test X-Git-Tag: php-5.2.4RC1~172 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=f0dd5f5d52112714698fc645f485539c0366704d;p=php new test --- diff --git a/Zend/tests/020.phpt b/Zend/tests/020.phpt new file mode 100644 index 0000000000..fa49a93279 --- /dev/null +++ b/Zend/tests/020.phpt @@ -0,0 +1,31 @@ +--TEST-- +func_get_arg() invalid usage +--FILE-- + +--EXPECTF-- +bool(false) + +Warning: func_get_arg(): Called from the global scope - no function context in %s on line %d +bool(false) +bool(false) + +Warning: func_get_arg(): Argument 1 not passed to function in %s on line %d +bool(false) +Done