3v4l.org

run code in 300+ PHP versions simultaneously
<?php $h='example'; echo <<<D <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> D;

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.0070.00716.58
8.3.60.0130.00718.18
8.3.50.0100.00821.14
8.3.40.0070.01418.68
8.3.30.0070.00720.27
8.3.20.0070.00020.09
8.3.10.0070.00022.06
8.3.00.0040.00422.44
8.2.180.0100.00716.32
8.2.170.0110.00422.96
8.2.160.0140.00022.08
8.2.150.0080.00024.18
8.2.140.0040.00424.66
8.2.130.0000.00826.16
8.2.120.0080.00020.75
8.2.110.0000.01022.11
8.2.100.0060.00617.72
8.2.90.0030.00519.23
8.2.80.0050.00319.26
8.2.70.0030.00517.50
8.2.60.0040.00417.93
8.2.50.0060.00318.07
8.2.40.0070.00318.16
8.2.30.0040.00419.33
8.2.20.0040.00417.50
8.2.10.0000.00817.72
8.2.00.0070.00017.73
8.1.280.0120.00625.92
8.1.270.0050.00323.99
8.1.260.0030.00626.35
8.1.250.0040.00428.09
8.1.240.0000.00923.90
8.1.230.0090.00320.86
8.1.220.0000.00717.74
8.1.210.0090.00018.77
8.1.200.0000.00917.36
8.1.190.0080.00017.40
8.1.180.0030.00618.10
8.1.170.0040.00418.66
8.1.160.0040.00418.86
8.1.150.0070.00018.60
8.1.140.0040.00417.25
8.1.130.0040.00417.76
8.1.120.0070.00017.41
8.1.110.0070.00017.39
8.1.100.0070.00017.23
8.1.90.0040.00417.35
8.1.80.0040.00417.40
8.1.70.0040.00417.33
8.1.60.0040.00417.51
8.1.50.0000.00717.33
8.1.40.0030.00517.49
8.1.30.0040.00417.59
8.1.20.0000.00917.55
8.1.10.0040.00417.45
8.1.00.0050.00517.43
8.0.300.0040.00418.77
8.0.290.0030.00317.05
8.0.280.0030.00318.33
8.0.270.0030.00317.24
8.0.260.0030.00316.87
8.0.250.0040.00417.02
8.0.240.0030.00617.01
8.0.230.0000.00717.02
8.0.220.0040.00416.82
8.0.210.0070.00016.84
8.0.200.0000.00617.04
8.0.190.0040.00417.05
8.0.180.0040.00316.92
8.0.170.0050.00316.86
8.0.160.0000.00716.83
8.0.150.0040.00416.91
8.0.140.0000.00716.75
8.0.130.0030.00313.35
8.0.120.0000.00716.79
8.0.110.0040.00416.96
8.0.100.0040.00416.90
8.0.90.0050.00316.77
8.0.80.0070.01116.97
8.0.70.0040.00416.84
8.0.60.0000.00716.81
8.0.50.0040.00416.96
8.0.30.0090.01517.04
8.0.20.0130.00717.40
8.0.10.0000.00716.95
8.0.00.0100.00816.76
7.4.330.0000.00415.01
7.4.320.0000.00716.49
7.4.300.0030.00316.57
7.4.290.0000.00716.42
7.4.280.0070.00016.42
7.4.270.0030.00316.38
7.4.260.0000.00513.24
7.4.250.0000.00716.49
7.4.240.0020.00516.54
7.4.230.0000.00716.27
7.4.220.0070.01916.45
7.4.210.0090.00716.49
7.4.200.0080.00016.32
7.4.190.0000.00616.61
7.4.160.0060.01016.50
7.4.150.0110.00717.40
7.4.140.0120.00617.86
7.4.130.0280.00816.54
7.4.120.0060.01116.43
7.4.110.0070.01016.56
7.4.100.0090.01216.48
7.4.90.0130.00716.63
7.4.80.0120.00419.39
7.4.70.0100.00716.22
7.4.60.0070.01016.41
7.4.50.0090.00016.31
7.4.40.0070.00722.77
7.4.30.0030.01316.41
7.4.10.0040.01515.04
7.4.00.0060.01314.80
7.3.330.0000.00513.20
7.3.320.0060.00012.97
7.3.310.0040.00416.30
7.3.300.0040.00416.28
7.3.290.0060.00916.27
7.3.280.0110.00716.28
7.3.270.0060.01717.40
7.3.260.0230.00016.55
7.3.250.0060.01316.25
7.3.240.0130.00316.50
7.3.230.0080.00916.39
7.3.210.0120.00416.13
7.3.200.0140.00719.39
7.3.190.0000.01716.46
7.3.180.0120.00616.39
7.3.170.0090.00616.27
7.3.160.0070.01116.45
7.3.130.0070.01114.74
7.3.120.0120.00614.79
7.3.110.0100.01014.81
7.3.100.0090.00614.86
7.3.90.0000.01414.77
7.3.80.0130.00014.68
7.3.70.0070.00314.69
7.3.60.0060.00614.81
7.3.50.0060.00914.51
7.3.40.0090.00614.67
7.3.30.0060.00614.68
7.3.20.0080.00816.65
7.3.10.0000.01016.66
7.3.00.0070.01116.72
7.2.330.0040.01416.25
7.2.320.0170.00016.54
7.2.310.0060.01116.27
7.2.300.0060.01016.20
7.2.290.0100.00716.29
7.2.260.0070.01114.75
7.2.250.0060.01214.46
7.2.240.0060.00614.76
7.2.230.0130.00314.56
7.2.220.0030.00714.68
7.2.210.0050.00514.91
7.2.200.0040.01114.63
7.2.190.0100.00314.45
7.2.180.0060.00914.48
7.2.170.0090.00914.83
7.2.160.0000.01714.33
7.2.150.0160.00016.74
7.2.140.0080.00816.58
7.2.130.0070.00716.56
7.2.120.0150.00016.75
7.2.110.0060.00916.66
7.2.100.0070.00716.68
7.2.90.0040.01116.59
7.2.80.0030.00716.56
7.2.70.0030.01016.75
7.2.60.0030.01316.90
7.2.50.0060.00916.41
7.2.40.0070.01016.61
7.2.30.0030.00916.82
7.2.20.0040.01116.71
7.2.10.0040.01216.77
7.2.00.0070.01416.43
7.1.330.0070.00715.54
7.1.320.0000.01315.23
7.1.310.0070.00715.68
7.1.300.0000.01015.41
7.1.290.0070.01015.35
7.1.280.0040.00815.39
7.1.270.0090.00415.34
7.1.260.0030.01415.49
7.1.250.0070.00715.32
7.1.240.0100.00315.32
7.1.230.0040.00915.68
7.1.220.0110.00415.36
7.1.210.0080.00815.49
7.1.200.0030.01015.70
7.1.190.0040.01215.58
7.1.180.0060.00915.62
7.1.170.0090.00615.33
7.1.160.0040.00715.50
7.1.150.0030.00615.49
7.1.140.0030.01015.47
7.1.130.0060.00615.64
7.1.120.0000.01715.63
7.1.110.0100.00615.49
7.1.100.0030.00715.41
7.1.90.0000.01215.29
7.1.80.0110.00415.26
7.1.70.0030.01215.43
7.1.60.0040.00415.49
7.1.50.0030.00815.28
7.1.40.0030.00815.46
7.1.30.0120.00315.32
7.1.20.0040.00815.42
7.1.10.0060.00315.38
7.1.00.0040.00815.33
7.0.330.0060.00315.39
7.0.320.0030.01115.06
7.0.310.0090.00815.02
7.0.300.0000.01015.20
7.0.290.0100.00315.14
7.0.280.0090.00615.22
7.0.270.0060.00915.12
7.0.260.0060.00915.25
7.0.250.0070.00415.29
7.0.240.0110.00315.08
7.0.230.0000.01015.07
7.0.220.0030.00615.34
7.0.210.0090.00014.91
7.0.200.0030.00914.95
7.0.190.0060.00315.32
7.0.180.0060.00615.20
7.0.170.0070.01015.33
7.0.160.0000.01515.10
7.0.150.0080.00015.27
7.0.140.0080.00615.36
7.0.130.0070.00415.29
7.0.120.0030.01015.30
7.0.110.0000.01314.95
7.0.100.0040.00414.95
7.0.90.0100.00015.40
7.0.80.0060.00615.17
7.0.70.0060.00314.82
7.0.60.0040.00715.17
7.0.50.0030.00615.14
7.0.40.0100.00313.32
7.0.30.0030.01013.09
7.0.20.0030.01013.28
7.0.10.0090.00613.05
7.0.00.0060.00613.32
5.6.400.0100.00314.18
5.6.390.0070.00714.22
5.6.380.0060.00314.04
5.6.370.0000.01314.22
5.6.360.0040.00814.04
5.6.350.0050.00513.75
5.6.340.0070.00414.21
5.6.330.0060.00913.93
5.6.320.0030.00714.12
5.6.310.0040.00714.23
5.6.300.0000.01213.88
5.6.290.0090.00314.06
5.6.280.0040.00414.18
5.6.270.0130.00313.73
5.6.260.0040.00413.85
5.6.250.0000.01114.14
5.6.240.0030.00914.07
5.6.230.0040.01113.90
5.6.220.0070.00714.03
5.6.210.0040.00813.89
5.6.200.0040.01114.04
5.6.190.0000.01414.16
5.6.180.0000.01314.02
5.6.170.0000.01413.77
5.6.160.0100.00314.05
5.6.150.0130.00314.03
5.6.140.0000.00913.94
5.6.130.0000.01214.19
5.6.120.0070.00714.14
5.6.110.0090.00614.02
5.6.100.0070.00713.93
5.6.90.0000.01513.98
5.6.80.0030.01013.69
5.6.70.0090.00613.95
5.6.60.0030.01014.02
5.6.50.0000.01213.98
5.6.40.0040.01113.93
5.6.30.0150.00313.89
5.6.20.0000.01014.07
5.6.10.0090.00613.89
5.6.00.0080.00313.71
5.5.380.0040.00814.08
5.5.370.0000.01213.86
5.5.360.0060.00313.84
5.5.350.0070.00413.95
5.5.340.0090.00614.01
5.5.330.0040.01113.94
5.5.320.0040.00813.95
5.5.310.0140.00014.03
5.5.300.0000.01113.72
5.5.290.0000.01013.96
5.5.280.0030.00614.14
5.5.270.0090.00613.93
5.5.260.0060.00713.96
5.5.250.0090.00613.96
5.5.240.0130.00313.65
5.5.230.0070.00713.98
5.5.220.0000.01514.04
5.5.210.0070.00713.66
5.5.200.0060.00913.77
5.5.190.0030.00614.08
5.5.180.0100.00314.05
5.5.170.0030.01313.77
5.5.160.0070.00413.80
5.5.150.0060.00313.95
5.5.140.0070.00714.17
5.5.130.0040.01213.95
5.5.120.0130.00014.20
5.5.110.0090.00613.60
5.5.100.0040.01113.91
5.5.90.0070.00413.84
5.5.80.0030.01213.90
5.5.70.0090.00614.05
5.5.60.0080.00613.96
5.5.50.0030.00913.59
5.5.40.0030.01013.83
5.5.30.0000.01313.91
5.5.20.0150.00014.12
5.5.10.0050.00313.89
5.5.00.0110.00413.81
5.4.450.0050.00512.72
5.4.440.0040.00812.72
5.4.430.0030.01012.72
5.4.420.0080.00312.72
5.4.410.0080.00412.72
5.4.400.0070.00712.72
5.4.390.0030.01012.72
5.4.380.0080.00312.72
5.4.370.0040.00712.72
5.4.360.0100.00712.72
5.4.350.0000.01612.72
5.4.340.0100.00012.72
5.4.330.0090.00312.72
5.4.320.0000.00612.72
5.4.310.0040.00812.72
5.4.300.0060.00612.72
5.4.290.0040.00812.72
5.4.280.0020.00512.72
5.4.270.0000.00612.72
5.4.260.0030.01012.72
5.4.250.0060.00312.72
5.4.240.0070.02112.54
5.4.230.0090.03112.47
5.4.220.0110.02712.46
5.4.210.0130.03612.46
5.4.200.0070.03212.46
5.4.190.0080.03112.46
5.4.180.0070.03012.46
5.4.170.0110.03512.47
5.4.160.0120.02612.46
5.4.150.0100.02812.46
5.4.140.0090.03012.25
5.4.130.0090.02712.24
5.4.120.0080.02912.22
5.4.110.0060.03112.22
5.4.100.0080.02912.21
5.4.90.0130.03512.22
5.4.80.0100.03212.21
5.4.70.0080.03212.21
5.4.60.0100.03612.21
5.4.50.0070.03012.21
5.4.40.0100.02612.21
5.4.30.0070.02912.20
5.4.20.0100.03912.20
5.4.10.0100.02612.20
5.4.00.0080.02911.86
5.3.290.0030.00812.72
5.3.280.0120.02812.71
5.3.270.0060.03212.72
5.3.260.0090.03512.72
5.3.250.0090.02912.72
5.3.240.0090.02812.72
5.3.230.0110.03712.71
5.3.220.0080.03112.69
5.3.210.0110.02812.69
5.3.200.0080.03112.69
5.3.190.0060.03312.69
5.3.180.0090.03012.69
5.3.170.0120.03612.69
5.3.160.0090.03112.69
5.3.150.0090.02912.69
5.3.140.0090.02912.68
5.3.130.0070.03012.68
5.3.120.0090.03112.68
5.3.110.0100.02912.68
5.3.100.0070.03112.32
5.3.90.0080.02912.29
5.3.80.0120.02612.29
5.3.70.0080.03012.29
5.3.60.0080.02912.28
5.3.50.0100.02812.24
5.3.40.0090.02712.24
5.3.30.0150.04212.20
5.3.20.0070.02912.05
5.3.10.0100.02712.03
5.3.00.0050.03112.02

preferences:
37.88 ms | 401 KiB | 5 Q