Curt Zirzow wrote:

* Thus wrote Derick Rethans:

On Mon, 2 Aug 2004, Derick Rethans wrote:


User should know that some parameter can be changed by function as it is
passed by reference.

100% agreed on that.

That said, I'm not sure if adding & before the variable name is a good idea though I can't see any other way of doing this.


The only problem i see it that it may confuse people into thinking
that they need to use the & in the call(&$to_function)

Mabey putting it on the datatype:

int dns_get_mx ( string hostname, array mxhosts [, &array weight])


Curt
Which would just confuse people even more IMHO :S

- Tul

Reply via email to