Re: [PHP-DEV] PHP Variable Storage / DBUS

2010-03-18 Thread Ben DeMott
I'll keep it short and sweet Derick ! =] http://opensource.dynamoid.com/ -> Is exactly what I was thinking of, glad I asked so I am not re-inventing the wheel :) I have a feeling I can get educated really fast on php data-type internals by taking a look at the source. Thanks again! On Thu, Mar

Re: [PHP-DEV] PHP Variable Storage / DBUS

2010-03-18 Thread Derick Rethans
On Thu, 18 Mar 2010, Ben DeMott wrote: > So is the data structure thats being serialized remaining in some form > thats reflective of its binary encoding on the system. Or is there > some byte-encoding that goes on to generalize the binary structure? PHP only knows about binary text, and then n

Re: [PHP-DEV] PHP Variable Storage / DBUS

2010-03-18 Thread Ben DeMott
Thanks for the response Derick, So is the data structure thats being serialized remaining in some form thats reflective of its binary encoding on the system. Or is there some byte-encoding that goes on to generalize the binary structure? I guess ... Does it find the values in memory of the distinc

Re: [PHP-DEV] PHP Variable Storage / DBUS

2010-03-18 Thread Derick Rethans
On Thu, 18 Mar 2010, Ben DeMott wrote: > I realize there are some limitations here - recursive structures, > references, object references, pointer pointers - etc, I just don't > know how PHP implements it's data structures well enough to know how > hard retrieving simple arrays, integers, and

[PHP-DEV] PHP Variable Storage / DBUS

2010-03-18 Thread Ben DeMott
Hello to the php developer community - :) This is my first post so I hope I'm not too out of line coming here to ask a question. My question is - With PHP could a C extension be written that takes the binary contents of a variable in memory and writes it to a file or a stream? Like: struct