unserialize php onlie code example
Example: unserialize php
<!DOCTYPE html>
<html>
<body>
<?php
$data = serialize(array("Red", "Green", "Blue"));
echo $data . "<br>";
$test = unserialize($data);
var_dump($test);
?>
</body>
</html>
<!DOCTYPE html>
<html>
<body>
<?php
$data = serialize(array("Red", "Green", "Blue"));
echo $data . "<br>";
$test = unserialize($data);
var_dump($test);
?>
</body>
</html>