Re: [PEPr] Comment on HTML::HTML_Table_Matrix
| From: | Ian Eure | Date: | Fri, 26 Mar 2004 17:14:50 +0000 |
| Subject: | Re: [PEPr] Comment on HTML::HTML_Table_Matrix | ||
| References: | 1 2 3 | Groups: | php.pear.dev |
| Request: | Send a blank email to pear-dev+get-26804@lists.php.net to get a copy of this message | ||
On Friday 26 March 2004 01:10 am, Michael Wallner wrote:
> Hi Ian Eure, you wrote:
> > Sorry for being thick, but I'm not quite sure what you're referring to.
> > Can you give an example, please?
>
> Change all statements like
>
> doSomething(&$with_a_reference_better_declared_at_function_definition)
>
> so that the ampersand is located at the function definition,
> not at the function call.
>
It is defined that way in the function call, I just like to make it clear when
using the code that a reference is being passed, not a copy.
In any case, arguments aren't being prefixed with an & now, and I've updated
the proposal.