From: Antony Dovgal Date: Thu, 12 Jul 2007 09:29:50 +0000 (+0000) Subject: add new test X-Git-Tag: BEFORE_IMPORT_OF_MYSQLND~197 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=53c34ffb409ebeca89f32b8cb012eb5d0a7198ad;p=php add 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