3v4l.org

run code in 300+ PHP versions simultaneously
<?php $jstring = '{ "responseHeader": { "status": 0, "QTime": 617, "params": { "indent": "true", "q": "*cat*", "_": "1477957184587", "wt": "json" } }, "response": { "numFound": 211689, "start": 0, "docs": [ { "id": 151419929185, "blogId": 118735857, "type": "photo", "ts": 1475746080, "_version_": 1547431931177599000 }, { "id": 151419930356, "blogId": 267658313, "type": "photo", "ts": 1475746084, "_version_": 1547431931181793300 }, { "id": 151419929352, "blogId": 244420775, "type": "text", "ts": 1475746086, "_version_": 1547431931201716200 }, { "id": 151419930663, "blogId": 103909184, "type": "photo", "ts": 1475746088, "_version_": 1547431934254121000 }, { "id": 151419931641, "blogId": 211342713, "type": "photo", "ts": 1475746088, "_version_": 1547431934260412400 }, { "id": 151419931512, "blogId": 312028424, "type": "text", "ts": 1475746094, "_version_": 1547431939495952400 }, { "id": 151419924069, "blogId": 277487309, "type": "photo", "ts": 1475746075, "_version_": 1547431924888240000 }, { "id": 151419929371, "blogId": 267658313, "type": "photo", "ts": 1475746080, "_version_": 1547431924891385900 }, { "id": 151419935235, "blogId": 237075104, "type": "text", "ts": 1475746100, "_version_": 1547431943599030300 }, { "id": 151419792023, "blogId": 305604685, "type": "text", "ts": 1475745612, "_version_": 1547431948834570200 } ] } }'; $pstring = json_decode($jstring, true); print(http_build_query(['query' => $pstring]));

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.70.0070.00716.50
8.3.60.0040.01116.63
8.3.50.0130.00520.99
8.3.40.0070.00718.89
8.3.30.0040.01118.75
8.3.20.0040.00418.63
8.3.10.0040.00421.73
8.3.00.0040.00421.73
8.2.180.0040.01418.43
8.2.170.0040.01822.96
8.2.160.0130.00622.20
8.2.150.0000.00824.18
8.2.140.0050.00324.66
8.2.130.0070.00026.16
8.2.120.0080.00019.50
8.2.110.0040.00419.24
8.2.100.0060.00618.04
8.2.90.0080.00019.20
8.2.80.0030.00617.97
8.2.70.0030.00617.50
8.2.60.0000.00817.93
8.2.50.0050.00318.10
8.2.40.0030.00520.21
8.2.30.0040.00421.11
8.2.20.0000.00718.07
8.2.10.0080.00017.93
8.2.00.0000.00717.55
8.1.280.0070.01425.92
8.1.270.0040.00422.18
8.1.260.0040.00426.35
8.1.250.0070.00028.09
8.1.240.0040.00421.37
8.1.230.0110.00017.83
8.1.220.0030.00617.74
8.1.210.0040.00418.77
8.1.200.0030.00617.10
8.1.190.0050.00317.23
8.1.180.0060.00318.10
8.1.170.0050.00318.42
8.1.160.0000.00722.13
8.1.150.0050.00220.27
8.1.140.0040.00419.55
8.1.130.0000.00717.64
8.1.120.0030.00517.30
8.1.110.0080.00017.42
8.1.100.0040.00417.30
8.1.90.0050.00317.25
8.1.80.0000.00717.44
8.1.70.0040.00417.39
8.1.60.0040.00417.54
8.1.50.0030.00517.45
8.1.40.0040.00717.48
8.1.30.0040.00417.51
8.1.20.0080.00017.55
8.1.10.0050.00217.45
8.1.00.0000.00817.43
8.0.300.0000.00818.77
8.0.290.0000.00716.75
8.0.280.0000.00718.35
8.0.270.0000.00717.31
8.0.260.0000.00617.14
8.0.250.0040.00416.84
8.0.240.0030.00316.79
8.0.230.0000.00816.80
8.0.220.0000.00716.80
8.0.210.0000.00716.77
8.0.200.0030.00516.95
8.0.190.0000.00716.87
8.0.180.0070.00016.73
8.0.170.0040.00416.82
8.0.160.0040.00416.77
8.0.150.0000.00716.72
8.0.140.0030.00616.65
8.0.130.0030.00313.18
8.0.120.0080.00016.79
8.0.110.0050.00316.71
8.0.100.0000.00716.68
8.0.90.0000.00816.88
8.0.80.0130.00616.84
8.0.70.0020.00516.71
8.0.60.0020.00516.89
8.0.50.0040.00416.86
8.0.30.0100.00816.85
8.0.20.0070.01317.40
8.0.10.0000.00716.73
8.0.00.0060.01716.53
7.4.330.0050.00015.55
7.4.320.0070.00016.34
7.4.300.0000.00716.50
7.4.290.0030.00316.32
7.4.280.0060.00316.54
7.4.270.0030.00316.41
7.4.260.0060.00316.40
7.4.250.0000.00716.50
7.4.240.0000.00716.45
7.4.230.0070.00016.34
7.4.220.0120.01216.46
7.4.210.0050.01016.50
7.4.200.0040.00416.62
7.4.160.0100.01016.35
7.4.150.0140.00317.40
7.4.140.0110.00917.86
7.4.130.0090.00916.42
7.4.120.0110.00816.51
7.4.110.0130.00916.45
7.4.100.0100.00716.44
7.4.90.0140.00316.56
7.4.80.0090.00919.39
7.4.70.0100.00516.29
7.4.60.0080.00816.48
7.4.50.0100.00316.43
7.4.40.0120.00416.54
7.4.30.0060.01016.35
7.4.00.0070.00715.07
7.3.330.0000.00613.04
7.3.320.0050.00012.95
7.3.310.0030.00316.14
7.3.300.0000.00816.24
7.3.290.0080.00816.21
7.3.280.0120.00616.17
7.3.270.0100.00717.40
7.3.260.0120.00916.25
7.3.250.0080.01016.30
7.3.240.0060.01216.39
7.3.230.0110.00716.39
7.3.210.0100.00716.46
7.3.200.0080.00816.24
7.3.190.0100.00616.24
7.3.180.0070.01116.61
7.3.170.0090.00616.14
7.3.160.0060.01116.26
7.2.330.0070.01016.40
7.2.320.0070.01716.68
7.2.310.0000.01616.44
7.2.300.0150.00616.39
7.2.290.0060.01216.46
7.2.00.0030.01019.09
7.1.70.0000.01117.22
7.1.60.0030.00917.22
7.1.00.0030.07722.48
7.0.200.0070.00714.68
7.0.120.0230.08022.09
7.0.110.0100.06022.11
7.0.100.0130.06022.10
7.0.90.0130.05322.12
7.0.80.0030.08322.09
7.0.70.0100.06322.05
7.0.60.0070.09021.96
7.0.50.0100.07322.00
7.0.40.0070.06022.05
7.0.30.0030.07022.17
7.0.20.0030.06022.07
7.0.10.0070.05722.06
7.0.00.0070.05722.07
5.6.270.0130.06320.84
5.6.260.0070.08720.87
5.6.250.0170.05020.82
5.6.240.0170.05320.98
5.6.230.0170.07020.82
5.6.220.0100.07720.85
5.6.210.0100.06021.06
5.6.200.0130.05321.02
5.6.190.0130.05320.86
5.6.180.0130.08020.98
5.6.170.0170.04721.08
5.6.160.0100.05720.82
5.6.150.0030.06721.09
5.6.140.0100.06721.08
5.6.130.0130.06721.02
5.6.120.0230.05320.79
5.6.110.0100.07720.99
5.6.100.0100.05720.81
5.6.90.0170.06020.80
5.6.80.0030.07720.38
5.6.70.0200.06320.36
5.6.60.0130.06320.41
5.6.50.0070.06720.41
5.6.40.0070.05720.09
5.6.30.0130.05020.21
5.6.20.0030.06020.35
5.6.10.0000.06020.35
5.6.00.0130.05020.34

preferences:
64.94 ms | 401 KiB | 5 Q