|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2011-01-01 00:01 UTC] jani@php.net
-Status: Open
+Status: Bogus
[2011-01-01 00:01 UTC] jani@php.net
|
|||||||||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Sat Dec 06 12:00:01 2025 UTC |
Description: ------------ It would be useful if you could leave out optional Parameters when calling Functions, but specify others that come after that certain Parameter. I suppose the Script will explain it a little better. Test script: --------------- <?php abc("...", , 123); abc("...", 2, , chr(10)); //Like in list, where you can leave out certain Elements list($a, $b, , $d) = explode(",", "a,b,c,d"); function abc($d, $e = false, $f = 123, $g = PHP_EOF) { return "something"; } ?> Expected result: ---------------- . Actual result: -------------- .