3v4l.org

run code in 300+ PHP versions simultaneously
<!DOC<?php $var = 'PHP Tutorial'; ?> <!DOCTYPE html> <html> <head> <meta http-equiv="content-type" content="text/html; charset=utf-8"> <title><?php echo $var; ?> - W3resource!</title> </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> - See more at: http://www.w3resource.com/php-exercises/php-basic-exercises.php#EDITOR

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.0110.00418.30
8.3.50.0170.00421.92
8.3.40.0140.00418.67
8.3.30.0110.00718.92
8.3.20.0040.00420.32
8.3.10.0080.00023.44
8.3.00.0060.00617.91
8.2.180.0040.01116.63
8.2.170.0140.00022.96
8.2.160.0070.00720.39
8.2.150.0040.00424.18
8.2.140.0080.00024.66
8.2.130.0070.00026.16
8.2.120.0080.00019.23
8.2.110.0060.00320.92
8.2.100.0070.00418.16
8.2.90.0000.00919.14
8.2.80.0040.00417.97
8.2.70.0080.00017.63
8.2.60.0050.00517.80
8.2.50.0000.00818.07
8.2.40.0040.00418.28
8.2.30.0000.00718.33
8.2.20.0050.00217.57
8.2.10.0000.00818.21
8.2.00.0080.00019.34
8.1.280.0080.00825.92
8.1.270.0050.00323.79
8.1.260.0040.00426.35
8.1.250.0040.00428.09
8.1.240.0060.00321.19
8.1.230.0060.00617.76
8.1.220.0040.00417.74
8.1.210.0040.00418.77
8.1.200.0060.00317.35
8.1.190.0000.00917.10
8.1.180.0080.00018.10
8.1.170.0070.00318.49
8.1.160.0050.00321.84
8.1.150.0050.00218.45
8.1.140.0070.00017.41
8.1.130.0000.00717.69
8.1.120.0040.00417.35
8.1.110.0030.00517.39
8.1.100.0070.00017.25
8.1.90.0000.00717.43
8.1.80.0000.00817.40
8.1.70.0000.00717.29
8.1.60.0040.00417.55
8.1.50.0040.00417.49
8.1.40.0000.00917.47
8.1.30.0000.00817.53
8.1.20.0080.00017.57
8.1.10.0040.00417.46
8.1.00.0030.00617.51
8.0.300.0070.00018.77
8.0.290.0000.00716.88
8.0.280.0000.00718.52
8.0.270.0040.00417.24
8.0.260.0030.00317.13
8.0.250.0000.00716.98
8.0.240.0000.00716.96
8.0.230.0070.00016.75
8.0.220.0040.00416.89
8.0.210.0030.00316.86
8.0.200.0040.00416.90
8.0.190.0050.00216.90
8.0.180.0030.00316.84
8.0.170.0030.00616.91
8.0.160.0000.00716.86
8.0.150.0030.00416.75
8.0.140.0040.00316.79
8.0.130.0000.00613.29
8.0.120.0030.00516.85
8.0.110.0020.00516.79
8.0.100.0040.00416.86
8.0.90.0040.00416.83
8.0.80.0060.00916.75
8.0.70.0040.00416.83
8.0.60.0040.00416.82
8.0.50.0040.00416.82
8.0.30.0140.00817.23
8.0.20.0120.00917.40
8.0.10.0040.00416.87
8.0.00.0130.00516.88
7.4.330.0050.00015.08
7.4.320.0030.00316.54
7.4.300.0070.00016.46
7.4.290.0000.00716.60
7.4.280.0040.00416.55
7.4.270.0050.00316.50
7.4.260.0080.00416.54
7.4.250.0070.00016.34
7.4.240.0040.00316.53
7.4.230.0030.00316.55
7.4.220.0100.00716.57
7.4.210.0060.00916.36
7.4.200.0040.00416.66
7.4.160.0050.01116.45
7.4.150.0100.01017.40
7.4.140.0120.00917.86
7.4.130.0100.00916.64
7.4.120.0060.01116.50
7.4.110.0000.01716.43
7.4.100.0100.00716.52
7.4.90.0030.01416.35
7.4.80.0060.01219.39
7.4.70.0110.00516.48
7.4.60.0160.00016.45
7.4.50.0040.00416.28
7.4.40.0160.00016.61
7.4.30.0070.01116.44
7.4.00.0090.00314.92
7.3.330.0030.00313.11
7.3.320.0000.00513.19
7.3.310.0000.00716.14
7.3.300.0040.00416.21
7.3.290.0110.00316.25
7.3.280.0020.01616.20
7.3.270.0060.01417.40
7.3.260.0140.00616.55
7.3.250.0130.00716.41
7.3.240.0140.00316.32
7.3.230.0130.00316.43
7.3.210.0140.00716.57
7.3.200.0120.00619.39
7.3.190.0050.01516.47
7.3.180.0090.00616.22
7.3.170.0060.01016.28
7.3.160.0150.00616.48
7.3.120.0120.00614.79
7.2.330.0080.00816.62
7.2.320.0070.01116.27
7.2.310.0120.00616.57
7.2.300.0040.01216.69
7.2.290.0060.01116.53
7.2.60.0040.01116.64
7.2.00.0060.00619.27
7.1.200.0000.01115.50
7.1.100.0000.01117.79
7.1.70.0240.00016.57
7.1.60.0070.01719.70
7.1.50.0070.01716.93
7.1.00.0030.07722.36
7.0.200.0110.00416.86
7.0.140.0000.07722.10
7.0.60.0000.04320.02
7.0.50.0100.06317.91
7.0.40.0030.07320.13
7.0.30.0230.04020.20
7.0.20.0170.08720.00
7.0.10.0200.08720.09
7.0.00.0200.06320.11
5.6.280.0070.07020.90
5.6.210.0100.07720.55
5.6.200.0070.04018.16
5.6.190.0100.05020.33
5.6.180.0100.07320.35
5.6.170.0270.04020.50
5.6.160.0070.05320.40
5.6.150.0000.05718.21
5.6.140.0030.04018.11
5.6.130.0070.07018.20
5.6.120.0070.08321.09
5.6.110.0030.05721.00
5.6.100.0030.08320.97
5.6.90.0170.06321.12
5.6.80.0000.04720.48
5.6.70.4070.03720.49
5.5.350.0130.07720.46
5.5.340.0070.03717.91
5.5.330.0030.04320.06
5.5.320.0270.08020.15
5.5.310.0330.06020.21
5.5.300.0100.06018.00
5.5.290.0070.08317.91
5.5.280.0030.05720.79
5.5.270.0000.06320.86
5.5.260.0070.07320.86
5.5.250.0030.04020.54
5.5.240.0030.08020.25
5.4.450.0270.04743.77
5.4.440.0500.05043.73
5.4.430.0330.03337.16
5.4.420.0100.05033.66
5.4.410.0200.04033.63
5.4.400.0370.03733.62
5.4.390.0400.04033.61
5.4.380.0170.05318.58
5.4.370.0100.05718.58
5.4.360.0230.05718.57
5.4.350.0030.06318.66
5.4.340.0170.05018.61
5.4.320.0060.03812.45
5.4.310.0050.04112.45
5.4.300.0040.03812.45
5.4.290.0060.04012.45
5.4.280.0050.03812.35
5.4.270.0060.03812.35
5.4.260.0050.03912.35
5.4.250.0080.03612.35
5.4.240.0070.03612.35
5.4.230.0050.04412.34
5.4.220.0050.03712.34
5.4.210.0100.03612.34
5.4.200.0060.03712.34
5.4.190.0060.04812.33
5.4.180.0080.03712.34
5.4.170.0050.03712.35
5.4.160.0090.03312.34
5.4.150.0060.03612.34
5.4.140.0090.04012.02
5.4.130.0100.03212.01
5.4.120.0040.03611.96
5.4.110.0040.03811.96
5.4.100.0080.03311.96
5.4.90.0060.03711.96
5.4.80.0060.03611.96
5.4.70.0050.03511.96
5.4.60.0070.03311.96
5.4.50.0050.03611.96
5.4.40.0050.03511.95
5.4.30.0070.03411.94
5.4.20.0050.03511.95
5.4.10.0030.03711.94
5.4.00.0040.03811.44
5.3.290.0060.04112.80
5.3.280.0110.03212.71
5.3.270.0060.03912.72
5.3.260.0100.03812.72
5.3.250.0080.03412.72
5.3.240.0070.03612.72
5.3.230.0090.03612.71
5.3.220.0050.03812.68
5.3.210.0040.04012.68
5.3.200.0070.03512.68
5.3.190.0110.03312.68
5.3.180.0090.03312.67
5.3.170.0040.03812.67
5.3.160.0070.03612.68
5.3.150.0080.03512.67
5.3.140.0060.03612.66
5.3.130.0080.03612.66
5.3.120.0070.03812.66
5.3.110.0050.03912.66
5.3.100.0090.03512.12
5.3.90.0050.03712.09
5.3.80.0040.03912.08
5.3.70.0060.03612.07
5.3.60.0120.03212.06
5.3.50.0040.03812.00
5.3.40.0110.03212.00
5.3.30.0020.04011.94
5.3.20.0070.03811.72
5.3.10.0080.03111.69
5.3.00.0090.03311.68
5.2.170.0030.0319.18
5.2.160.0060.0279.18
5.2.150.0050.0309.18
5.2.140.0040.0319.17
5.2.130.0060.0279.13
5.2.120.0060.0279.14
5.2.110.0060.0289.14
5.2.100.0080.0259.13
5.2.90.0040.0299.13
5.2.80.0040.0309.13
5.2.70.0020.0329.13
5.2.60.0060.0289.09
5.2.50.0030.0319.06
5.2.40.0060.0279.03
5.2.30.0050.0299.00
5.2.20.0060.0269.00
5.2.10.0070.0268.92
5.2.00.0050.0298.78
5.1.60.0040.0248.06
5.1.50.0140.0158.05
5.1.40.0130.0158.04
5.1.30.0060.0258.39
5.1.20.0050.0268.41
5.1.10.0050.0268.13
5.1.00.0050.0258.14
5.0.50.0040.0206.61
5.0.40.0030.0196.48
5.0.30.0060.0296.29
5.0.20.0030.0206.26
5.0.10.0040.0196.24
5.0.00.0020.0326.23
4.4.90.0020.0194.78
4.4.80.0010.0174.76
4.4.70.0050.0134.75
4.4.60.0040.0164.75
4.4.50.0040.0184.77
4.4.40.0020.0264.71
4.4.30.0030.0154.75
4.4.20.0000.0194.85
4.4.10.0060.0134.85
4.4.00.0010.0314.76
4.3.110.0040.0194.67
4.3.100.0020.0164.67
4.3.90.0010.0214.63
4.3.80.0010.0264.59
4.3.70.0060.0204.63
4.3.60.0040.0194.63
4.3.50.0040.0144.63
4.3.40.0020.0254.54
4.3.30.0020.0163.28
4.3.20.0030.0153.25
4.3.10.0020.0163.22
4.3.00.0000.02033.61

preferences:
40.87 ms | 401 KiB | 5 Q