Thnaks for an explanation.
Rasmus Lerdorf <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> This has been explained a few times. PHP does shallow copies, or
> copy-on-write which means that the data is not actually copied until you
> change it. That is:
>
> $
This has been explained a few times. PHP does shallow copies, or
copy-on-write which means that the data is not actually copied until you
change it. That is:
$a = "1234567890";
$b = $a;
internally we do not copy the data from $a to $b until you change $b.
We you use references we have a b
2 matches
Mail list logo