Answers for "what doe it mean to seralize and arrat"

PHP
0

php array serialize

//If you plan to serialize and store it in file or database use below syntax
//to safely serialize
$safe_string_to_store = base64_encode(serialize($multidimensional_array));

//to unserialize...
$array_restored_from_db = unserialize(base64_decode($encoded_serialized_string));
Posted by: Guest on November-30-2020

Code answers related to "what doe it mean to seralize and arrat"

Browse Popular Code Answers by Language