3v4l.org

run code in 300+ PHP versions simultaneously
<?php $arr = array ( 'expert_skills' => ',1,2,3,7', 'inter_skills' => ',9,10,7,8,9', 'beginner_skills' => ',6,8' ); $arr = array_map(function ($v) { return array_filter(explode(',', $v)); }, $arr); print_r($arr);
Output for git.master, git.master_jit, rfc.property-hooks
Array ( [expert_skills] => Array ( [1] => 1 [2] => 2 [3] => 3 [4] => 7 ) [inter_skills] => Array ( [1] => 9 [2] => 10 [3] => 7 [4] => 8 [5] => 9 ) [beginner_skills] => Array ( [1] => 6 [2] => 8 ) )

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:
76.13 ms | 406 KiB | 5 Q