3v4l.org

run code in 300+ PHP versions simultaneously
<?php $array = array(array('data1','data1'), array('data2','data2'), array('',''), array('data4','data4')); $array = array_filter(array_map('array_filter', $array)); print_r($array);
Output for git.master_jit, git.master, rfc.property-hooks
Array ( [0] => Array ( [0] => data1 [1] => data1 ) [1] => Array ( [0] => data2 [1] => data2 ) [3] => Array ( [0] => data4 [1] => data4 ) )

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