Re: [PHP] pack vs. serialize

2007-06-18 Thread Richard Heyes
Nathan Nobbe wrote: all, i have recently stumbled upon the packmethod. can this be used as a substitute for serialize ? No. pack() is for creating binary representations of data, while seriali

[PHP] pack vs. serialize

2007-06-17 Thread Nathan Nobbe
all, i have recently stumbled upon the packmethod. can this be used as a substitute for serialize ? if so, is there any rationalization for this; like would it perhaps create a more compact repres