phpserialize
phpserialize copied to clipboard
Skip } in associative array
Add consumeStringUntilNotByte: it does what it says on the tin, consumes the string until it encounters a byte other than the lookingForByte.
Use consumeStringUntilNotByte in consumeAssociativeArray to consume the '}' closing bracket, which is necessary when there is additional content beyond the end of a nested associative array.