note 83933 deleted from language.references.pass by mgf

From: Date: Thu, 19 Jun 2008 14:15:10 +0000
Subject: note 83933 deleted from language.references.pass by mgf
References: 1  Groups: php.notes 
Request: Send a blank email to php-notes+get-140584@lists.php.net to get a copy of this message
Note Submitter: tomasz dot wasiluk at dnc dot pl Reason: 1 ---- To eduard dot ereza at blueit dot es: It's not about the position of the variable. You do not seem to know the basics of calling functions. Additionally switch your error level to E_ALL and display errors. You're example won't even work in the real world. Calling $z=foo($i) means you are passing $i as the $a parameter of the function definition. It's the equivalent of doing $z=foo($i, null, null, null, null, null, null, null, null) except it shouldn't work (can't pass null for a parameter by reference - I think this is being worked on though).

« previous php.notes (#140584) next »