M
Milo Thurston
I have some code that needs to obtain information from a web service in
the form of an array of values to be plotted as a graph. The data I need
come back in the form of a string, as seen at
http://users.ox.ac.uk/~lina0989/string.txt. So, the plan is to get at
the data using this code:
http://www.aagh.net/files/ruby/php_serialize.rb
If I run PHP.unserialize(string) then I get an array of nil values.
However,
PHP.serialize(PHP.unserialize(string)), or any equivalent, returns the
same string I started off with. Has anyone got any idea as to what would
cause this odd outcome?
the form of an array of values to be plotted as a graph. The data I need
come back in the form of a string, as seen at
http://users.ox.ac.uk/~lina0989/string.txt. So, the plan is to get at
the data using this code:
http://www.aagh.net/files/ruby/php_serialize.rb
If I run PHP.unserialize(string) then I get an array of nil values.
However,
PHP.serialize(PHP.unserialize(string)), or any equivalent, returns the
same string I started off with. Has anyone got any idea as to what would
cause this odd outcome?