3v4l.org

run code in 300+ PHP versions simultaneously
<?php $json = '{ "client_id": 1234, "rawdata": [{ "task_id1": { "apikey1": "1234", "flow": "ssp", "total_chocolate_request": 43235, "start_time": "2017 - 05 - 09 12: 29: 00 UTC", "end_time": "2017 - 05 - 09 12: 29: 00 UTC" }, "task_id2": { "apikey2": "1235", "flow": "mobileweb", "total_chocolate_request": 43235, "start_time": "2017 - 05 - 09 12: 29: 00 UTC", "end_time": "2017 - 05 - 09 12: 29: 00 UTC" } }]}'; $parsed = json_decode($json, true); foreach($parsed['rawdata'] as $v){ print_r($v); echo PHP_EOL; }

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.5.30.0090.00921.20
8.5.20.0100.00720.32
8.5.10.0090.01016.66
8.5.00.0120.00919.94
8.4.180.0120.01019.58
8.4.170.0120.00920.46
8.4.160.0130.00923.61
8.4.150.0090.00516.71
8.4.140.0130.00817.53
8.4.130.0050.00418.62
8.4.120.0110.00923.85
8.4.110.0060.00223.96
8.4.100.0120.00817.95
8.4.90.0040.00420.52
8.4.80.0050.00419.00
8.4.70.0070.01318.88
8.4.60.0130.00622.39
8.4.50.0080.00317.67
8.4.40.0130.00317.43
8.4.30.0120.00617.91
8.4.20.0070.01417.48
8.4.10.0000.01119.59
8.3.300.0130.00720.70
8.3.290.0110.01120.80
8.3.280.0130.00818.24
8.3.270.0150.00416.66
8.3.260.0110.00916.36
8.3.250.0080.01019.02
8.3.240.0100.00916.96
8.3.230.0040.00516.73
8.3.220.0110.00519.12
8.3.210.0050.00216.79
8.3.200.0040.00716.55
8.3.190.0070.00117.13
8.3.180.0080.01016.33
8.3.170.0070.01117.23
8.3.160.0030.00616.65
8.3.150.0100.00320.60
8.3.140.0070.01016.56
8.3.130.0040.00418.54
8.3.120.0040.01518.81
8.3.110.0040.00420.94
8.3.100.0070.00324.06
8.3.90.0130.00626.77
8.3.80.0030.00618.43
8.3.70.0140.00716.50
8.3.60.0170.01016.75
8.3.50.0160.00317.38
8.3.40.0120.00318.72
8.3.30.0080.00818.89
8.3.20.0070.00021.69
8.3.10.0070.00021.73
8.3.00.0050.00319.69
8.2.300.0130.01124.02
8.2.290.0130.00516.37
8.2.280.0130.00720.05
8.2.270.0090.00917.50
8.2.260.0100.00720.07
8.2.250.0080.00018.27
8.2.240.0030.00517.36
8.2.230.0060.00322.58
8.2.220.0030.00537.54
8.2.210.0000.00826.77
8.2.200.0000.00816.38
8.2.190.0100.01016.58
8.2.180.0100.00718.41
8.2.170.0060.00922.96
8.2.160.0070.00719.38
8.2.150.0080.00024.18
8.2.140.0040.00424.66
8.2.130.0000.00720.47
8.2.120.0000.00726.35
8.2.110.0000.00920.23
8.2.100.0070.00417.84
8.2.90.0080.00019.12
8.2.80.0000.00918.05
8.2.70.0000.00917.63
8.2.60.0040.00417.93
8.2.50.0090.00018.10
8.2.40.0050.00320.25
8.2.30.0000.00719.35
8.2.20.0040.00418.00
8.2.10.0000.00718.13
8.2.00.0040.00418.10
8.1.340.0120.00817.55
8.1.330.0100.00915.98
8.1.320.0110.00817.90
8.1.310.0040.00418.43
8.1.300.0080.00019.43
8.1.290.0060.00330.84
8.1.280.0060.00925.92
8.1.270.0040.00420.65
8.1.260.0000.00726.35
8.1.250.0000.00728.09
8.1.240.0040.00423.82
8.1.230.0080.00317.89
8.1.220.0080.00017.74
8.1.210.0000.00818.77
8.1.200.0060.00317.23
8.1.190.0040.00416.98
8.1.180.0030.00518.10
8.1.170.0070.00318.52
8.1.160.0000.00719.07
8.1.150.0060.00318.80
8.1.140.0040.00419.45
8.1.130.0030.00317.53
8.1.120.0040.00417.35
8.1.110.0040.00417.44
8.1.100.0070.00017.37
8.1.90.0040.00417.47
8.1.80.0080.00017.35
8.1.70.0030.00317.45
8.1.60.0040.00417.59
8.1.50.0040.00417.48
8.1.40.0040.00417.57
8.1.30.0000.00817.68
8.1.20.0060.00317.54
8.1.10.0060.00317.64
8.1.00.0050.00317.52
8.0.300.0040.00419.88
8.0.290.0000.00816.75
8.0.280.0000.00718.35
8.0.270.0030.00317.16
8.0.260.0050.00316.82
8.0.250.0000.00716.98
8.0.240.0030.00616.86
8.0.230.0030.00816.98
8.0.220.0040.00316.81
8.0.210.0000.00716.86
8.0.200.0050.00216.95
8.0.190.0080.00016.95
8.0.180.0070.00016.80
8.0.170.0000.00716.89
8.0.160.0050.00216.99
8.0.150.0040.00416.88
8.0.140.0030.00416.76
8.0.130.0060.00013.30
8.0.120.0000.00816.92
8.0.110.0000.00716.95
8.0.100.0040.00416.91
8.0.90.0040.00417.01
8.0.80.0080.00616.78
8.0.70.0050.00216.88
8.0.60.0040.00417.01
8.0.50.0070.00016.85
8.0.30.0110.00917.28
8.0.20.0090.00917.40
8.0.10.0080.00016.93
8.0.00.0130.00716.77
7.4.330.0000.00515.55
7.4.320.0060.00016.50
7.4.300.0000.00616.61
7.4.290.0040.00416.59
7.4.280.0040.00416.43
7.4.270.0000.01016.64
7.4.260.0050.00316.56
7.4.250.0000.00916.46
7.4.240.0000.00716.49
7.4.230.0040.00416.39
7.4.220.0160.01316.70
7.4.210.0000.01616.59
7.4.200.0070.00016.57
7.4.160.0130.00616.50
7.4.150.0070.01017.40
7.4.140.0100.00917.86
7.4.130.0060.01516.61
7.4.120.0120.00916.49
7.4.110.0120.00416.44
7.4.100.0120.00816.66
7.4.90.0100.00716.49
7.4.80.0120.00619.39
7.4.70.0080.00816.39
7.4.60.0180.00616.40
7.4.50.0140.00216.52
7.4.40.0090.00616.53
7.4.30.0040.01216.38
7.4.00.0100.00714.61
7.3.330.0000.00713.18
7.3.320.0000.00513.00
7.3.310.0060.00016.09
7.3.300.0000.00616.36
7.3.290.0070.00716.27
7.3.280.0070.00916.18
7.3.270.0160.00317.40
7.3.260.0140.01016.53
7.3.250.0140.00716.35
7.3.240.0090.00916.41
7.3.230.0100.01016.44
7.3.210.0070.01016.17
7.3.200.0120.00916.58
7.3.190.0070.01016.25
7.3.180.0040.01116.34
7.3.170.0100.00716.60
7.3.160.0100.00716.56
7.2.330.0130.00316.76
7.2.320.0060.01316.73
7.2.310.0100.00716.41
7.2.300.0090.00916.83
7.2.290.0130.00316.63
7.1.70.0160.00317.27
7.1.60.1000.01032.90
7.1.50.0830.01032.78
7.1.40.1230.02032.38
7.1.30.0870.01732.45
7.1.20.0770.01332.63
7.1.10.0570.00314.59
7.1.00.0470.01314.73
7.0.200.0730.01014.73
7.0.190.0700.01014.82
7.0.180.0770.00314.27
7.0.170.1000.01314.41
7.0.160.0770.00314.24
7.0.150.0770.00714.19
7.0.140.0500.01014.25
7.0.130.0530.00314.71
7.0.120.0470.01014.57
7.0.110.0670.00714.49
7.0.100.0570.01014.32
7.0.90.0500.01014.27
7.0.80.0500.00314.51
7.0.70.0730.00314.27
7.0.60.0470.01014.30
7.0.50.0470.01314.39
7.0.40.0430.01314.64
7.0.30.0730.00714.66
7.0.20.0600.01314.46
7.0.10.0630.01014.37
7.0.00.0500.01014.57

preferences:
106.25 ms | 1566 KiB | 5 Q