3v4l.org

run code in 300+ PHP versions simultaneously
<?php $var = 'PHP Tutorial'; ?> <!DOCTYPE html> <html> <head> <meta http-equiv="content-type" content="text/html" charset="utf-8">; </head> <body> <h3><?php echo $var; ?></h3> <p>PHP, an acronym for Hypertext Preprocessor, is a widely-used open source general-purpose scripting language. It is a cross-platform, HTML embedded server-side scripting language and is especially suited for web development.</p> <p><a href="http://www.w3resource.com/php/php-home.php">Go to the <?php echo $var; ?></a>.</p> </body> </html>

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.0070.00716.50
8.3.50.0140.00322.83
8.3.40.0110.00818.67
8.3.30.0070.00719.08
8.3.20.0040.00420.20
8.3.10.0040.00423.36
8.3.00.0080.00017.50
8.2.180.0220.00018.02
8.2.170.0070.00722.96
8.2.160.0070.00720.44
8.2.150.0000.00824.18
8.2.140.0000.00724.66
8.2.130.0110.00426.16
8.2.120.0060.00321.04
8.2.110.0060.00321.07
8.2.100.0000.01117.91
8.2.90.0080.00018.98
8.2.80.0030.00517.97
8.2.70.0050.00317.50
8.2.60.0040.00417.91
8.2.50.0080.00018.10
8.2.40.0040.00419.88
8.2.30.0080.00318.05
8.2.20.0080.00017.71
8.2.10.0040.00418.04
8.2.00.0050.00217.65
8.1.280.0130.00325.92
8.1.270.0070.00723.92
8.1.260.0050.00326.35
8.1.250.0040.00428.09
8.1.240.0070.01023.77
8.1.230.0040.00817.70
8.1.220.0040.00417.74
8.1.210.0040.00418.77
8.1.200.0060.00317.35
8.1.190.0030.00517.11
8.1.180.0070.00018.10
8.1.170.0060.00318.59
8.1.160.0050.00321.96
8.1.150.0040.00418.82
8.1.140.0040.00417.31
8.1.130.0030.00317.70
8.1.120.0070.00017.42
8.1.110.0040.00417.41
8.1.100.0080.00017.44
8.1.90.0000.00817.28
8.1.80.0000.00717.41
8.1.70.0040.00417.37
8.1.60.0000.00817.54
8.1.50.0030.00517.42
8.1.40.0000.00817.45
8.1.30.0080.00017.61
8.1.20.0050.00217.47
8.1.10.0050.00217.50
8.1.00.0030.00617.47
8.0.300.0030.00618.77
8.0.290.0000.00816.63
8.0.280.0070.00018.33
8.0.270.0050.00217.12
8.0.260.0030.00317.27
8.0.250.0070.00016.98
8.0.240.0060.00316.86
8.0.230.0040.00416.77
8.0.220.0030.00316.75
8.0.210.0040.00416.76
8.0.200.0030.00316.78
8.0.190.0000.00816.85
8.0.180.0000.00716.88
8.0.170.0040.00416.73
8.0.160.0080.00016.83
8.0.150.0030.00416.72
8.0.140.0050.00516.74
8.0.130.0060.00013.23
8.0.120.0040.00416.75
8.0.110.0080.00016.78
8.0.100.0040.00416.86
8.0.90.0030.00316.63
8.0.80.0030.01416.74
8.0.70.0070.00016.77
8.0.60.0050.00216.89
8.0.50.0070.00016.86
8.0.30.0080.01117.14
8.0.20.0140.00717.40
8.0.10.0050.00316.98
8.0.00.0130.00816.83
7.4.330.0020.00215.02
7.4.320.0060.00016.43
7.4.300.0040.00416.45
7.4.290.0040.00416.57
7.4.280.0000.01016.49
7.4.270.0000.00716.48
7.4.260.0030.00316.39
7.4.250.0000.00916.38
7.4.240.0050.00216.39
7.4.230.0030.00316.19
7.4.220.0140.00416.39
7.4.210.0070.00716.44
7.4.200.0000.00716.49
7.4.160.0130.01016.24
7.4.150.0060.01217.40
7.4.140.0160.00217.86
7.4.130.0070.01016.44
7.4.120.0150.00716.54
7.4.110.0080.00816.32
7.4.100.0090.00616.61
7.4.90.0060.01116.32
7.4.80.0030.01619.39
7.4.70.0080.00816.42
7.4.60.0060.01016.32
7.4.50.0090.00016.50
7.4.40.0030.01316.47
7.4.30.0070.01016.38
7.4.00.0030.01015.13
7.3.330.0050.00013.07
7.3.320.0030.00312.91
7.3.310.0030.00316.27
7.3.300.0000.00716.23
7.3.290.0070.00716.24
7.3.280.0110.00416.17
7.3.270.0090.00917.40
7.3.260.0100.00716.29
7.3.250.0110.00716.34
7.3.240.0030.01516.49
7.3.230.0130.00316.54
7.3.210.0050.01116.42
7.3.200.0130.00419.39
7.3.190.0130.00316.17
7.3.180.0030.01216.46
7.3.170.0150.00616.39
7.3.160.0070.00916.25
7.3.10.0070.00716.76
7.3.00.0110.00416.48
7.2.330.0070.01216.41
7.2.320.0080.00816.31
7.2.310.0070.01116.31
7.2.300.0140.00316.49
7.2.290.0080.00816.34
7.2.130.0050.00816.81
7.2.120.0030.00816.81
7.2.110.0070.00716.56
7.2.100.0030.01216.70
7.2.90.0060.00716.84
7.2.80.0050.00916.54
7.2.70.0070.00916.62
7.2.60.0090.00316.71
7.2.50.0080.00816.67
7.2.40.0110.00416.70
7.2.30.0070.00516.70
7.2.20.0070.00716.89
7.2.10.0070.00916.80
7.2.00.0050.00917.58
7.1.250.0020.01315.49
7.1.240.0120.00615.73
7.1.230.0070.00415.86
7.1.220.0080.00315.64
7.1.210.0040.00415.81
7.1.200.0050.00515.85
7.1.190.0030.00915.56
7.1.180.0110.00015.50
7.1.170.0040.00415.61
7.1.160.0030.01015.80
7.1.150.0000.01115.63
7.1.140.0040.01115.70
7.1.130.0030.00715.69
7.1.120.0090.00015.67
7.1.110.0040.01115.33
7.1.100.0000.01116.79
7.1.90.0000.01015.84
7.1.80.0070.00415.55
7.1.70.0070.00816.26
7.1.60.0180.00217.46
7.1.50.0070.00916.23
7.1.40.0000.01515.64
7.1.30.0100.00615.66
7.1.20.0070.00715.50
7.1.10.0080.00415.61
7.1.00.0020.04318.99
7.0.330.0050.00315.30
7.0.320.0090.00315.28
7.0.310.0080.00015.12
7.0.300.0090.00015.43
7.0.290.0060.00315.46
7.0.280.0040.00415.04
7.0.270.0070.00715.27
7.0.260.0030.00515.34
7.0.250.0040.00415.43
7.0.240.0070.00315.31
7.0.230.0070.00315.40
7.0.220.0110.00315.56
7.0.210.0030.00615.27
7.0.200.0020.00715.98
7.0.190.0040.00715.47
7.0.180.0030.00715.09
7.0.170.0030.00815.25
7.0.160.0090.00615.12
7.0.150.0030.00615.05
7.0.140.0070.03818.61
7.0.130.0090.00015.53
7.0.120.0070.00715.41
7.0.110.0080.00615.38
7.0.100.0030.00615.38
7.0.90.0060.00915.48
7.0.80.0070.00715.26
7.0.70.0070.00715.19
7.0.60.0050.04417.75
7.0.50.0040.04216.71
7.0.40.0120.04216.64
7.0.30.0090.02816.91
7.0.20.0170.03716.82
7.0.10.0110.02016.89
7.0.00.0060.02316.86
5.6.380.0030.00714.29
5.6.370.0090.00314.48
5.6.360.0060.00914.22
5.6.350.0100.00014.43
5.6.340.0030.01014.31
5.6.330.0030.01314.34
5.6.320.0040.00714.40
5.6.310.0030.01014.23
5.6.300.0060.00314.12
5.6.290.0080.00414.30
5.6.280.0050.03817.71
5.6.270.0070.00414.39
5.6.260.0030.01414.49
5.6.250.0040.00714.41
5.6.240.0070.00314.36
5.6.230.0030.00814.34
5.6.220.0030.01314.16
5.6.210.0030.04717.35
5.6.200.0050.04716.15
5.6.190.0030.02817.29
5.6.180.0170.03217.23
5.6.170.0200.04017.37
5.6.160.0050.04617.43
5.6.150.0050.02316.19
5.6.140.0100.02016.15
5.6.130.0070.04216.23
5.6.120.0050.02817.66
5.6.110.0090.04417.59
5.6.100.0100.04517.56
5.6.90.0030.02517.61
5.6.80.0070.04317.30
5.6.70.0060.00614.14
5.6.60.0080.00314.32
5.6.50.0030.00714.29
5.6.40.0040.00714.27
5.6.30.0070.00314.21
5.6.20.0060.00314.10
5.6.10.0100.00313.79
5.6.00.0000.01214.05
5.5.380.0030.00911.60
5.5.370.0060.00311.60
5.5.360.0030.00911.60
5.5.350.0110.04216.03
5.5.340.0030.02214.81
5.5.330.0050.02415.86
5.5.320.0260.03315.97
5.5.310.0210.03015.91
5.5.300.0070.04314.77
5.5.290.0070.02514.80
5.5.280.0060.04316.20
5.5.270.0070.02316.22
5.5.260.0100.04116.23
5.5.250.0070.02716.03
5.5.240.0200.03415.88
5.5.230.0040.00311.60
5.5.220.0030.00611.60
5.5.210.0120.00011.60
5.5.200.0060.00611.60
5.5.190.0100.00311.60
5.5.180.0100.00311.60
5.5.170.0040.00411.60
5.5.160.0060.00311.60
5.5.150.0070.00311.60
5.5.140.0060.00611.60
5.5.130.0060.00011.60
5.5.120.0030.00611.60
5.5.110.0030.00911.60
5.5.100.0090.00011.60
5.5.90.0000.00811.60
5.5.80.0090.00011.60
5.5.70.0000.00711.60
5.5.60.0030.00711.60
5.5.50.0080.00311.60
5.5.40.0030.00711.60
5.5.30.0000.01111.60
5.5.20.0080.00011.60
5.5.10.0000.00611.60
5.5.00.0110.00011.60
5.4.450.0210.02015.57
5.4.440.0130.02515.43
5.4.430.0150.02415.57
5.4.420.0220.02315.51
5.4.410.0130.02315.52
5.4.400.0100.02515.41
5.4.390.0220.02315.41
5.4.380.0410.02815.14
5.4.370.0560.03015.18
5.4.360.0550.03415.16
5.4.350.0430.03115.14
5.4.340.0470.03315.08
5.4.330.0060.00311.60
5.4.320.0040.02112.03
5.4.310.0080.01912.02
5.4.300.0060.02512.03
5.4.290.0070.02212.03
5.4.280.0060.02011.97
5.4.270.0050.01811.97
5.4.260.0050.02511.97
5.4.250.0030.02511.97
5.4.240.0020.02211.97
5.4.230.0070.02511.97
5.4.220.0060.01911.97
5.4.210.0070.02111.97
5.4.200.0040.02311.97
5.4.190.0060.02411.97
5.4.180.0040.02611.97
5.4.170.0040.02311.97
5.4.160.0070.01911.97
5.4.150.0100.02211.97
5.4.140.0050.02211.81
5.4.130.0050.02111.80
5.4.120.0070.02111.79
5.4.110.0110.02111.78
5.4.100.0080.02011.78
5.4.90.0050.02511.78
5.4.80.0020.02911.79
5.4.70.0050.02511.78
5.4.60.0080.02111.78
5.4.50.0050.02411.78
5.4.40.0060.02711.78
5.4.30.0040.02211.78
5.4.20.0060.02511.77
5.4.10.0060.02611.77
5.4.00.0080.02011.52
5.3.290.0080.02312.20
5.3.280.0030.02112.15
5.3.270.0040.02412.16
5.3.260.0020.02812.16
5.3.250.0070.02312.16
5.3.240.0050.02212.16
5.3.230.0100.02212.15
5.3.220.0060.02412.14
5.3.210.0090.02112.14
5.3.200.0090.02112.14
5.3.190.0030.02512.14
5.3.180.0080.02212.14
5.3.170.0070.02012.13
5.3.160.0070.01812.14
5.3.150.0040.02112.14
5.3.140.0040.02312.13
5.3.130.0040.02212.13
5.3.120.0060.02212.13
5.3.110.0030.02612.13
5.3.100.0060.02311.86
5.3.90.0020.02411.84
5.3.80.0040.02011.84
5.3.70.0060.02111.84
5.3.60.0060.02511.83
5.3.50.0100.02511.80
5.3.40.0020.02511.80
5.3.30.0060.02011.77
5.3.20.0040.02311.66
5.3.10.0080.02011.65
5.3.00.0070.02411.64
5.2.170.0020.01910.39
5.2.160.0030.01810.38
5.2.150.0050.02310.39
5.2.140.0050.01810.39
5.2.130.0080.01610.37
5.2.120.0060.01410.37
5.2.110.0050.01910.37
5.2.100.0040.01810.37
5.2.90.0060.01410.37
5.2.80.0040.01810.37
5.2.70.0070.01410.37
5.2.60.0020.02210.34
5.2.50.0040.01510.33
5.2.40.0060.02210.32
5.2.30.0050.01710.30
5.2.20.0050.01610.30
5.2.10.0040.01610.26
5.2.00.0040.01710.19
5.1.60.0020.0169.83
5.1.50.0020.0169.83
5.1.40.0060.0129.82
5.1.30.0040.01410.00
5.1.20.0040.01510.01
5.1.10.0030.0169.87
5.1.00.0030.0169.87
5.0.50.0050.0099.11
5.0.40.0030.0129.04
5.0.30.0010.0198.94
5.0.20.0060.0128.93
5.0.10.0020.0148.92
5.0.00.0030.0198.92
4.4.90.0020.0118.19
4.4.80.0020.0098.18
4.4.70.0040.0098.18
4.4.60.0020.0098.18
4.4.50.0020.0098.19
4.4.40.0020.0138.15
4.4.30.0040.0088.18
4.4.20.0040.0108.22
4.4.10.0040.0118.22
4.4.00.0020.0158.18
4.3.110.0010.0158.14
4.3.100.0030.0118.13
4.3.90.0020.0098.12
4.3.80.0010.0158.09
4.3.70.0020.0088.12
4.3.60.0020.0098.12
4.3.50.0010.0118.11
4.3.40.0030.0158.07
4.3.30.0020.0107.44
4.3.20.0000.0117.43
4.3.10.0030.0137.41
4.3.00.0100.00612.51

preferences:
60.12 ms | 401 KiB | 5 Q