What\'s the best way to determine whether or not a string is the result of the serialize() function?
serialize()
https://www.php.net/manual/en/function.serialize
/** * some people will look down on this little puppy */ function isSerialized($s){ if( stristr($s, '{' ) != false && stristr($s, '}' ) != false && stristr($s, ';' ) != false && stristr($s, ':' ) != false ){ return true; }else{ return false; } }