can someone please fix this error in function from gumslone gumchat v3 script
function is
and error is
it is used for user database settings where smileys and color is inserted in serialized kinda way then unserialized using this function above to use in script for
turning smileys on off and selecting username colors aswell as ignore list
function is
PHP Code:
function mb_unserialize($serial_str) {
$out = preg_replace('!s:(\d+):"(.*?)";!se', "'s:'.strlen('$2').':"$2";'", $serial_str);
return unserialize($out);
}
PHP Code:
PHP Warning: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
turning smileys on off and selecting username colors aswell as ignore list
Comment