3v4l.org

run code in 300+ PHP versions simultaneously
<?php $serialized_array = serialize(array(1234=>"foobar")); echo "Serialized Array: $serialized_array" . PHP_EOL; $array = unserialize($serialzed_array); print_r($array); echo array_key_check(1234, $array) . PHP_EOL;
Output for git.master, git.master_jit, rfc.property-hooks
Serialized Array: a:1:{i:1234;s:6:"foobar";} Warning: Undefined variable $serialzed_array in /in/QK5nH on line 6 Deprecated: unserialize(): Passing null to parameter #1 ($data) of type string is deprecated in /in/QK5nH on line 6 Fatal error: Uncaught Error: Call to undefined function array_key_check() in /in/QK5nH:8 Stack trace: #0 {main} thrown in /in/QK5nH on line 8
Process exited with code 255.

This tab shows result from various feature-branches currently under review by the php developers. Contact me to have additional branches featured.

Active branches

Archived branches

Once feature-branches are merged or declined, they are no longer available. Their functionality (when merged) can be viewed from the main output page


preferences:
41.32 ms | 401 KiB | 8 Q