Re: serializing references, almost without modifications

From: Date: Wed, 19 Jul 2000 12:16:38 +0000
Subject: Re: serializing references, almost without modifications
References: 1  Groups: php.dev 
Request: Send a blank email to php-dev+get-25075@lists.php.net to get a copy of this message
w>> That does not matter. *If* we had a function that extracts that w>> *virtual* information like print_r does we could serialize that w>> information to. Ouch... OK, I'm a bad teacher. I'm explaining once more. You *do not* have information which variables are bound by reference. Also, for this code: <? $a = 1; $b =& $a; $b = 2; var_dump($a); var_dump($b); ?> You have reference but var_dump and print_r won't tell you a thing. References are very internal PHP concept that are _designed_ to be not visible form userspace easily. w>> Despite that would not represent how references are preseneted w>> technically it would allow serializing references. OK, I'm stepping down. Code it and show me. -- Stanislav Malyshev stas@zend.com +972-3-6139665

« previous php.dev (#25075) next »