note 78798 deleted from function.serialize by felipe
| From: | felipe@php.net | Date: | Sun, 16 Dec 2007 11:29:21 +0000 |
| Subject: | note 78798 deleted from function.serialize by felipe | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-133660@lists.php.net to get a copy of this message | ||
Note Submitter: BruceCompanys
----
O.o
I sampled your detection and it's bloody idiocy!
Try this:
<?php
$string = "hello, my name is Bruce!";
$string = serialize($string);
echo $string;
echo "<br />";
echo unserialize($string);
?>
Displays:
s:25:"hello, my name is Bruce!"
hello, my name is Bruce!
Bruce