note 87017 added to functions.arguments
| From: | francoishill at osu1 dot php dot net | Date: | Fri, 14 Nov 2008 19:04:16 +0000 |
| Subject: | note 87017 added to functions.arguments | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-146560@lists.php.net to get a copy of this message | ||
PHP allows calling a function with more arguments than specified in the function signature (see
func_get_args())
but raises a warning when less arguments (than mandatory) are passed :
Warning: Missing argument 1 for test_nb_args(), ...
----
Server IP: 195.221.21.36
Probable Submitter: 194.153.88.6
----
Manual Page -- http://www.php.net/manual/en/functions.arguments.php
Edit -- https://master.php.net/note/edit/87017
Del: integrated -- https://master.php.net/note/delete/87017/integrated
Del: useless -- https://master.php.net/note/delete/87017/useless
Del: bad code -- https://master.php.net/note/delete/87017/bad+code
Del: spam -- https://master.php.net/note/delete/87017/spam
Del: non-english -- https://master.php.net/note/delete/87017/non-english
Del: in docs -- https://master.php.net/note/delete/87017/in+docs
Del: other reasons-- https://master.php.net/note/delete/87017
Reject -- https://master.php.net/note/reject/87017
Search -- https://master.php.net/manage/user-notes.php