Re: [SMARTY-DEV] Re: [SMARTY]Re:[SMARTY-DEV]$smarty.session.object doesn't work in 2.5.0
| From: | Wom.bat | Date: | Tue, 15 Apr 2003 20:03:23 +0000 |
| Subject: | Re: [SMARTY-DEV] Re: [SMARTY]Re:[SMARTY-DEV]$smarty.session.object doesn't work in 2.5.0 | ||
| References: | 1 2 3 4 5 6 7 8 | Groups: | php.smarty.dev |
| Request: | Send a blank email to php-smarty-dev+get-1168@lists.php.net to get a copy of this message | ||
> The value is not referenced if:
>
> 1) the value being assigned is an array
> 2) the value being assigned is an object
>
> Otherwise you are correct, only a reference counter is incremented.
No Monte, sorry, but you are wrong. Please read
http://www.zend.com/zend/art/ref-count.php
again, there you'll find this at
multiple points in the document, for exampe at "Reference Counting in PHP4":
"Reference counting is used for all the PHP 4 basic data types: such as
integers, booleans, strings, arrays, objects and resources"
Below that statement, you'll find more proof on that.
Regards,
David