Re: serializing references, almost without modifications
| From: | thies at digicol dot de | Date: | Wed, 19 Jul 2000 15:42:22 +0000 |
| Subject: | Re: serializing references, almost without modifications | ||
| References: | 1 2 | Groups: | php.dev |
| Request: | Send a blank email to php-dev+get-25132@lists.php.net to get a copy of this message | ||
On Wed, Jul 19, 2000 at 04:21:28PM +0200, waldschrott wrote:
> > First you have symbol table which has "a" entry, pointing to zval which
> > contains 1.
> >
> > Second, you have two entries, "a" and "b", which point to zval with
> > is_ref
> > = 1 and refcount 2.
> >
> > Third, you have three entries, "a", "b" and "c", which all
> > point to the
> > same zval, now having refcount 3.
>
> I think time has come to have a closer look at zend code for some PHPers
> (including me). :)
serialize is in php4/ext/standard/var.c - not in Zend!
>
> regards
>
> --
> o----------0-?---------O-·---?----o---?-----o o O ° .
> | http://www.kiffen.de | pRotec,t y0ur bRai'n |0 O °
> ? ° ·
>
> 0°·^(3)°²'²^(3)-^(1)'^(3)?^(3)°^°^(3)~^(3)²^(3)°'^(3)²²?^(3)²^^(3)^(1)^(3)²°²^(3)`^(3)^(o)^(3)°?
> ° o © ° . ·
> | psychedelic experience | gott@kiffen.de | O ° o °
> o-?--o--0-----©-·--O-----o-----0-?----------o 0 ° · ° . ? ·
>
>
> --
> PHP Development Mailing List <http://www.php.net/>
> To unsubscribe, e-mail: php-dev-unsubscribe@lists.php.net
> For additional commands, e-mail: php-dev-help@lists.php.net
> To contact the list administrators, e-mail: php-list-admin@lists.php.net
--
Thies C. Arntzen "One Big-Mac, Small Fries and a Coke!"
Digital Collections Phone +49 40 235350 Fax +49 40 23535180
Hammerbrookstr. 93 20097 Hamburg / Germany