PHP code example of cursedcoder / universal-serializer

1. Go to this page and download the library: Download cursedcoder/universal-serializer library. Choose the download type require.

2. Extract the ZIP file and open the index.php.

3. Add this code to the index.php.
    
        
<?php
require_once('vendor/autoload.php');

/* Start to develop here. Best regards https://php-download.com/ */

    

cursedcoder / universal-serializer example snippets


$serializer = new UniversalSerializer();
$input = $serializer->serialize([1, 'string', ['array']);
$output = $serializer->unserialize($input);