Answers for "how to unserialize data in php"

PHP
0

unserialize php

<!DOCTYPE html>
<html>
<body>

<?php
$data = serialize(array("Red", "Green", "Blue"));
echo $data . "<br>";

$test = unserialize($data);
var_dump($test);
?>

</body>
</html>
Posted by: Guest on February-23-2021

Browse Popular Code Answers by Language