Re: [PHP] function similar to to sizeof

2004-08-01 Thread Justin Patrin
serialize() it, then get the size of the string, send it, and deserialize() it on the other side. -Original Message- From: raditha dissanayake [mailto:[EMAIL PROTECTED] Sent: Saturday, July 31, 2004 6:16 PM Cc: [EMAIL PROTECTED] Subject: Re: [PHP] function similar to to sizeof

Re: [PHP] function similar to to sizeof

2004-07-31 Thread raditha dissanayake
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.

RE: [PHP] function similar to to sizeof

2004-07-31 Thread bruce
PROTECTED] Sent: Saturday, July 31, 2004 6:16 PM Cc: [EMAIL PROTECTED] Subject: Re: [PHP] function similar to to sizeof 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