Re: Function parameter passed by reference with default value to null

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Stuart a écrit :

The whole point of default arguments is for it to use that argument if
none is passed.
  It is not the point too.

What makes you think not passing an argument to that function should
raise an error?
Maybe because in my example, the provided value is not a valuable value for a reference ?

--
Mickaël Wolff aka Lupus Michaelis
http://lupusmic.org

Seeking for a position <http://lupusmic.org/pro/>

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux