Skip to content

v2.2.0

Latest
Compare
Choose a tag to compare
@jwadhams jwadhams released this 10 Dec 15:29
5633546

Introduces a new method validateEncodedStringOrThrow that is not susceptible to array-object confusion in associative-decoded PHP arrays. The new method acts directly on an encoded string in the exact same method described in Opis's own docs. This is a really good way to validate incoming data from another system where empty objects have a concrete semantic meaning, which PHP is really bad at.