3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $str = 'a:12:{s:15:"preferred_state";s:6:"stable";s:8:"temp_dir";s:85:"C:\Program Files (x86)\EasyPHP-DevServer-14.1VC11\binaries\php\php_runningversion\tmp";s:12:"download_dir";s:85:"C:\Program Files (x86)\EasyPHP-DevServer-14.1VC11\binaries\php\php_runningversion\tmp";s:7:"bin_dir";s:81:"C:\Program Files (x86)\EasyPHP-DevServer-14.1VC11\binaries\php\php_runningversion";s:7:"php_dir";s:86:"C:\Program Files (x86)\EasyPHP-DevServer-14.1VC11\binaries\php\php_runningversion\pear";s:7:"doc_dir";s:86:"C:\Program Files (x86)\EasyPHP-DevServer-14.1VC11\binaries\php\php_runningversion\docs";s:8:"data_dir";s:86:"C:\Program Files (x86)\EasyPHP-DevServer-14.1VC11\binaries\php\php_runningversion\data";s:7:"cfg_dir";s:85:"C:\Program Files (x86)\EasyPHP-DevServer-14.1VC11\binaries\php\php_runningversion\cfg";s:7:"www_dir";s:85:"C:\Program Files (x86)\EasyPHP-DevServer-14.1VC11\binaries\php\php_runningversion\www";s:8:"test_dir";s:87:"C:\Program Files (x86)\EasyPHP-DevServer-14.1VC11\binaries\php\php_runningversion\tests";s:7:"php_bin";s:89:"C:\Program Files (x86)\EasyPHP-DevServer-14.1VC11\binaries\php\php_runningversion\php.exe";s:10:"__channels";a:3:{s:5:"__uri";a:0:{}s:11:"doc.php.net";a:0:{}s:12:"pecl.php.net";a:0:{}}}'; ?> <pre><?php print_r(unserialize($str)); ?></pre>
based on paNVR
Output for 4.3.0 - 5.6.28, hhvm-3.10.0 - 3.12.0, 7.0.0 - 7.1.0
<pre>Array ( [preferred_state] => stable [temp_dir] => C:\Program Files (x86)\EasyPHP-DevServer-14.1VC11\binaries\php\php_runningversion\tmp [download_dir] => C:\Program Files (x86)\EasyPHP-DevServer-14.1VC11\binaries\php\php_runningversion\tmp [bin_dir] => C:\Program Files (x86)\EasyPHP-DevServer-14.1VC11\binaries\php\php_runningversion [php_dir] => C:\Program Files (x86)\EasyPHP-DevServer-14.1VC11\binaries\php\php_runningversion\pear [doc_dir] => C:\Program Files (x86)\EasyPHP-DevServer-14.1VC11\binaries\php\php_runningversion\docs [data_dir] => C:\Program Files (x86)\EasyPHP-DevServer-14.1VC11\binaries\php\php_runningversion\data [cfg_dir] => C:\Program Files (x86)\EasyPHP-DevServer-14.1VC11\binaries\php\php_runningversion\cfg [www_dir] => C:\Program Files (x86)\EasyPHP-DevServer-14.1VC11\binaries\php\php_runningversion\www [test_dir] => C:\Program Files (x86)\EasyPHP-DevServer-14.1VC11\binaries\php\php_runningversion\tests [php_bin] => C:\Program Files (x86)\EasyPHP-DevServer-14.1VC11\binaries\php\php_runningversion\php.exe [__channels] => Array ( [__uri] => Array ( ) [doc.php.net] => Array ( ) [pecl.php.net] => Array ( ) ) ) </pre>