note 93661 deleted from function.unserialize by danbrown
| From: | danbrown@php.net | Date: | Tue, 22 Sep 2009 14:42:41 +0000 |
| Subject: | note 93661 deleted from function.unserialize by danbrown | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-160933@lists.php.net to get a copy of this message | ||
Note Submitter: arbie samong
----
for checking if data is actually serialized:
function is_serial($data)
{
return (@unserialize($data) !== false);
}
snatched from:
http://codingforums.com/showthread.php?t=144103