3v4l.org

run code in 300+ PHP versions simultaneously
<?php $a = Array ( 'Bank' => Array ( 'name' => 'Bank', 'status' => 1, 'enable_rcb' => 1 ), 'Cod' => Array ( 'name' => 'Cod', 'status' => 1, 'enable_rcb' => 0 ), 'Lite' => Array ( 'name' => 'Lite', 'status' => 0, 'enable_rcb' => 0 ) ); $new = array_keys(array_filter($a,function($v){ return $v['status'] > 0; })); print_r($new);
Output for git.master, git.master_jit, rfc.property-hooks
Array ( [0] => Bank [1] => Cod )

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:
48.73 ms | 405 KiB | 5 Q