3v4l.org

run code in 300+ PHP versions simultaneously
<?php var_dump(unserialize('O:4:"User":2:{s:3:"age";s:3:"123";s:4:"name";s:3:"123";}7'));
Output for git.master, git.master_jit
object(__PHP_Incomplete_Class)#1 (3) { ["__PHP_Incomplete_Class_Name"]=> string(4) "User" ["age"]=> string(3) "123" ["name"]=> string(3) "123" }
Output for rfc.property-hooks
Warning: unserialize(): Extra data starting at offset 56 of 57 bytes in /in/jj8kW on line 3 object(__PHP_Incomplete_Class)#1 (3) { ["__PHP_Incomplete_Class_Name"]=> string(4) "User" ["age"]=> string(3) "123" ["name"]=> string(3) "123" }

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:
55.77 ms | 401 KiB | 8 Q