|Reported by:||hakre||Owned by:|
In #14429 many have taken care to optimize the is_serialized speed.
The function is of good general value and most often used to "maybe" unserialize.
It was originally smabauers who reminded that it's only about to check what it's about to check.
Option values, if serialized are only serialized Array, Objects or Strings. No exceptions. And they are always trimmed strings.
As is_serialized() is of general use and might be used by plugin authors, maybe_unserialize can get a new playmate.