Edit report at http://bugs.php.net/bug.php?id=52236&edit=1
ID: 52236 Updated by: j...@php.net Reported by: halloanjedendenichkenne at gmail dot com Summary: Function Call Request -Status: Open +Status: Bogus Type: Feature/Change Request Package: Scripting Engine problem Operating System: Mac OS X 10.6.4 PHP Version: 5.3.2 Block user comment: N Private report: N New Comment: Please do not submit the same bug more than once. An existing bug report already describes this very problem. Even if you feel that your issue is somewhat different, the resolution is likely to be the same. Thank you for your interest in PHP. Search before submitting same bogus and declined request over and over.. Previous Comments: ------------------------------------------------------------------------ [2010-07-02 15:47:05] halloanjedendenichkenne at gmail dot com 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: -------------- . ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/bug.php?id=52236&edit=1