Hi folks

While we are on the subject of strategic issues for PHP, a quick question on
the OOP functionality.

As many on this list will know, there is a peculiarity with the PHP object
model - in many situations it creates a copy of an instance when you would
expect a reference. This means that you have to constantly remember to
create references with &, adding an extra source of hard-to-find bugs.

Are there any plans to sort this out? It rather disfigures the language.

Yes, I know PHP was conceived as a functional language, but a high
percentage of the more sophisticated applications make use of its object
functionality - you just have to look at the script download sites to see
that this is true. Both Perl and C/C++ are examples of successful hybrid
languages. With just a little extra work, PHP could join this list...

Geoff Caplan



-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to