"Ernest E Vogelsinger" <[EMAIL PROTECTED]> wrote in message
> You might always simply omit the parameter when calling the function
> (you'll get a notice about that if enabled). You just cannot pass
> function Product(&$language)
> {
>    ...
> }
> // ok, but gives a notice
> Product();
> // will fail
> Product('ger');

ok well that's an idea indeed... i'll think about it.

> If you keep your code like it is be warned that it may break with a future
> version of PHP.

why do you think it won't be supported by future versions? all i do is
passing an object by reference. because in this case this function always
should accept its argument as a reference and therefore is bad programming
habit does not mean the php construction is bad or weird!?!

> --
>    >O Ernest E. Vogelsinger
>    (\) ICQ #13394035
>     ^ http://www.vogelsinger.at/

PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to