note 83933 added to language.references.pass
| From: | tomasz dot wasiluk at dnc dot pl | Date: | Thu, 19 Jun 2008 13:53:40 +0000 |
| Subject: | note 83933 added to language.references.pass | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-140583@lists.php.net to get a copy of this message | ||
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).
----
Server IP: 82.160.94.10
Probable Submitter: 89.76.227.193
----
Manual Page -- http://www.php.net/manual/en/language.references.pass.php
Edit -- https://master.php.net/note/edit/83933
Del: integrated -- https://master.php.net/note/delete/83933/integrated
Del: useless -- https://master.php.net/note/delete/83933/useless
Del: bad code -- https://master.php.net/note/delete/83933/bad+code
Del: spam -- https://master.php.net/note/delete/83933/spam
Del: non-english -- https://master.php.net/note/delete/83933/non-english
Del: in docs -- https://master.php.net/note/delete/83933/in+docs
Del: other reasons-- https://master.php.net/note/delete/83933
Reject -- https://master.php.net/note/reject/83933
Search -- https://master.php.net/manage/user-notes.php