3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $blah = array("foo" => "bar", "jus" => "bnu"); $x = serialize($blah); echo $x; $y = unserialize($x); foreach ($y as $key => $value) { echo $key . ' => ' . $value . '/n'; }
based on 4cZOB
Output for 5.5.0 - 7.3.0beta1
a:2:{s:3:"foo";s:3:"bar";s:3:"jus";s:3:"bnu";}foo => bar/njus => bnu/n