"Erik franzén" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> If you want to delete an object, when you have other references to it,
> you must use the & operator, otherwise the object will not be killed for
> all references.
>
> I tested without the &-operator, but that did not work
>
> The &-operator is still important in PHP5. Look at the folling example
>
> <?
> $a = new stdclass;
> $b = $a;
> $c =& $a;
> ?>
>
> unsetting a will only kill a, b and c will still be "alive".
> setting a to null will kill c but not b
>
> /Erik

OK, but what about your interface problem? Could you solve it with this?:

>>>
I think you have to also define the arguments you want to use for item() in
your interface:
function item($a_iIndex);
<<<

Regards, Torsten Roehr

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

Reply via email to