3v4l.org

run code in 300+ PHP versions simultaneously
<?php $json = '{ "status": "success", "code": 200, "data": { "total": 5003, "max_score": null, "hits": [ { "_index": "latestlogs", "_type": "logs", "user_id": "rgertg4356ert", "_score": 13.127081, "_source": { "allcaller_id": "453454534", "source": "1", "company_id": "353454355", "caller_number_raw": "4353445345", "_cm": "", "caller_number": "+34534545", "country": "91", "state": "IN", "synced_time": 1554898407, "start_time": 1554898251, "_ms": 1554898251000, "seconds": 43851, "end_time": 1554898366, "duration": "00:01:55", "_drm": 1.92, "type": 1, "event": 1, "filename": "fgdfg.mp3", "fileurl": "google.com/mp3", "_ns": "0", "status": 1, "department_name": "During Office", "department_id": "r43rfdt43refd", "additional_parameters": [ { "ky": "unique_id", "vl": "d2.1554898249.1594961" }, { "ky": "is_starred", "vl": "0" }, { "ky": "view_type", "vl": "2" }, { "ky": "is_commented", "vl": "0" }, { "ky": "is_archived", "vl": "0" }, { "ky": "internal_flag", "vl": "1" } ], "comments": [ ], "log_details": [ { "received_by": [ { "user_id": "43535rfret", "name": "Peter", "email": "", "extension": "13", "contact_number_raw": "53534543", "contact_number": "+343243535" } ], "transfered_to": [ ], "status": "1", "start_time": 1554898284, "end_time": 1554898366, "duration": "00:01:22", "action": "received" } ], "_us": [ { "ky": "dfsdf", "vl": "received" } ], "_tc": [ { "ye": "dsfsdf", "yf": 82 } ], "_ri": "" } } ] } }'; $x = json_decode($json, true); foreach ($x['data']['hits'] as $key => $val) { $receivedBy = $val['_source']['log_details'][0]['received_by'][0]; var_dump($receivedBy); }

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.4.130.0060.00617.87
8.4.120.0130.00722.42
8.4.110.0150.00520.69
8.4.100.0120.00817.73
8.4.90.0130.00819.13
8.4.80.0030.00517.70
8.4.70.0040.00520.66
8.4.60.0140.00618.79
8.4.50.0170.00318.75
8.4.40.0080.01219.44
8.4.30.0130.00724.02
8.4.20.0140.00720.89
8.4.10.0060.00319.38
8.3.260.0120.00616.45
8.3.250.0100.00919.07
8.3.240.0040.00416.74
8.3.230.0090.01016.71
8.3.220.0050.00317.12
8.3.210.0090.00818.33
8.3.200.0040.00516.62
8.3.190.0120.00717.20
8.3.180.0060.00318.76
8.3.170.0150.00316.74
8.3.160.0040.00417.20
8.3.150.0030.00617.20
8.3.140.0030.00618.90
8.3.130.0000.00818.33
8.3.120.0050.00520.93
8.3.110.0040.00420.94
8.3.100.0090.00024.06
8.3.90.0070.00726.77
8.3.80.0030.00618.56
8.3.70.0070.01016.50
8.3.60.0110.01116.50
8.3.50.0080.00819.00
8.3.40.0040.01118.71
8.3.30.0040.01118.74
8.3.20.0000.00720.84
8.3.10.0000.00823.36
8.3.00.0040.00420.94
8.2.290.0050.00520.43
8.2.280.0150.00418.20
8.2.270.0090.00916.66
8.2.260.0080.01116.61
8.2.250.0090.00916.78
8.2.240.0040.00419.05
8.2.230.0060.00322.58
8.2.220.0000.00937.54
8.2.210.0050.00326.77
8.2.200.0060.00318.51
8.2.190.0070.00717.00
8.2.180.0070.01016.50
8.2.170.0140.00722.96
8.2.160.0110.00420.58
8.2.150.0080.00024.18
8.2.140.0080.00324.66
8.2.130.0000.00718.09
8.2.120.0040.00426.35
8.2.110.0060.00321.10
8.2.100.0080.00317.84
8.2.90.0000.00818.34
8.2.80.0030.00518.28
8.2.70.0080.00017.63
8.2.60.0000.00817.63
8.2.50.0000.00817.55
8.2.40.0000.00819.35
8.2.30.0030.00719.40
8.2.20.0000.00718.14
8.2.10.0000.00819.25
8.2.00.0040.00418.20
8.1.330.0080.01122.20
8.1.320.0120.00716.05
8.1.310.0060.00317.78
8.1.300.0080.00816.18
8.1.290.0100.00030.84
8.1.280.0120.00625.92
8.1.270.0000.00720.38
8.1.260.0000.00826.35
8.1.250.0040.00428.09
8.1.240.0090.00024.02
8.1.230.0070.00422.61
8.1.220.0040.00417.88
8.1.210.0030.00618.77
8.1.200.0080.00017.35
8.1.190.0000.00917.35
8.1.180.0050.00318.10
8.1.170.0040.00418.89
8.1.160.0040.00418.79
8.1.150.0030.00318.84
8.1.140.0070.00019.02
8.1.130.0070.00020.16
8.1.120.0000.00817.38
8.1.110.0000.00717.43
8.1.100.0040.00417.41
8.1.90.0040.00417.47
8.1.80.0030.00617.38
8.1.70.0040.00417.51
8.1.60.0050.00317.52
8.1.50.0030.00617.54
8.1.40.0000.00917.43
8.1.30.0040.00417.64
8.1.20.0040.00817.68
8.1.10.0040.00417.50
8.1.00.0090.00017.45
8.0.300.0000.00719.88
8.0.290.0040.00416.63
8.0.280.0030.00318.46
8.0.270.0030.00316.76
8.0.260.0060.00018.41
8.0.250.0000.00816.94
8.0.240.0000.01016.89
8.0.230.0030.00316.96
8.0.220.0000.00816.80
8.0.210.0030.00316.91
8.0.200.0060.00316.98
8.0.190.0040.00416.99
8.0.180.0080.00016.84
8.0.170.0030.00616.86
8.0.160.0040.00416.89
8.0.150.0090.00016.78
8.0.140.0040.00416.80
8.0.130.0060.00013.32
8.0.120.0040.00416.95
8.0.110.0030.00616.78
8.0.100.0050.00216.96
8.0.90.0000.00716.98
8.0.80.0040.01116.97
8.0.70.0050.00316.92
8.0.60.0000.00717.02
8.0.50.0080.00016.86
8.0.30.0090.00917.14
8.0.20.0140.00917.14
8.0.10.0000.00816.98
8.0.00.0100.01116.88
7.4.330.0050.00016.79
7.4.320.0000.00616.45
7.4.300.0000.00616.50
7.4.290.0000.00916.53
7.4.280.0030.00516.48
7.4.270.0000.00716.38
7.4.260.0000.00716.53
7.4.250.0030.00316.48
7.4.240.0000.00816.68
7.4.230.0030.00316.51
7.4.220.0050.00316.70
7.4.210.0090.00816.50
7.4.200.0030.00316.43
7.4.160.0110.00516.42
7.4.130.0040.01316.68
7.4.120.0070.01716.61
7.4.110.0070.01016.53
7.4.100.0120.01216.44
7.4.90.0070.01016.50
7.4.80.0140.00719.39
7.4.70.0090.00916.41
7.4.60.0070.01016.50
7.4.50.0000.01216.68
7.4.40.0100.01016.59
7.4.00.0100.00614.99
7.3.330.0000.00613.16
7.3.320.0030.00313.00
7.3.310.0030.00316.37
7.3.300.0000.00616.32
7.3.290.0000.00716.18
7.3.280.0110.00716.28
7.3.260.0110.01116.33
7.3.240.0100.01016.45
7.3.230.0090.00916.37
7.3.210.0170.00016.54
7.3.200.0070.01416.46
7.3.190.0110.00416.39
7.3.180.0090.00616.43
7.3.170.0030.01316.29
7.3.160.0130.00316.38
7.3.40.0140.00714.84
7.3.30.0060.00914.59
7.3.20.0090.00316.69
7.3.10.0160.00616.68
7.3.00.0050.00516.66
7.2.330.0070.01116.61
7.2.320.0110.00716.70
7.2.310.0060.01516.55
7.2.300.0130.01016.55
7.2.290.0120.00616.76
7.2.170.0150.00714.88
7.2.160.0100.01314.87
7.2.150.0090.00616.77
7.2.140.0150.00716.78
7.2.130.0000.01316.69
7.2.120.0150.00316.89
7.2.110.0060.00616.98
7.2.100.0090.01216.66
7.2.90.0170.00516.93
7.2.80.0110.00316.92
7.2.70.0060.00617.03
7.2.60.0080.00316.90
7.2.50.0110.00016.64
7.2.40.0110.01116.81
7.2.30.0110.01116.79
7.2.20.0190.00316.99
7.2.10.0090.01317.06
7.2.00.0080.01217.02
7.1.280.0000.01415.96
7.1.270.0060.01615.82
7.1.260.0030.00915.90
7.1.250.0080.00515.91

preferences:
31.73 ms | 403 KiB | 5 Q