Check value to find if it was serialized.
If $data is not a string, then returned value will always be false. Serialized data is always a string.
<?php is_serialized( $data ) ?>
- (mixed) (required) Value to check to see if was serialized.
- Default: None
- False if not serialized and true if it was.
- Data might need to be serialized to allow it to be successfully stored and retrieved from a database in a form that PHP can understand.
is_serialized() is located in