3v4l.org

run code in 300+ PHP versions simultaneously
<?php $var = <<<__TEXT__ { "url": "http://www.wral.com/weather/page/8106570/?default_map=icontroldoppler", "messages": [ { "lastLine": 1151, "lastColumn": 61, "message": "Element ul not allowed as child of element button in this context. (Suppressing further errors from this subtree.)", "messageid": "html5", "explanation": "\n<div class=\"ve html5\"><dl xmlns=\"http://www.w3.org/1999/xhtml\"><dt>Contexts in which element <a href=\"http://www.w3.org/html/wg/drafts/html/master/single-page.html#the-ul-element\"><code>ul</code></a> may be used:</dt>\n <dd>Where <a href=\"http://www.w3.org/html/wg/drafts/html/master/single-page.html#flow-content-1\">flow content</a> is expected.</dd>\n <dt>Content model for element <a href=\"http://www.w3.org/html/wg/drafts/html/master/single-page.html#the-button-element\"><code>button</code></a>:</dt>\n <dd><a href=\"http://www.w3.org/html/wg/drafts/html/master/single-page.html#phrasing-content-1\">Phrasing content</a>, but there must be no <a href=\"http://www.w3.org/html/wg/drafts/html/master/single-page.html#interactive-content-0\">interactive content</a> descendant.</dd>\n </dl></div>\n", "type": "error" } ], "source": { "encoding": "utf-8", "type": "text/html" } } __TEXT__; $decoded = json_decode($var); var_dump($decode, json_last_error());

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.0170.00318.43
8.3.50.0120.00721.02
8.3.40.0060.00918.42
8.3.30.0070.00720.34
8.3.20.0070.00020.34
8.3.10.0020.00522.08
8.3.00.0080.00022.50
8.2.180.0070.00716.63
8.2.170.0040.01522.96
8.2.160.0140.00720.55
8.2.150.0040.00424.18
8.2.140.0190.00024.66
8.2.130.0150.00426.16
8.2.120.0040.00419.54
8.2.110.0110.00020.32
8.2.100.0080.00319.39
8.2.90.0000.00719.04
8.2.80.0000.00719.25
8.2.70.0060.00317.63
8.2.60.0000.00817.91
8.2.50.0050.00318.07
8.2.40.0030.00519.95
8.2.30.0050.00317.98
8.2.20.0000.00817.55
8.2.10.0000.00917.65
8.2.00.0080.00017.56
8.1.280.0170.00325.92
8.1.270.0000.00824.66
8.1.260.0040.00426.35
8.1.250.0080.00028.09
8.1.240.0100.00024.05
8.1.230.0030.00719.15
8.1.220.0040.00417.76
8.1.210.0050.00318.77
8.1.200.0030.00617.22
8.1.190.0000.00817.39
8.1.180.0080.00020.19
8.1.170.0090.00018.29
8.1.160.0050.00222.06
8.1.150.0000.00718.63
8.1.140.0000.00817.43
8.1.130.0050.00317.78
8.1.120.0000.00817.31
8.1.110.0040.00417.42
8.1.100.0000.00717.39
8.1.90.0000.00717.30
8.1.80.0000.00717.35
8.1.70.0040.00417.28
8.1.60.0040.00417.43
8.1.50.0000.00717.47
8.1.40.0040.00417.50
8.1.30.0000.00817.60
8.1.20.0050.00317.47
8.1.10.0000.00817.34
8.1.00.0070.00017.23
8.0.300.0040.00418.77
8.0.290.0040.00417.18
8.0.280.0040.00418.34
8.0.270.0040.00417.25
8.0.260.0040.00416.82
8.0.250.0070.00016.89
8.0.240.0060.00316.95
8.0.230.0000.00716.91
8.0.220.0000.00716.80
8.0.210.0050.00316.86
8.0.200.0000.00616.88
8.0.190.0040.00716.83
8.0.180.0040.00716.91
8.0.170.0040.00416.97
8.0.160.0070.00016.74
8.0.150.0000.00916.92
8.0.140.0000.00816.74
8.0.130.0030.00313.31
8.0.120.0080.00016.83
8.0.110.0000.00716.77
8.0.100.0070.00016.92
8.0.90.0030.00416.95
8.0.80.0130.00716.90
8.0.70.0070.00016.88
8.0.60.0040.00416.91
8.0.50.0040.00416.80
8.0.30.0120.00916.94
8.0.20.0090.01017.40
8.0.10.0040.00417.05
8.0.00.0090.01116.73
7.4.330.0000.00515.00
7.4.320.0000.00616.55
7.4.300.0000.00616.45
7.4.290.0060.00016.49
7.4.280.0000.00716.58
7.4.270.0030.00416.47
7.4.260.0050.00316.38
7.4.250.0000.00816.39
7.4.240.0040.00416.38
7.4.230.0030.00316.25
7.4.220.0170.00416.40
7.4.210.0050.01116.52
7.4.200.0000.00716.46
7.4.190.0050.00316.51
7.4.160.0030.01816.27
7.4.150.0000.01717.40
7.4.140.0180.00317.86
7.4.130.0080.01316.32
7.4.120.0070.01016.46
7.4.110.0140.00316.53
7.4.100.0090.01316.31
7.4.90.0100.01016.45
7.4.80.0080.00819.39
7.4.70.0130.00316.43
7.4.60.0090.00916.41
7.4.50.0040.00416.13
7.4.40.0030.01322.77
7.4.30.0090.00916.43
7.3.330.0000.00513.13
7.3.320.0000.00513.04
7.3.310.0080.00016.17
7.3.300.0000.00716.22
7.3.290.0070.00716.37
7.3.280.0070.00716.18
7.3.270.0120.00617.40
7.3.260.0130.00316.31
7.3.250.0090.00716.21
7.3.240.0140.00316.22
7.3.230.0120.00416.53
7.3.210.0090.00616.30
7.3.200.0030.01319.39
7.3.190.0100.00616.15
7.3.180.0130.00316.16
7.3.170.0130.00916.49
7.3.160.0060.01016.30
7.2.330.0110.00616.47
7.2.320.0090.00916.51
7.2.310.0070.01416.06
7.2.300.0070.01016.42
7.2.290.0110.01216.45
5.4.250.0030.05318.86
5.4.240.0170.04718.73
5.4.230.0100.05018.79
5.4.220.0030.05718.74
5.4.210.0100.05318.85
5.4.200.0200.04018.99
5.4.190.0070.05718.82
5.4.180.0070.05018.81
5.4.170.0130.06718.78
5.4.160.0130.04318.86
5.4.150.0100.05018.81
5.4.140.0100.04716.26
5.4.130.0030.07016.30
5.4.120.0100.04716.26
5.4.110.0070.05016.30
5.4.100.0000.05716.26
5.4.90.0030.05316.34
5.4.80.0100.05716.13
5.4.70.0070.05016.16
5.4.60.0070.04716.38
5.4.50.0100.04316.30
5.4.40.0070.05716.44
5.4.30.0070.05016.29
5.4.20.0070.05316.49
5.4.10.0130.04316.27
5.4.00.0200.03715.74
5.3.280.0030.05314.61
5.3.270.0070.05014.50
5.3.260.0100.04714.33
5.3.250.0100.04314.49
5.3.240.0070.05014.38
5.3.230.0070.05014.43
5.3.220.0000.07014.57
5.3.210.0070.05014.44
5.3.200.0030.07314.48
5.3.190.0130.04314.72
5.3.180.0130.04314.27
5.3.170.0070.04714.49
5.3.160.0030.05314.57
5.3.150.0030.05314.48
5.3.140.0070.07314.65
5.3.130.0030.06314.57
5.3.120.0000.05714.32
5.3.110.0000.05714.56
5.3.100.0030.05714.04
5.3.90.0070.07013.79
5.3.80.0100.06013.86
5.3.70.0100.05014.02
5.3.60.0200.03714.02
5.3.50.0070.04713.97
5.3.40.0100.04313.97
5.3.30.0000.05313.85
5.3.20.0100.04313.71
5.3.10.0070.04713.50
5.3.00.0030.05313.50

preferences:
43.14 ms | 401 KiB | 5 Q