Re: Named Parameters
| From: | Richard Quadling | Date: | Mon, 12 Apr 2010 14:30:32 +0000 |
| Subject: | Re: Named Parameters | ||
| References: | 1 2 3 4 5 6 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-47893@lists.php.net to get a copy of this message | ||
I may be getting mixed-up between declared and named parameters (which
would allow for out-of-order and skipping parameters) vs. undeclared
and named additional parameters (extra junk supplied - with names -
outside of any documentation).
Either way, anything that I've not declared in the prototype of the
function shouldn't automatically become accessible to my function
without me doing something extra. In that regard, func_get_args() is
perfect.
Richard.
--
-----
Richard Quadling
"Standing on the shoulders of some very clever giants!"
EE : http://www.experts-exchange.com/M_248814.html
EE4Free : http://www.experts-exchange.com/becomeAnExpert.jsp
Zend Certified Engineer : http://zend.com/zce.php?c=ZEND002498&r=213474731
ZOPA : http://uk.zopa.com/member/RQuadling
--
-----
Richard Quadling
"Standing on the shoulders of some very clever giants!"
EE : http://www.experts-exchange.com/M_248814.html
EE4Free : http://www.experts-exchange.com/becomeAnExpert.jsp
Zend Certified Engineer : http://zend.com/zce.php?c=ZEND002498&r=213474731
ZOPA : http://uk.zopa.com/member/RQuadling