3v4l.org

run code in 300+ PHP versions simultaneously
<?php var_dump( json_decode(<<<EOT { "status": "ok", "log": { "version": "1.2", "creator": { "name": "BLW", "version": "1.0.0", "comment": "" }, "browser": { "name": "PhantomJS", "version": "1.9.2", "comment": "" }, "pages": [ { "startedDateTime": "2014-05-19T14:53:25.120Z", "id": "about:blank", "title": "", "pageTimings": { "ononContentLoad": -1, "onLoad": 4003, "comment": "" }, "comment": "", "url": "about:blank", "html": "<html><head></head><body></body></html>" } ], "entries": [{ "request": { "url": "about:blank" }, "response": { "redirectURL": "about:none" } }, { "request": { "url": "about:none" }, "response": { "redirectURL": "", "httpVersion": "HTTP/1.1", "status": 200, "headers": [ "User-Agent": "foo", "Setcookie": "bar1=1", "Setcookie": "bar2=2" ], "content": { "mimeType": "text/html" } } }] } } EOT));

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.0120.00616.63
8.3.60.0070.01118.40
8.3.50.0130.01021.14
8.3.40.0110.00418.71
8.3.30.0100.00720.29
8.3.20.0000.00720.20
8.3.10.0030.00620.97
8.3.00.0040.00422.39
8.2.180.0130.01016.63
8.2.170.0080.00818.83
8.2.160.0070.00722.96
8.2.150.0070.00025.66
8.2.140.0050.00224.66
8.2.130.0080.00026.16
8.2.120.0080.00020.73
8.2.110.0000.00919.27
8.2.100.0080.00417.47
8.2.90.0050.00218.92
8.2.80.0000.00817.97
8.2.70.0060.00317.50
8.2.60.0000.00817.91
8.2.50.0080.00418.07
8.2.40.0030.00617.96
8.2.30.0040.00419.40
8.2.20.0040.00417.48
8.2.10.0000.00717.59
8.2.00.0000.00817.58
8.1.280.0090.00925.92
8.1.270.0040.00423.99
8.1.260.0070.00026.35
8.1.250.0080.00028.09
8.1.240.0090.00022.28
8.1.230.0060.00621.04
8.1.220.0040.00418.77
8.1.210.0040.00420.86
8.1.200.0030.00617.13
8.1.190.0030.00517.41
8.1.180.0080.00018.10
8.1.170.0040.00418.52
8.1.160.0070.00018.79
8.1.150.0000.00918.58
8.1.140.0000.00717.30
8.1.130.0070.00017.70
8.1.120.0070.00017.35
8.1.110.0040.00417.29
8.1.100.0000.00817.26
8.1.90.0040.00417.39
8.1.80.0040.00417.38
8.1.70.0000.00817.31
8.1.60.0000.00817.38
8.1.50.0040.00417.39
8.1.40.0000.00717.39
8.1.30.0040.00417.57
8.1.20.0000.00817.47
8.1.10.0080.00017.43
8.1.00.0000.00717.26
8.0.300.0000.00719.77
8.0.290.0040.00417.03
8.0.280.0000.00718.25
8.0.270.0000.00717.09
8.0.260.0030.00316.74
8.0.250.0030.00316.82
8.0.240.0000.00816.93
8.0.230.0000.00716.87
8.0.220.0000.00716.89
8.0.210.0070.00016.88
8.0.200.0030.00316.88
8.0.190.0030.00516.90
8.0.180.0030.00316.79
8.0.170.0030.00316.79
8.0.160.0070.00016.91
8.0.150.0030.00316.83
8.0.140.0000.01016.84
8.0.130.0000.00613.21
8.0.120.0000.00816.87
8.0.110.0000.00716.82
8.0.100.0080.00016.71
8.0.90.0040.00416.82
8.0.80.0150.00616.86
8.0.70.0040.00416.90
8.0.60.0070.00316.88
8.0.50.0000.00716.95
8.0.30.0140.00716.99
8.0.20.0090.01117.40
8.0.10.0000.00716.96
8.0.00.0100.00816.66
7.4.330.0020.00216.67
7.4.320.0070.00016.40
7.4.300.0060.00016.36
7.4.290.0000.00716.50
7.4.280.0030.00316.41
7.4.270.0030.00316.49
7.4.260.0000.00613.23
7.4.250.0070.00016.44
7.4.240.0020.00516.40
7.4.230.0000.00716.14
7.4.220.0110.00716.45
7.4.210.0090.00516.41
7.4.200.0070.00016.30
7.4.190.0030.00316.54
7.4.160.0110.00416.35
7.4.150.0070.01317.40
7.4.140.0080.00917.86
7.4.130.0090.00916.45
7.4.120.0100.00816.43
7.4.110.0100.00716.35
7.4.100.0080.00816.52
7.4.90.0060.00916.46
7.4.80.0040.01319.39
7.4.70.0100.00716.52
7.4.60.0040.01416.34
7.4.50.0060.00316.47
7.4.40.0100.00722.77
7.4.30.0110.00716.36
7.3.330.0000.00512.95
7.3.320.0020.00213.13
7.3.310.0030.00316.13
7.3.300.0070.00016.12
7.3.290.0060.00616.30
7.3.280.0100.00816.15
7.3.270.0030.01517.40
7.3.260.0150.00618.24
7.3.250.0090.01216.17
7.3.240.0140.00316.14
7.3.230.0140.00816.39
7.3.210.0110.00616.40
7.3.200.0090.00919.39
7.3.190.0070.01316.43
7.3.180.0030.01316.25
7.3.170.0060.01316.27
7.3.160.0030.01316.34
7.2.330.0180.00316.22
7.2.320.0130.00316.30
7.2.310.0100.01016.42
7.2.300.0070.00816.29
7.2.290.0060.01416.48
5.4.280.0070.03712.35
5.4.270.0080.03612.35
5.4.260.0040.03912.35
5.4.250.0060.04212.35
5.4.240.0070.03912.35
5.4.230.0090.04312.34
5.4.220.0070.03612.34
5.4.210.0060.03812.34
5.4.200.0070.04112.34
5.4.190.0070.03812.33
5.4.180.0110.03912.33
5.4.170.0130.04012.35
5.4.160.0090.03912.34
5.4.150.0070.03512.34
5.4.140.0070.04212.03
5.4.130.0040.03812.01
5.4.120.0050.03711.97
5.4.110.0090.03611.97
5.4.100.0110.03911.96
5.4.90.0050.04211.96
5.4.80.0040.04211.97
5.4.70.0050.03811.96
5.4.60.0050.04311.96
5.4.50.0100.03911.96
5.4.40.0060.03811.95
5.4.30.0070.04211.95
5.4.20.0080.03811.95
5.4.10.0070.03811.95
5.4.00.0080.03611.44
5.3.280.0070.03912.71
5.3.270.0090.03812.72
5.3.260.0120.03612.72
5.3.250.0050.04112.72
5.3.240.0070.03712.72
5.3.230.0060.03812.71
5.3.220.0080.03912.68
5.3.210.0090.03912.68
5.3.200.0060.03812.68
5.3.190.0080.03812.68
5.3.180.0050.03912.67
5.3.170.0070.04112.67
5.3.160.0100.03912.67
5.3.150.0030.04812.67
5.3.140.0090.03612.66
5.3.130.0110.03812.66
5.3.120.0090.04212.66
5.3.110.0090.04312.66
5.3.100.0100.03812.12
5.3.90.0080.03712.08
5.3.80.0070.03712.08
5.3.70.0070.04312.08
5.3.60.0050.04112.06
5.3.50.0070.04512.00
5.3.40.0090.04212.00
5.3.30.0090.04611.95
5.3.20.0090.04211.72
5.3.10.0100.04311.68
5.3.00.0130.05111.67

preferences:
51.88 ms | 401 KiB | 5 Q