3v4l.org

run code in 300+ PHP versions simultaneously
<?php $content = [ ["id" => "53"], ["id" => "54"], ["id" => "60"], ["id" => "61"] ]; $to_remove = ["53", "54", "60"]; $content = array_filter($content, function($x) use($to_remove) { return !in_array($x["id"], $to_remove); }); print_r($content);
Output for git.master, git.master_jit, rfc.property-hooks
Array ( [3] => Array ( [id] => 61 ) )

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