3v4l.org

run code in 300+ PHP versions simultaneously
<?php $array = array ( "0" => array ( "q_status" => "Closed", "q_is_refunded" => "No", "qb_bid_status" => "2", "u_user_type" => "Tutor", "total_tutor" => "1", "target_date" => "0000-00-00 00:00:00", "bid_price" => "50.00", "users_id" => "3", "profile_image" => "http://localhost/studygate/WS/image_resize/?pic=aHR0cDovL2xvY2FsaG9zdC9zdHVkeWdhdGUvcHVibGljL2ltYWdlcy9ub2ltYWdlLmdpZg==&height=110&width=110&color=FFFFFF", "first_name" => "Carlene", "last_name" => "Poblete", "added_date" => "2016-10-25 11:20:00", "question_id" => "1" ), "1" => array ( "q_status" => "Closed", "q_is_refunded" => "No", "qb_bid_status" => "2", "u_user_type" => "Tutor", "total_tutor" => "1", "target_date" => "0000-00-00 00:00:00", "bid_price" => "80.00", "users_id" => "12", "profile_image" => "http://localhost/studygate/WS/age_resize/?pic=aHR0cDovL2xvY2FsaG9zdC9zdHVkeWdhdGUv", "first_name" => "George", "last_name" => "Henry", "added_date" => "2016-10-24 20:24:30", "question_id" => "2" ) ); //$arr = array_filter($array,function($v,$k){return $v['bid_price'] > 15;}); $arr = array_filter($array, function($v, $k) { return $v['bid_price'] < 60; },ARRAY_FILTER_USE_BOTH); sort($arr); print_r($arr);
Output for git.master, git.master_jit, rfc.property-hooks
Array ( [0] => Array ( [q_status] => Closed [q_is_refunded] => No [qb_bid_status] => 2 [u_user_type] => Tutor [total_tutor] => 1 [target_date] => 0000-00-00 00:00:00 [bid_price] => 50.00 [users_id] => 3 [profile_image] => http://localhost/studygate/WS/image_resize/?pic=aHR0cDovL2xvY2FsaG9zdC9zdHVkeWdhdGUvcHVibGljL2ltYWdlcy9ub2ltYWdlLmdpZg==&height=110&width=110&color=FFFFFF [first_name] => Carlene [last_name] => Poblete [added_date] => 2016-10-25 11:20:00 [question_id] => 1 ) )

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:
61.68 ms | 402 KiB | 8 Q