Beginnings of a parser for PHP serialisation format.