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' => $jstring]));

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.0110.00416.38
8.3.50.0080.00516.07
8.3.40.0040.01118.84
8.3.30.0110.00418.54
8.3.20.0060.00318.65
8.3.10.0030.00623.66
8.3.00.0040.00421.77
8.2.180.0120.00616.50
8.2.170.0040.01122.96
8.2.160.0100.00322.12
8.2.150.0000.00724.18
8.2.140.0040.00424.66
8.2.130.0040.00419.77
8.2.120.0000.00826.35
8.2.110.0030.00620.48
8.2.100.0040.00717.84
8.2.90.0060.00319.29
8.2.80.0050.00317.97
8.2.70.0060.00317.60
8.2.60.0080.00017.93
8.2.50.0050.00318.10
8.2.40.0030.00520.40
8.2.30.0000.00821.00
8.2.20.0000.00718.15
8.2.10.0030.00518.10
8.2.00.0040.00417.68
8.1.280.0120.00625.92
8.1.270.0000.00821.90
8.1.260.0040.00428.09
8.1.250.0070.00028.09
8.1.240.0070.01023.86
8.1.230.0110.00022.78
8.1.220.0030.00617.77
8.1.210.0040.00418.77
8.1.200.0060.00317.22
8.1.190.0060.00317.10
8.1.180.0060.00318.10
8.1.170.0040.00418.65
8.1.160.0040.00422.05
8.1.150.0000.00720.27
8.1.140.0040.00419.56
8.1.130.0030.00317.63
8.1.120.0000.00817.41
8.1.110.0000.00717.38
8.1.100.0040.00417.38
8.1.90.0000.00717.42
8.1.80.0030.00317.39
8.1.70.0050.00217.44
8.1.60.0030.00617.52
8.1.50.0000.00817.38
8.1.40.0030.00617.30
8.1.30.0000.00817.62
8.1.20.0000.00717.54
8.1.10.0040.00417.62
8.1.00.0040.00417.50
8.0.300.0000.00818.77
8.0.290.0040.00416.63
8.0.280.0030.00518.37
8.0.270.0050.00317.25
8.0.260.0030.00317.24
8.0.250.0030.00316.91
8.0.240.0060.00016.99
8.0.230.0050.00316.83
8.0.220.0000.00716.86
8.0.210.0030.00316.74
8.0.200.0040.00416.90
8.0.190.0040.00416.86
8.0.180.0000.00716.86
8.0.170.0040.00416.75
8.0.160.0040.00416.79
8.0.150.0040.00416.77
8.0.140.0030.00616.82
8.0.130.0030.00313.17
8.0.120.0050.00216.73
8.0.110.0000.00716.68
8.0.100.0040.00416.81
8.0.90.0040.00416.88
8.0.80.0070.00816.82
8.0.70.0050.00216.86
8.0.60.0040.00416.64
8.0.50.0000.00916.69
8.0.30.0080.00916.99
8.0.20.0150.00717.40
8.0.10.0000.00716.97
8.0.00.0180.00216.61
7.4.330.0020.00215.55
7.4.320.0030.00316.38
7.4.300.0060.00016.47
7.4.290.0070.00016.56
7.4.280.0030.00716.42
7.4.270.0000.00716.37
7.4.260.0030.00716.52
7.4.250.0030.00316.49
7.4.240.0030.00316.52
7.4.230.0030.00316.54
7.4.220.0150.00916.50
7.4.210.0120.00316.43
7.4.200.0070.00016.38
7.4.160.0130.00616.42
7.4.150.0100.00717.40
7.4.140.0090.01117.86
7.4.130.0090.01016.38
7.4.120.0140.00516.43
7.4.110.0160.00616.73
7.4.100.0040.01316.25
7.4.90.0060.01216.66
7.4.80.0000.01719.39
7.4.70.0160.00016.34
7.4.60.0110.00416.54
7.4.50.0070.01116.30
7.4.40.0090.00616.35
7.4.30.0090.00616.53
7.4.00.0020.01114.83
7.3.330.0030.00313.04
7.3.320.0020.00212.88
7.3.310.0030.00316.11
7.3.300.0030.00316.27
7.3.290.0060.00816.22
7.3.280.0110.00816.21
7.3.270.0110.01117.40
7.3.260.0080.01216.10
7.3.250.0110.00916.28
7.3.240.0090.00816.57
7.3.230.0110.00716.47
7.3.210.0110.00516.25
7.3.200.0070.01316.29
7.3.190.0040.01216.21
7.3.180.0130.00616.23
7.3.170.0060.01616.29
7.3.160.0050.01116.21
7.3.120.0110.00714.79
7.3.110.0100.00714.67
7.3.100.0080.00814.94
7.3.90.0040.01414.77
7.3.80.0040.01214.85
7.3.70.0040.00814.66
7.3.60.0070.00714.89
7.3.50.0100.00714.63
7.3.40.0100.00714.54
7.3.30.0090.00314.86
7.3.20.0080.00416.45
7.3.10.0000.01516.28
7.3.00.0060.00916.80
7.2.330.0140.00316.34
7.2.320.0090.01416.62
7.2.310.0110.00616.27
7.2.300.0120.01216.68
7.2.290.0130.00316.63
7.2.250.0000.01614.79
7.2.240.0130.00614.87
7.2.230.0100.01015.05
7.2.220.0120.00814.87
7.2.210.0110.00715.05
7.2.200.0130.00315.07
7.2.190.0070.01015.11
7.2.180.0090.00915.15
7.2.170.0040.01214.71
7.2.60.0070.00716.89
7.2.50.0110.00416.68
7.2.00.0040.01419.48
7.1.330.0090.00615.56
7.1.320.0070.00415.73
7.1.310.0000.01515.88
7.1.300.0060.00915.54
7.1.290.0070.01015.52
7.1.280.0140.00015.61
7.1.270.0060.00815.64
7.1.260.0060.00615.43
7.1.200.0040.01115.51
7.1.70.0040.00417.29
7.1.60.0060.00616.79
7.1.00.0000.08022.40
7.0.200.0100.01014.66
7.0.120.0030.07022.07
7.0.110.0100.06022.04
7.0.100.0170.05021.95
7.0.90.0100.06322.07
7.0.80.0130.06022.14
7.0.70.0100.05322.06
7.0.60.0130.05722.10
7.0.50.0000.06322.07
7.0.40.0100.05322.03
7.0.30.0030.06021.97
7.0.20.0100.05722.19
7.0.10.0130.07721.97
7.0.00.0100.06721.96
5.6.270.0070.06320.87
5.6.260.0130.07321.13
5.6.250.0070.06720.88
5.6.240.0130.06020.86
5.6.230.0100.05320.79
5.6.220.0100.05321.07
5.6.210.0130.05320.96
5.6.200.0200.04720.93
5.6.190.0070.05721.03
5.6.180.0070.05720.78
5.6.170.0100.05720.99
5.6.160.0100.06021.00
5.6.150.0070.06320.85
5.6.140.0100.06321.02
5.6.130.0130.05320.74
5.6.120.0030.06321.07
5.6.110.0170.07320.82
5.6.100.0000.07721.02
5.6.90.0070.05320.73
5.6.80.0070.05720.21
5.6.70.0100.05020.20
5.6.60.0100.05020.21
5.6.50.0100.06020.21
5.6.40.0100.05020.44
5.6.30.0170.04720.19
5.6.20.0170.04720.20
5.6.10.0030.06720.20
5.6.00.0100.05720.36

preferences:
64.79 ms | 401 KiB | 5 Q