You are here: Re: multiple stacks, multiple versions bother anybody, or is it just me? « PHP Programming Language « IT news, forums, messages
Re: multiple stacks, multiple versions bother anybody, or is it just me?

Posted by Wayne on 11/16/05 02:21

On Tue, 15 Nov 2005 19:20:39 GMT, Oli Filth <catch@olifilth.co.uk>
wrote:

>Which is a shame, as it means that one can't differentiate between
>passing by reference to eliminate object copying, and passing by
>reference to allow alteration of the original object.

Since PHP uses copy-on-write semantics for all values there is no
object copying in PHP. Therefore there is no reason to references in
PHP unless you want to allow alteration of the original object. In
PHP, using references is actually more expensive than not using
references.

 

Navigation:

[Reply to this message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация