3v4l.org

run code in 300+ PHP versions simultaneously
<?php class SomeCollection extends ArrayObject {} $meh = unserialize('O:14:"SomeCollection":1:{i:0;s:4:"item";}'); var_dump('yay', $meh); var_dump($meh[0]); $meh = unserialize('C:14:"SomeCollection":36:{x:i:0;a:1:{i:0;s:4:"item";};m:a:0:{}}'); var_dump('yay', $meh);
Output for git.master, git.master_jit, rfc.property-hooks
Fatal error: Uncaught UnexpectedValueException: Incomplete or ill-typed serialization data in /in/SpJvE:6 Stack trace: #0 [internal function]: ArrayObject->__unserialize(Array) #1 /in/SpJvE(6): unserialize('O:14:"SomeColle...') #2 {main} thrown in /in/SpJvE on line 6
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:
66.34 ms | 401 KiB | 8 Q