PHP Serialize

© 2025 Luka Uzel — Open sourced under the MIT License.

loCode V1.0.0 built with ❤️ using Symfony, Alpine.js, Bootstrap and Docker

Fri. 2 January 2026 02:25

Help

Usage

On left side goes PHP code.


    <?php
    (object) [
        'name' => 'John Doe',
        'age' => 30,
        'city' => 'Zagreb'
    ];
    

On right side goes PHP serialized string.


    O:8:"stdClass":3:{s:4:"name";s:8:"John Doe";s:3:"age";i:30;s:4:"city";s:6:"Zagreb";}