"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
you could however always call:
$a->__destruct();
that would also kill $b and $c
Erik franzén wrote:
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
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
unsetting
"Erik franzén" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> Can anuyone describe this error?
>
> Compile Error: E:\Source\CMAES\src\include\dom.inc.php line 67 -
> Declaration of CMAES_DOM_Node_List::item() must be compatible with that
> of CMAES_DOM_Node_List_Interface::item()
>
>
4 matches
Mail list logo