3v4l.org

run code in 300+ PHP versions simultaneously
<?php $array1 = [ ['ishani.lad', 9033187384], ['rajkumar.prajapati', 8460078459], ['lokesh.bhandari', 9687060900], ['shishansu.rai', 8401915337], ['vishal.dake', 9879815299], ['mohsin', 8347163123] ]; $a2 = ['ishani.lad', 'rajkumar.prajapati', 'lokesh.bhandari']; $output = array_filter($array1, function($a1) use ($a2) { return ! in_array($a1[0], $a2); }); echo '<pre>'; var_dump($output); echo '</pre>';
Output for git.master, git.master_jit, rfc.property-hooks
<pre>array(3) { [3]=> array(2) { [0]=> string(13) "shishansu.rai" [1]=> int(8401915337) } [4]=> array(2) { [0]=> string(11) "vishal.dake" [1]=> int(9879815299) } [5]=> array(2) { [0]=> string(6) "mohsin" [1]=> int(8347163123) } } </pre>

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