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);

Here you find the average performance (time & memory) of each version. A grayed out version indicates it didn't complete successfully (based on exit-code).

VersionSystem time (s)User time (s)Memory (MiB)
8.3.60.0100.01016.63
8.3.50.0100.00821.14
8.3.40.0180.00318.69
8.3.30.0140.00418.67
8.3.20.0050.00318.61
8.3.10.0000.00821.89
8.3.00.0070.00021.91
8.2.180.0140.00716.63
8.2.170.0120.00322.96
8.2.160.0070.00722.30
8.2.150.0060.00324.18
8.2.140.0080.00024.66
8.2.130.0140.00019.71
8.2.120.0040.00426.35
8.2.110.0000.00921.18
8.2.100.0080.00418.22
8.2.90.0000.00819.34
8.2.80.0000.00817.97
8.2.70.0050.00317.75
8.2.60.0050.00317.93
8.2.50.0050.00318.10
8.2.40.0000.00820.44
8.2.30.0040.00419.30
8.2.20.0040.00418.13
8.2.10.0040.00418.05
8.2.00.0040.00417.82
8.1.280.0110.00425.92
8.1.270.0050.00223.96
8.1.260.0020.00528.09
8.1.250.0080.00028.09
8.1.240.0030.00623.83
8.1.230.0040.00719.02
8.1.220.0000.00817.79
8.1.210.0000.00818.77
8.1.200.0060.00317.38
8.1.190.0000.00817.64
8.1.180.0000.00818.10
8.1.170.0060.00318.71
8.1.160.0000.00722.30
8.1.150.0090.00018.91
8.1.140.0040.00419.60
8.1.130.0000.00717.73
8.1.120.0030.00317.39
8.1.110.0060.00317.46
8.1.100.0080.00017.49
8.1.90.0000.00717.47
8.1.80.0040.00417.51
8.1.70.0030.00617.45
8.1.60.0000.00817.58
8.1.50.0050.00317.56
8.1.40.0000.00817.44
8.1.30.0050.00317.60
8.1.20.0000.00717.59
8.1.10.0080.00317.50
8.1.00.0050.00317.52
8.0.300.0030.00618.77
8.0.290.0040.00416.63
8.0.280.0000.00718.34
8.0.270.0000.00717.30
8.0.260.0000.00617.25
8.0.250.0000.00716.91
8.0.240.0050.00316.91
8.0.230.0070.00017.01
8.0.220.0070.00016.89
8.0.210.0000.00616.94
8.0.200.0060.00016.95
8.0.190.0000.00816.86
8.0.180.0050.00316.95
8.0.170.0070.00016.83
8.0.160.0030.00616.86
8.0.150.0000.00716.84
8.0.140.0070.00016.87
8.0.130.0030.00313.29
8.0.120.0070.00016.77
8.0.110.0040.00416.79
8.0.100.0000.00716.81
8.0.90.0080.00016.93
8.0.80.0060.01016.92
8.0.70.0050.00316.90
8.0.60.0070.00016.80
8.0.50.0040.00416.79
8.0.30.0100.01017.11
8.0.20.0110.00917.40
8.0.10.0050.00317.02
8.0.00.0070.01116.64
7.4.330.0050.00015.55
7.4.320.0040.00416.42
7.4.300.0030.00316.63
7.4.290.0050.00316.42
7.4.280.0040.00416.52
7.4.270.0000.00816.55
7.4.260.0030.00316.67
7.4.250.0000.00716.63
7.4.240.0080.00016.61
7.4.230.0030.00316.51
7.4.220.0030.01516.68
7.4.210.0090.00616.55
7.4.200.0070.00016.61
7.4.160.0050.01016.63
7.4.150.0150.00417.40
7.4.140.0080.00917.86
7.4.130.0090.01016.60
7.4.120.0110.00716.50
7.4.110.0100.01016.45
7.4.100.0030.01416.38
7.4.90.0100.00716.49
7.4.80.0120.00619.39
7.4.70.0090.00616.52
7.4.60.0130.00416.67
7.4.50.0070.00716.41
7.4.40.0060.01016.60
7.4.30.0100.00716.50
7.4.00.0040.01114.87
7.3.330.0000.00513.37
7.3.320.0000.00513.25
7.3.310.0070.00016.33
7.3.300.0030.00316.17
7.3.290.0090.00616.23
7.3.280.0100.00816.22
7.3.270.0060.01217.40
7.3.260.0070.01116.56
7.3.250.0080.01016.38
7.3.240.0110.00716.45
7.3.230.0130.00316.39
7.3.210.0120.00616.38
7.3.200.0070.01416.41
7.3.190.0130.00316.23
7.3.180.0140.00316.55
7.3.170.0070.01016.45
7.3.160.0100.01116.40
7.2.330.0130.01016.64
7.2.320.0220.00316.30
7.2.310.0120.00616.62
7.2.300.0080.01516.74
7.2.290.0080.00816.55
7.2.00.0040.01119.21
7.1.70.0000.00717.11
7.1.60.0000.01116.85
7.1.00.0070.07022.43
7.0.200.0390.00414.60
7.0.120.0170.05022.09
7.0.110.0100.05722.03
7.0.100.0070.07022.07
7.0.90.0170.06022.06
7.0.80.0100.05722.06
7.0.70.0170.05021.95
7.0.60.0070.08022.22
7.0.50.0100.05722.16
7.0.40.0070.05721.97
7.0.30.0100.05322.11
7.0.20.0070.05322.11
7.0.10.0100.05022.07
7.0.00.0100.05321.98
5.6.270.0170.06721.05
5.6.260.0100.05321.09
5.6.250.0200.07320.91
5.6.240.0030.06020.80
5.6.230.0100.05720.83
5.6.220.0230.04320.91
5.6.210.0170.05320.85
5.6.200.0070.06020.95
5.6.190.0130.05021.00
5.6.180.0130.05021.02
5.6.170.0130.05021.02
5.6.160.0070.05321.01
5.6.150.0100.05721.02
5.6.140.0030.06320.84
5.6.130.0070.08020.87
5.6.120.0070.06020.92
5.6.110.0070.06020.73
5.6.100.0130.05720.82
5.6.90.0070.05720.88
5.6.80.0070.05320.40
5.6.70.0170.04320.31
5.6.60.0070.05720.30
5.6.50.0000.08020.38
5.6.40.0100.06020.21
5.6.30.0200.06720.20
5.6.20.0000.07320.21
5.6.10.0170.04320.28
5.6.00.0200.06020.35

preferences:
57.53 ms | 401 KiB | 5 Q