bruce wrote:

does php have a function similar to the 'C' sizeof function...


yep in PHP 5 but it's just an alias for count.

i'm looking to copy an object, and i'd like to be able to copy it at the
binary level....


So how about using the clone feature of PHP5 instead of doing this manually.

but i need to be able to determine the size of the object...


not sure why you want to do that.

any thoughts/comments..???



quick and dirty way to copy and object serialize it into a string and deserialize it back again.


thanks

-bruce





--
Raditha Dissanayake.
------------------------------------------------------------------------
http://www.radinks.com/sftp/         | http://www.raditha.com/megaupload
Lean and mean Secure FTP applet with | Mega Upload - PHP file uploader
Graphical User Inteface. Just 128 KB | with progress bar.

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



Reply via email to