3v4l.org

run code in 500+ PHP versions simultaneously
<?php $original = [ ["a"], ["b", "c"], ]; $filtered = array_filter( $original, function ($innerArray) { return count($innerArray) >= 2; } ); print_r($filtered);
Output for git.master, git.master_jit, rfc.property-hooks
Array ( [1] => Array ( [0] => b [1] => c ) )

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:
46.91 ms | 1408 KiB | 4 Q