Re: New object model
| From: | Ben Ramsey | Date: | Wed, 14 Jul 2004 22:35:12 +0000 |
| Subject: | Re: New object model | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-190542@lists.php.net to get a copy of this message | ||
Troy S wrote:
Is there an ini-file setting so that objects are passed by value as in PHP 4? If so, how long is this likely to be supported?I believe this is possible with the following setting in php.ini: zend.ze1_compatibility_mode = On This should turn on PHP5's backwards compatibility with PHP4 (meaning that the objects are passed by value instead of by reference... the old way). -- Regards, Ben Ramsey http://benramsey.com --------------------------------------------------- http://www.phpcommunity.org/ Open Source, Open Community Visit for more information or to join the movement. ---------------------------------------------------