note 93582 deleted from function.unserialize by aharvey

From: Date: Tue, 06 Nov 2012 01:37:02 +0000
Subject: note 93582 deleted from function.unserialize by aharvey
References: 1  Groups: php.notes 
Request: Send a blank email to php-notes+get-191725@lists.php.net to get a copy of this message
Note Submitter: TBag ---- With regard to might_serialize(), might_unserialize() - which I posted about a week ago on this page. I've found that empy arrays will be serialized, but not unserialized. To patch... in: is_serialized() change: preg_match("/^(i|s|a|o|d):(.*);/si",$val) to: preg_match("/^(i|s|a|o|d):(.*);/si",$val) !== false

« previous php.notes (#191725) next »