Re: Re: The future of PHP - object model
| From: | Zeev Suraski | Date: | Wed, 29 Aug 2001 11:44:44 +0000 |
| Subject: | Re: Re: The future of PHP - object model | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-64993@lists.php.net to get a copy of this message | ||
If I didn't know you're not working for Zend, I'd suspect that was a prepared-question :)
http://www.zend.com/engine2/ZendEngine-2.0.pdf
At 11:26 29-08-01, Geoff Caplan wrote:
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: php-general-unsubscribe@lists.php.net For additional commands, e-mail: php-general-help@lists.php.net To contact the list administrators, e-mail: php-list-admin@lists.php.net-- Zeev Suraski <zeev@zend.com> CTO & co-founder, Zend Technologies Ltd. http://www.zend.com/