|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2002-12-25 06:48 UTC] derick@php.net
|
|||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Fri Nov 14 09:00:02 2025 UTC |
Hello! What do you think about 'formal' (default) params for functions? for sample: function q($id,$a=10,$b='aaa',$c=false) { .... } what I can call this function and pass $id, and $b and leave $a and $c as default. in case $q(18,,15); PHP says about syntax error. vladimir, Novosibirsk, Siberia Russia