3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $serialized_array = serialize(array(1234=>"foobar")); echo "Serialized Array: $serialized_array" . PHP_EOL; $array = unserialize($serialized_array); print_r($array); if (array_key_exists(1234, $array)) { echo "Key Exists!"; } else { echo "Key Not Found!"; }
based on 8hU2B