Re: RE: PHP 4.0 Bug #6193 Updated: new object makes a shallow copy
| From: | Stanislav Malyshev | Date: | Fri, 18 Aug 2000 21:33:36 +0000 |
| Subject: | Re: RE: PHP 4.0 Bug #6193 Updated: new object makes a shallow copy | ||
| References: | 1 | Groups: | php.dev |
| Request: | Send a blank email to php-dev+get-29548@lists.php.net to get a copy of this message | ||
AL>> you needn╢t, I╢ve just tried to show the POV of an intermediate PHP
AL>> user, which possibly runs into this problem some day...
Well, this POV is wrong. Maybe we should have a chapter in the manual
called "What references *really* are" or "Mystery of references
revealed" or something like this.
AL>> It would be fine it there would be some way to possibly do this, if you
This would require entirely different constructs, maybe called
"pointers". Maybe PHP 5 will have them :)
AL>> understand what I mean, despite all facts, I do understand the problem
AL>> and if you really think it╢s unresolvable even after using brains with
AL>> dimensions of planets I╢ll document it this way
It's not solvable because it's not a PHP problem, it's "people think PHP
is what it isn't" problem. Maybe, again, name "references" was unfortunate
choice, but the only thing we can do now is to document it. If you
volonteer to do it, you get all the cheers :)
--
Stanislav Malyshev stas@zend.com
+972-3-6139665 ext.106