3v4l.org

run code in 300+ PHP versions simultaneously
<?php $h='example'; echo <<<doc <HTML> <HEAD> <TITLE>$h Web Page</TITLE> </HEAD> <body> <p>You have reached this web page by typing &quot;$h.com&quot;, &quot;$h.net&quot;, or &quot;$h.org&quot; into your web browser.</p> <p>These domain names are reserved for use in documentation and are not availabl e for registration. See <a href="http://www.rfc-editor.org/rfc/rfc2606.txt">RFC 2606</a>, Section 3.</p> </BODY> </HTML> doc;

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.0150.00318.05
8.3.50.0150.00621.08
8.3.40.0040.01118.63
8.3.30.0170.00020.26
8.3.20.0030.00520.21
8.3.10.0040.00422.10
8.3.00.0080.00022.41
8.2.180.0040.01116.50
8.2.170.0140.00322.96
8.2.160.0070.01022.12
8.2.150.0060.00324.18
8.2.140.0000.00824.66
8.2.130.0070.00026.16
8.2.120.0040.00420.81
8.2.110.0000.00920.35
8.2.100.0110.00018.15
8.2.90.0000.00819.05
8.2.80.0060.00317.97
8.2.70.0080.00017.50
8.2.60.0080.00018.04
8.2.50.0040.00418.10
8.2.40.0040.00420.41
8.2.30.0000.00819.23
8.2.20.0040.00417.70
8.2.10.0040.00417.61
8.2.00.0000.00817.66
8.1.280.0110.00425.92
8.1.270.0080.00023.99
8.1.260.0050.00326.35
8.1.250.0000.00728.09
8.1.240.0040.00423.80
8.1.230.0080.00317.42
8.1.220.0040.00417.78
8.1.210.0000.00818.77
8.1.200.0000.00817.36
8.1.190.0060.00317.23
8.1.180.0050.00218.10
8.1.170.0050.00518.36
8.1.160.0080.00018.68
8.1.150.0030.00618.52
8.1.140.0060.00317.31
8.1.130.0030.00317.80
8.1.120.0030.00317.40
8.1.110.0000.00817.40
8.1.100.0000.00817.32
8.1.90.0000.00717.35
8.1.80.0000.00817.38
8.1.70.0040.00417.27
8.1.60.0040.00417.57
8.1.50.0000.00717.37
8.1.40.0040.00417.42
8.1.30.0040.00417.50
8.1.20.0040.00417.56
8.1.10.0040.00417.41
8.1.00.0030.00917.29
8.0.300.0050.00218.77
8.0.290.0040.00416.75
8.0.280.0020.00518.48
8.0.270.0000.00717.16
8.0.260.0030.00316.88
8.0.250.0030.00316.88
8.0.240.0100.00017.02
8.0.230.0040.00416.88
8.0.220.0070.00016.96
8.0.210.0080.00016.91
8.0.200.0000.00616.83
8.0.190.0090.00016.88
8.0.180.0030.00316.99
8.0.170.0000.00716.99
8.0.160.0000.00716.88
8.0.150.0090.00016.93
8.0.140.0040.00416.79
8.0.130.0000.00613.40
8.0.120.0030.00516.81
8.0.110.0080.00016.96
8.0.100.0030.00416.94
8.0.90.0040.00416.95
8.0.80.0000.01516.95
8.0.70.0040.00316.92
8.0.60.0000.00816.75
8.0.50.0040.00417.00
8.0.30.0110.00917.01
8.0.20.0070.01217.40
8.0.10.0050.00216.86
8.0.00.0090.00916.63
7.4.330.0020.00214.89
7.4.320.0030.00316.41
7.4.300.0060.00016.51
7.4.290.0070.00016.51
7.4.280.0000.00716.31
7.4.270.0030.00316.38
7.4.260.0000.00513.16
7.4.250.0030.00316.34
7.4.240.0050.00216.50
7.4.230.0040.00416.47
7.4.220.0150.00916.58
7.4.210.0110.00416.53
7.4.200.0040.00416.53
7.4.190.0030.00316.68
7.4.160.0040.01216.36
7.4.150.0170.00017.40
7.4.140.0150.00617.86
7.4.130.0140.00316.51
7.4.120.0100.00816.48
7.4.110.0170.00016.49
7.4.100.0070.01016.55
7.4.90.0070.01016.45
7.4.80.0120.00919.39
7.4.70.0070.01016.37
7.4.60.0030.01216.47
7.4.50.0000.00816.35
7.4.40.0090.00622.77
7.4.30.0070.01116.45
7.3.330.0050.00013.18
7.3.320.0020.00213.09
7.3.310.0050.00316.39
7.3.300.0040.00416.10
7.3.290.0120.00616.30
7.3.280.0100.00616.25
7.3.270.0110.00617.40
7.3.260.0110.01116.36
7.3.250.0050.01216.41
7.3.240.0070.01016.36
7.3.230.0140.00316.45
7.3.210.0160.00316.32
7.3.200.0200.00319.39
7.3.190.0100.00616.42
7.3.180.0090.00916.42
7.3.170.0120.00316.40
7.3.160.0130.00616.34
7.2.330.0080.01116.16
7.2.320.0140.00316.34
7.2.310.0030.01416.50
7.2.300.0060.00916.14
7.2.290.0030.01316.48
5.4.240.0070.03612.36
5.4.230.0130.04012.34
5.4.220.0120.04112.34
5.4.210.0140.03812.34
5.4.200.0110.04112.34
5.4.190.0120.03912.33
5.4.180.0130.03812.33
5.4.170.0120.03912.34
5.4.160.0140.03612.34
5.4.150.0140.03912.33
5.4.140.0120.03912.02
5.4.130.0140.03712.00
5.4.120.0090.04111.96
5.4.110.0140.03611.96
5.4.100.0120.04011.96
5.4.90.0100.04111.97
5.4.80.0080.04311.96
5.4.70.0110.03811.96
5.4.60.0090.04111.96
5.4.50.0100.03811.96
5.4.40.0120.03611.95
5.4.30.0100.04111.94
5.4.20.0120.03811.94
5.4.10.0100.03811.95
5.4.00.0230.06411.44
5.3.280.0130.04212.71
5.3.270.0130.05012.72
5.3.260.0120.04712.72
5.3.250.0090.04312.72
5.3.240.0120.03912.72
5.3.230.0130.03912.71
5.3.220.0130.03812.68
5.3.210.0130.03812.68
5.3.200.0110.03912.68
5.3.190.0110.04312.68
5.3.180.0110.04012.68
5.3.170.0130.03712.67
5.3.160.0130.03812.67
5.3.150.0150.06712.67
5.3.140.0130.03912.66
5.3.130.0100.04412.65
5.3.120.0140.04312.66
5.3.110.0400.05712.66
5.3.100.0070.04412.12
5.3.90.0120.03912.08
5.3.80.0130.04112.07
5.3.70.0100.04012.07
5.3.60.0120.04012.06
5.3.50.0110.04112.00
5.3.40.0100.04312.00
5.3.30.0120.04111.94
5.3.20.0230.05911.71
5.3.10.0090.03811.68
5.3.00.0110.03811.67

preferences:
70.12 ms | 401 KiB | 5 Q