3v4l.org

run code in 300+ PHP versions simultaneously
<?php $json = '{ "page": 1, "totalsCount": 1, "isLastPage": true, "lastPageNumber": 1, "firstOnPage": 1, "lastOnPage": 1, "itemsPerPage": 50, "entries": [ { "id": 60132, "statusName": "GIT", "dates": [ { "orderId": 60132, "typeId": 7, "date": "2021-06-03T00:00:00+02:00" }, { "orderId": 60132, "typeId": 11, "date": "2021-05-28T00:00:00+02:00" }, { "orderId": 60132, "typeId": 16, "date": "2021-05-27T20:20:28+02:00" }, { "orderId": 60132, "typeId": 2, "date": "2021-05-27T20:19:21+02:00" }, { "orderId": 60132, "typeId": 4, "date": "2021-06-03T15:16:14+02:00" } ] } ] }'; $obj = json_decode($json); foreach($obj->dates as $order => $value) { if($value->typeId == 11) echo '<th scope="row">' . $value->date . '</th>'; }

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.0070.00718.68
8.3.50.0130.00716.33
8.3.40.0110.00718.66
8.3.30.0140.00018.34
8.3.20.0070.00024.18
8.3.10.0000.00824.66
8.3.00.0060.00326.16
8.2.180.0160.00325.92
8.2.170.0070.00718.96
8.2.160.0140.00022.96
8.2.150.0080.00025.66
8.2.140.0080.00024.66
8.2.130.0040.00426.16
8.2.120.0040.00419.83
8.2.110.0070.00320.53
8.2.100.0110.00019.70
8.2.90.0060.00617.88
8.2.80.0090.00018.79
8.2.70.0030.00717.79
8.2.60.0000.00818.03
8.2.50.0030.00618.10
8.2.40.0030.00519.30
8.2.30.0030.00619.38
8.2.20.0040.00417.95
8.2.10.0070.00019.38
8.2.00.0040.00419.26
8.1.280.0170.00325.92
8.1.270.0040.00423.99
8.1.260.0070.00028.09
8.1.250.0060.00328.09
8.1.240.0080.00022.43
8.1.230.0040.00819.16
8.1.220.0000.00917.78
8.1.210.0050.00318.77
8.1.200.0040.00717.35
8.1.190.0060.00317.13
8.1.180.0020.00518.10
8.1.170.0040.00418.43
8.1.160.0030.00620.68
8.1.150.0050.00218.90
8.1.140.0000.00718.90
8.1.130.0000.00720.20
8.1.120.0060.00317.51
8.1.110.0040.00417.41
8.1.100.0040.00417.48
8.1.90.0030.00517.41
8.1.80.0000.01017.36
8.1.70.0040.00417.40
8.1.60.0040.00417.58
8.1.50.0040.00417.58
8.1.40.0000.00717.45
8.1.30.0000.00817.60
8.1.20.0040.00417.62
8.1.10.0040.00417.43
8.1.00.0050.00217.38
8.0.300.0000.00719.69
8.0.290.0090.00016.75
8.0.280.0070.00018.46
8.0.270.0030.00316.90
8.0.260.0030.00318.58
8.0.250.0030.00317.06
8.0.240.0030.00316.95
8.0.230.0000.00716.94
8.0.220.0040.00416.94
8.0.210.0040.00416.95
8.0.200.0030.00316.86
8.0.190.0000.00817.01
8.0.180.0000.00816.98
8.0.170.0030.00617.00
8.0.160.0070.00016.92
8.0.150.0050.00316.92
8.0.140.0040.00416.97
8.0.130.0060.00013.30
8.0.120.0040.00416.83
8.0.110.0040.00416.95
8.0.100.0040.00416.98
8.0.90.0000.00816.92
8.0.80.0110.00616.95
8.0.70.0040.00416.92
8.0.60.0040.00416.75
8.0.50.0000.00716.83
8.0.30.0040.01516.87
8.0.20.0060.01217.01
8.0.10.0080.01417.13
8.0.00.0030.01617.10
7.4.330.0020.00215.55
7.4.320.0030.00316.59
7.4.300.0060.00316.56
7.4.290.0030.00316.46
7.4.280.0000.00816.50
7.4.270.0000.00716.59
7.4.260.0030.00313.30
7.4.250.0000.00716.55
7.4.240.0030.00316.57
7.4.230.0070.00016.70
7.4.220.0030.00416.57
7.4.210.0100.00516.58
7.4.200.0000.00716.41
7.4.160.0180.00016.66
7.4.150.0160.00316.60
7.4.140.0140.00516.41
7.4.130.0160.00616.47
7.4.120.0120.00816.63
7.4.110.0090.00916.49
7.4.100.0140.00816.56
7.4.90.0120.00916.48
7.4.80.0060.01416.43
7.4.70.0090.00616.48
7.4.60.0070.01416.64
7.4.50.0000.01916.44
7.4.40.0130.00916.21
7.4.30.0130.00516.38
7.4.20.0090.01016.39
7.4.10.0110.01116.43
7.4.00.0140.00416.35
7.3.330.0000.00716.20
7.3.320.0040.00413.06
7.3.310.0000.00716.20
7.3.300.0050.00216.22
7.3.290.0070.00916.20
7.3.280.0170.00016.14
7.3.270.0060.00816.20
7.3.260.0110.00816.13
7.3.250.0070.01416.14
7.3.240.0100.01216.14
7.3.230.0090.00616.25
7.3.220.0030.01816.08
7.3.210.0160.00316.12
7.3.200.0130.00416.12
7.3.190.0120.00816.08
7.3.180.0040.01316.07
7.3.170.0090.00716.16
7.3.160.0150.00816.13
7.3.150.0090.01016.08
7.3.140.0040.01516.20
7.3.130.0130.00716.12
7.3.120.0000.01716.09
7.3.110.0110.00816.13
7.3.100.0080.01116.15
7.3.90.0150.00316.41
7.3.80.0140.00916.09
7.3.70.0100.01116.26
7.3.60.0120.00616.27
7.3.50.0120.00316.35
7.3.40.0040.01116.31
7.3.30.0030.01516.28
7.3.20.0110.01116.28
7.3.10.0090.01516.30
7.3.00.0130.01016.20

preferences:
58.52 ms | 400 KiB | 5 Q