in reply to accessing data serialised by PHP

Another option to consider is using a standard data interchange format. Such as JSON or YAML. (Of the two JSON is probably a better choice.)