3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $a = "a:3:{i:0;i:35928;i:1;i:36158;i:2;i:36164;}"; $b = unserialize($a); var_dump($b); $c = [35928, 36164]; var_dump($c);
based on SOWQR

Shows result from various feature-branches currently under review from the php developers. Contact me to have additional branches featured.

Output for Arrow functions
array(3) { [0]=> int(35928) [1]=> int(36158) [2]=> int(36164) } array(2) { [0]=> int(35928) [1]=> int(36164) }

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