function arguments
| From: | Unknown Sender | Date: | Mon, 27 Mar 2000 20:52:35 +0000 |
| Subject: | function arguments | ||
| Groups: | php.version4 | ||
| Request: | Send a blank email to php-version4+get-12690@lists.php.net to get a copy of this message | ||
Hi!
for example i've this function:
function foo ($var1, $var2="", $var3="") {
...
}
what do you think about calls like this:
foo ("abc", , "xyz");
now it produces parse error... but why ?
why this syntax is illegal ? for compatibility ?
Milan
Objevujte Internet s http://www.centrum.cz
Založte si svuj mail na http://mail.centrum.cz