3v4l.org

run code in 300+ PHP versions simultaneously
<?php $class = 'DateTime'; var_dump(unserialize(sprintf( 'O:%d:"%s":0:{}', strlen($class), $class )));
Output for git.master, git.master_jit, rfc.property-hooks
Fatal error: Uncaught Error: Invalid serialization data for DateTime object in /in/oC6PR:4 Stack trace: #0 [internal function]: DateTime->__unserialize(Array) #1 /in/oC6PR(4): unserialize('O:8:"DateTime":...') #2 {main} thrown in /in/oC6PR on line 4
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:
54.99 ms | 401 KiB | 8 Q