3v4l.org

run code in 300+ PHP versions simultaneously
<?php $temp = "%3C/script%3E%3Cstyle%3E.kint::selection%7Bbackground:#0092db;color:#1d1e1e}.kint::-moz-selection{background:#0092db;color:#1d1e1e}.kint::-webkit-selection{background:#0092db;color:#1d1e1e}.kint{font-family:Consolas,%22Courier%20New%22,monospace;color:#1d1e1e;padding:0;margin:10px%200;font-size:10pt;line-height:15px;white-space:nowrap;overflow-x:auto;text-align:left}.kint%20*{float:none!important;padding:0;margin:0}.kint%20dt{background:#e0eaef;border:1px%20solid%20#b6cedb;color:#1d1e1e;display:block;font-weight:bold;list-style:none%20outside%20none;padding:4px}.kint%20dt:hover{border-color:#0092db}.kint%3Edl%20dl{padding:0%200%200%2015px;border-left:1px%20dashed%20#b6cedb}.kint%20nav{display:inline-block;height:15px;width:15px;margin-right:3px;vertical-align:middle;content:%27%20%27;cursor:pointer;background:url(%22data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAA8AAAA8CAMAAACO5hB7AAAACVBMVEX///82b4tctzBls0NMAAAAQklEQVR42rWRIQ4AAAgCwf8/2qgER2BeuwJsgAqIzekMfMryPL9XQSkobE6vwKcsz/N7FfPvh09lnPf/b+7673+f0uHuAZ/EdkNQAAAAAElFTkSuQmCC%22)%20no-repeat%20scroll%200%200%20transparent}.kint%20dt.kint-parent:hover%20nav{background-position:0%20-15px}.kint%20dt.kint-parent.kint-show:hover%3Enav{background-position:0%20-45px}.kint%20dt.kint-show%3Enav{background-position:0%20-30px}.kint%20dt.kint-parent+dd{display:none}.kint%20dt.kint-parent.kint-show+dd{display:block}.kint%20var{color:#0092db;font-style:normal}.kint%20dt:hover%20var{color:#5cb730}.kint%20dfn{font-style:normal;font-family:monospace;color:#1d1e1e}.kint%20pre{color:#1d1e1e;margin:0%200%200%2015px;padding:5px;overflow-y:hidden;border-top:0;border:1px%20solid%20#b6cedb;background:#e0eaef;display:block}.kint%20footer{padding:0%203px%203px;font-size:.7em}.kint%20a{color:#1d1e1e;text-shadow:none}.kint%20a:hover{color:#1d1e1e;border-bottom:1px%20dotted%20#1d1e1e}.kint%20ul{list-style:none;padding-left:12px}.kint%20ul.kint-tabs{margin:0%200%200%2012px;padding-left:0;background:#e0eaef;border:1px%20solid%20#b6cedb;border-top:0}.kint%20ul.kint-tabs%20li{background:#c1d4df;cursor:pointer;display:inline-block;height:23px;line-height:23px;margin:0%204px%204px;padding:0%2010px%202px;border:1px%20solid%20#b6cedb}.kint%20ul.kint-tabs%20li:hover{border:1px%20solid%20#0092db}.kint%20ul.kint-tabs%20li:hover%20var{color:#5cb730}.kint%20ul.kint-tabs%20li.kint-active-tab{background:#e0eaef;border:1px%20solid%20#b6cedb;border-top:0;font-weight:bold;margin-top:-1px;padding-bottom:2px;padding-top:4px;border-right:1px%20solid%20#b6cedb}.kint%20ul.kint-tabs%20li+li{margin-left:0}.kint%20dt:hover+dd%3Eul%3Eli.kint-active-tab{border-color:#0092db}.kint%20dt:hover+dd%3Eul%3Eli.kint-active-tab%20var{color:#5cb730}.kint%20ul:not(.kint-tabs)%3Eli:not(:first-child){display:none}.kint-report{border-collapse:collapse;empty-cells:show;border-spacing:0}.kint-report%20*{text-align:left;padding:0;margin:0;font-size:9pt;overflow:hidden;font-family:Consolas,%22Courier%20New%22,monospace;color:#1d1e1e}.kint-report%20dt{padding:0;border:0;background:0}.kint-report%20dt.kint-parent{max-width:180px;min-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.kint-report%20dt.kint-parent.kint-show{border-bottom:1px%20solid%20#b6cedb}.kint-report%20td,.kint-report%20th{border:1px%20solid%20#b6cedb;vertical-align:top}.kint-report%20td{background:#e0eaef;white-space:pre}.kint-report%20td%3Edl{border:0;padding:0}.kint-report%20dl,.kint-report%20pre,.kint-report%20label{padding:0}.kint-report%20pre{border-top:0;border-bottom:0;border-right:0}.kint-report%20label[for]:before{display:none}.kint-report%20th:first-child{background:0;border:0}.kint-report%20td:first-child,.kint-report%20th{font-weight:bold;background:#c1d4df;color:#1d1e1e}.kint-report%20td.kint-empty{background:#d33682!important}.kint-report%20tr:hover%3Etd{box-shadow:0%200%201px%200%20#0092db%20inset}.kint-report%20tr:hover%20var{color:#5cb730}.kint-trace%20.kint-source{line-height:1.08em}.kint-trace%20.kint-source%20span{padding-right:1px;border-right:3px%20inset%20#0092db}.kint-trace%20.kint-source%20.kint-highlight{background:#c1d4df}.kint-trace%20.kint-parent%3Eb{min-width:18px;display:inline-block;text-align:right;color:#1d1e1e}.kint-trace%20var{margin-right:5px}.kint-focused{box-shadow:0%200%203px%202px%20#5cb730}.kint-color-preview{box-shadow:0%200%202px%200%20#b6cedb;height:16px;text-align:center;text-shadow:-1px%200%20#839496,0%201px%20#839496,1px%200%20#839496,0%20-1px%20#839496;width:230px;color:#fdf6e3}.kint%3Edl%3Edt{background:-webkit-linear-gradient(top,#e3ecf0%200,#c0d4df%20100%);background:linear-gradient(to%20bottom,#e3ecf0%200,#c0d4df%20100%)}.kint%20ul.kint-tabs{background:-webkit-linear-gradient(top,#9dbed0%200,#b2ccda%20100%);background:linear-gradient(to%20bottom,#9dbed0%200,#b2ccda%20100%)}.kint:not(.kint-trace)%3Edl%3Edd%3Eul.kint-tabs%20li{background:#e0eaef}.kint:not(.kint-trace)%3Edl%3Edd%3Eul.kint-tabs%20li.kint-active-tab{background:#c1d4df}.kint.kint-trace%3Edl%3Edt{background:-webkit-linear-gradient(top,#c0d4df%200,#e3ecf0%20100%);background:linear-gradient(to%20bottom,#c0d4df%200,#e3ecf0%20100%)}.kint%20.kint-source%20.kint-highlight{background:#f0eb96}%3C/style%3E"; echo urldecode($temp);

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.0090.00616.58
8.3.60.0160.00616.63
8.3.50.0100.00922.85
8.3.40.0090.00918.70
8.3.30.0130.00719.00
8.3.20.0030.00520.16
8.3.10.0060.00320.41
8.3.00.0030.00519.26
8.2.180.0110.00416.75
8.2.170.0070.00722.96
8.2.160.0100.00320.53
8.2.150.0000.00824.18
8.2.140.0080.00024.66
8.2.130.0030.00526.16
8.2.120.0000.00721.06
8.2.110.0000.00920.39
8.2.100.0080.00317.91
8.2.90.0080.00018.09
8.2.80.0000.00817.97
8.2.70.0070.00317.50
8.2.60.0070.00017.93
8.2.50.0060.00318.07
8.2.40.0060.00318.34
8.2.30.0050.00319.45
8.2.20.0040.00417.75
8.2.10.0070.00018.05
8.2.00.0000.00817.62
8.1.280.0040.01225.92
8.1.270.0040.00423.81
8.1.260.0040.00426.35
8.1.250.0040.00428.09
8.1.240.0080.00022.14
8.1.230.0070.00720.97
8.1.220.0040.00417.74
8.1.210.0060.00318.92
8.1.200.0070.00317.25
8.1.190.0050.00317.10
8.1.180.0060.00318.10
8.1.170.0040.00418.52
8.1.160.0000.00821.82
8.1.150.0000.00718.74
8.1.140.0080.00017.32
8.1.130.0030.00317.82
8.1.120.0000.00717.44
8.1.110.0020.00517.46
8.1.100.0000.00717.34
8.1.90.0030.00417.45
8.1.80.0020.00517.37
8.1.70.0030.00317.32
8.1.60.0060.00317.36
8.1.50.0080.00017.42
8.1.40.0000.00817.45
8.1.30.0000.00717.56
8.1.20.0000.00717.44
8.1.10.0030.00617.48
8.1.00.0000.00817.32
8.0.300.0000.00720.05
8.0.290.0000.00716.63
8.0.280.0000.00718.46
8.0.270.0070.00017.31
8.0.260.0000.00717.18
8.0.250.0030.00316.94
8.0.240.0000.00716.95
8.0.230.0070.00016.80
8.0.220.0000.00716.73
8.0.210.0040.00416.92
8.0.200.0000.00616.86
8.0.190.0000.00816.90
8.0.180.0030.00316.84
8.0.170.0000.00916.81
8.0.160.0040.00416.86
8.0.150.0030.00516.82
8.0.140.0030.00316.79
8.0.130.0030.00313.28
8.0.120.0000.00816.83
8.0.110.0000.00816.81
8.0.100.0000.00716.84
8.0.90.0050.00216.70
8.0.80.0150.00016.78
8.0.70.0090.00016.86
8.0.60.0030.00516.63
8.0.50.0000.00816.79
8.0.30.0090.01017.16
8.0.20.0090.01217.40
8.0.10.0000.00816.99
8.0.00.0120.00616.79
7.4.330.0000.00615.03
7.4.320.0000.00616.45
7.4.300.0000.00616.35
7.4.290.0040.00416.43
7.4.280.0040.00416.55
7.4.270.0040.00416.47
7.4.260.0000.00816.45
7.4.250.0000.00716.53
7.4.240.0020.00516.41
7.4.230.0030.00316.48
7.4.220.0110.00916.48
7.4.210.0130.00316.39
7.4.200.0000.00716.52
7.4.160.0140.01116.44
7.4.150.0140.01017.40
7.4.140.0100.01017.86
7.4.130.0070.00916.43
7.4.120.0090.01116.50
7.4.110.0060.01016.53
7.4.100.0090.00916.36
7.4.90.0060.01016.49
7.4.80.0060.01219.39
7.4.70.0160.00016.50
7.4.60.0140.00316.54
7.4.50.0000.00416.16
7.4.40.0100.00716.52
7.4.30.0130.00316.30
7.4.00.0030.01414.94
7.3.330.0000.00613.02
7.3.320.0030.00312.88
7.3.310.0040.00416.23
7.3.300.0040.00416.17
7.3.290.0030.01316.10
7.3.280.0080.00716.12
7.3.270.0120.00617.40
7.3.260.0060.01116.39
7.3.250.0050.01116.31
7.3.240.0110.00716.24
7.3.230.0310.01016.39
7.3.210.0080.01516.34
7.3.200.0080.00816.14
7.3.190.0150.00616.38
7.3.180.0120.00316.31
7.3.170.0060.01116.27
7.3.160.0040.01216.22
7.2.330.0080.00916.33
7.2.320.0060.00916.66
7.2.310.0120.00916.26
7.2.300.0060.01516.50
7.2.290.0160.00016.66
7.2.00.0040.00819.13
7.1.100.0070.00718.11
7.1.70.0040.00417.13
7.1.60.0070.01719.61
7.1.50.0040.00816.65
7.1.00.0000.08022.44
7.0.200.0030.00616.69
7.0.140.0100.06722.00
7.0.110.0100.04319.94
7.0.100.0070.03719.95
7.0.90.0130.07719.94
7.0.80.0170.07319.89
7.0.70.0070.07319.95
7.0.60.0100.08319.89
7.0.50.0100.05020.31
7.0.40.0100.07720.05
7.0.30.0100.05020.04
7.0.20.0130.08019.96
7.0.10.0070.07020.18
7.0.00.0130.07020.02
5.6.280.0170.08321.09
5.6.260.0070.03720.68
5.6.250.0000.05320.75
5.6.240.0070.08020.72
5.6.230.0130.06320.71
5.6.220.0100.08020.61
5.6.210.0070.08720.58
5.6.200.0070.06021.15
5.6.190.0070.08320.99
5.6.180.0070.08321.11
5.6.170.0100.08021.12
5.6.160.0070.05320.98
5.6.150.0100.03721.12
5.6.140.0030.04321.29
5.6.130.0170.08020.93
5.6.120.0100.08021.14
5.6.110.0070.08020.95
5.6.100.0170.07021.13
5.6.90.0200.07321.12
5.6.80.0100.07020.44
5.6.70.0030.08320.34
5.6.60.0130.07020.50
5.6.50.0030.08020.60
5.6.40.0130.04320.50
5.6.30.0070.08020.41
5.6.20.0070.07720.54
5.6.10.0130.04020.61
5.6.00.0100.07720.48
5.5.380.0130.07020.38
5.5.370.0200.07320.25
5.5.360.0170.04020.56
5.5.350.0070.08020.45
5.5.340.0170.07720.99
5.5.330.0130.05020.81
5.5.320.0130.08020.84
5.5.310.0130.05720.89
5.5.300.0100.05320.74
5.5.290.0070.08020.97
5.5.280.0200.06020.78
5.5.270.0200.07320.80
5.5.260.0100.08020.88
5.5.250.0130.07320.71
5.5.240.0130.06720.40
5.5.230.0000.08320.19
5.5.220.0100.07720.41
5.5.210.0070.07720.12
5.5.200.0070.07720.24
5.5.190.0130.07320.09
5.5.180.0130.07720.27
5.5.160.0000.08720.25
5.5.150.0170.07320.26
5.5.140.0200.05020.04
5.5.130.0070.07020.09
5.5.120.0200.06720.33
5.5.110.0200.06720.32
5.5.100.0070.07720.18
5.5.90.0130.07320.02
5.5.80.0070.07720.02
5.5.70.0100.07720.02
5.5.60.0100.07319.97
5.5.50.0170.07020.21
5.5.40.0100.07720.26
5.5.30.0100.07720.23
5.5.20.0100.07320.23
5.5.10.0000.08320.23
5.5.00.0070.07720.10
5.4.450.0070.07319.49
5.4.440.0100.07719.49
5.4.430.0170.06719.27
5.4.420.0070.07719.27
5.4.410.0000.05319.20
5.4.400.0070.07319.13
5.4.390.0130.07318.95
5.4.380.0030.07319.25
5.4.370.0100.07718.98
5.4.360.0100.07019.25
5.4.350.0030.04318.95
5.4.340.0130.03019.10
5.4.320.0070.04719.03
5.4.310.0070.07719.25
5.4.300.0030.08018.93
5.4.290.0200.06019.12
5.4.280.0030.08019.12
5.4.270.0200.06719.27
5.4.260.0030.07719.07
5.4.250.0130.07019.00
5.4.240.0070.08019.02
5.4.230.0070.07319.00
5.4.220.0170.06719.00
5.4.210.0030.06018.94
5.4.200.0100.07319.02
5.4.190.0070.07719.11
5.4.180.0000.07319.06
5.4.170.0070.08018.92
5.4.160.0070.07319.25
5.4.150.0030.08019.10
5.4.140.0100.06016.49
5.4.130.0030.07316.52
5.4.120.0070.07316.20
5.4.110.0130.06016.52
5.4.100.0030.07316.38
5.4.90.0070.07716.28
5.4.80.0000.07716.53
5.4.70.0100.07016.49
5.4.60.0100.06316.38
5.4.50.0000.08016.34
5.4.40.0030.07016.21
5.4.30.0030.04716.50
5.4.20.0070.07316.34
5.4.10.0130.06316.25
5.4.00.0030.06015.92
5.3.290.0100.08014.77
5.3.280.0030.07714.61
5.3.270.0130.07314.71
5.3.260.0170.07014.67
5.3.250.0000.08014.48
5.3.240.0000.04714.68
5.3.230.0070.07314.55
5.3.220.0070.05714.36
5.3.210.0170.06714.45
5.3.200.0200.06014.42
5.3.190.0000.08314.46
5.3.180.0070.06014.43
5.3.170.0200.06014.66
5.3.160.0100.05714.36
5.3.150.0100.07014.45
5.3.140.0070.04014.56
5.3.130.0070.08014.57
5.3.120.0130.05714.63
5.3.110.0070.04314.49
5.3.100.0100.04313.95
5.3.90.0070.07313.89
5.3.80.0100.06714.10
5.3.70.0100.06013.81
5.3.60.0070.07013.87
5.3.50.0070.07313.96
5.3.40.0100.07313.78
5.3.30.0070.06713.74
5.3.20.0100.05713.79
5.3.10.0100.06013.58
5.3.00.0070.06713.53
5.2.170.0130.05712.25
5.2.160.0030.06012.25
5.2.150.0030.06012.25
5.2.140.0100.05712.25
5.2.130.0000.04012.25
5.2.120.0000.03012.25
5.2.110.0100.06012.25
5.2.100.0070.06312.25
5.2.90.0070.06012.25
5.2.80.0100.05712.25
5.2.70.0100.05312.25
5.2.60.0100.03012.25
5.2.50.0070.06012.25
5.2.40.0070.05712.25
5.2.30.0100.05312.25
5.2.20.0100.05012.25
5.2.10.0030.06312.25
5.2.00.0070.06012.25
5.1.60.0130.02012.25
5.1.50.0030.05312.25
5.1.40.0000.06012.25
5.1.30.0000.05312.25
5.1.20.0070.05712.25
5.1.10.0100.05312.25
5.1.00.0170.03312.25
5.0.50.0030.04712.25
5.0.40.0030.04712.25
5.0.30.0070.06312.25
5.0.20.0130.03012.25
5.0.10.0070.04012.25
5.0.00.0000.06712.25
4.4.90.0070.02712.25
4.4.80.0070.03012.25
4.4.70.0030.03312.25
4.4.60.0030.03712.25
4.4.50.0030.03712.25
4.4.40.0100.04312.25
4.4.30.0030.03012.25
4.4.20.0100.02712.25
4.4.10.0030.03312.25
4.4.00.0070.04712.25
4.3.110.0030.01712.25
4.3.100.0070.03312.25
4.3.90.0000.03712.25
4.3.80.0030.05012.25
4.3.70.0000.03712.25
4.3.60.0030.03312.25
4.3.50.0030.03312.25
4.3.40.0030.05012.25
4.3.30.0030.03312.25
4.3.20.0000.02712.25
4.3.10.0000.03712.25
4.3.00.0000.04012.25

preferences:
41.71 ms | 401 KiB | 5 Q