Hi,
I would like to know if I am alone to be shoked by this :
== 8< ==
function foo(& $bar = null)
{
}
foo() ; // runs
foo(null) ; // raise an error
== >8 ==
Why the default value to null for a reference is allowed ? Is it a
bug, a feature ?
Thanks !
--
Mickaƫl Wolff aka Lupus Michaelis
http://lupusmic.orgSeeking for a position <
http://lupusmic.org/pro/>
--
PHP General Mailing List (
http://www.php.net/)
To unsubscribe, visit:
http://www.php.net/unsub.php