3v4l.org

run code in 300+ PHP versions simultaneously
<?php<!DOCTYPE html> <html> <head> <title></title> <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> </head> <body> <form method='POST'> <h2>Please input your name:</h2> <input type="text" name="name"> <input type="submit" value="Submit Name"> </form> <?php //Retrieve name from query string and store to a local variable $name = $_POST['name']; echo "<h3> Hello $name </h3>"; ?> </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.0100.00716.84
8.3.50.0090.00822.11
8.3.40.0070.00718.80
8.3.30.0070.00719.09
8.3.20.0070.00020.33
8.3.10.0080.00023.54
8.3.00.0080.00019.80
8.2.180.0030.01216.72
8.2.170.0120.00322.96
8.2.160.0070.00720.43
8.2.150.0000.00724.18
8.2.140.0000.00824.66
8.2.130.0040.00426.16
8.2.120.0030.00519.48
8.2.110.0030.00620.99
8.2.100.0050.00517.84
8.2.90.0040.00417.97
8.2.80.0000.00917.97
8.2.70.0070.00317.63
8.2.60.0050.00318.04
8.2.50.0090.00018.07
8.2.40.0080.00018.28
8.2.30.0050.00218.26
8.2.20.0000.00717.70
8.2.10.0050.00218.13
8.2.00.0040.00417.73
8.1.280.0120.00625.92
8.1.270.0080.00023.82
8.1.260.0040.00426.35
8.1.250.0000.00728.09
8.1.240.0030.00722.71
8.1.230.0110.00020.94
8.1.220.0040.00417.78
8.1.210.0090.00018.91
8.1.200.0080.00417.47
8.1.190.0050.00317.35
8.1.180.0050.00318.10
8.1.170.0000.00818.46
8.1.160.0000.00721.94
8.1.150.0000.00818.51
8.1.140.0000.00717.35
8.1.130.0030.00517.68
8.1.120.0000.00717.37
8.1.110.0000.00917.43
8.1.100.0080.00017.43
8.1.90.0000.00817.44
8.1.80.0040.00417.37
8.1.70.0030.00317.42
8.1.60.0090.00317.48
8.1.50.0040.00417.60
8.1.40.0040.00417.51
8.1.30.0030.00617.53
8.1.20.0030.00517.66
8.1.10.0040.00417.57
8.1.00.0000.00817.53
8.0.300.0000.00819.88
8.0.290.0000.00716.63
8.0.280.0000.00718.51
8.0.270.0070.00017.26
8.0.260.0000.00717.29
8.0.250.0000.00717.03
8.0.240.0040.00417.02
8.0.230.0030.00317.04
8.0.220.0000.00716.95
8.0.210.0000.00816.85
8.0.200.0030.00316.88
8.0.190.0030.00316.98
8.0.180.0070.00016.84
8.0.170.0030.00516.95
8.0.160.0000.00716.83
8.0.150.0000.00916.80
8.0.140.0000.01116.90
8.0.130.0030.00313.39
8.0.120.0060.00316.82
8.0.110.0040.00416.88
8.0.100.0040.00416.98
8.0.90.0070.00016.92
8.0.80.0000.01616.94
8.0.70.0000.00816.95
8.0.60.0000.00816.77
8.0.50.0040.00416.87
8.0.30.0140.00917.24
8.0.20.0130.00817.40
8.0.10.0070.00016.88
8.0.00.0110.00716.78
7.4.330.0050.00015.08
7.4.320.0060.00016.59
7.4.300.0060.00016.51
7.4.290.0000.00716.49
7.4.280.0030.00516.42
7.4.270.0000.00716.62
7.4.260.0040.00416.46
7.4.250.0040.00416.48
7.4.240.0050.00216.46
7.4.230.0000.00716.32
7.4.220.0040.01516.64
7.4.210.0120.00316.64
7.4.200.0030.00316.59
7.4.160.0110.01116.44
7.4.150.0090.00917.40
7.4.140.0130.01917.86
7.4.130.0100.00816.55
7.4.120.0100.00816.54
7.4.110.0120.00616.57
7.4.100.0000.01816.57
7.4.90.0030.01316.59
7.4.80.0190.00919.39
7.4.70.0110.01116.49
7.4.60.0100.00716.69
7.4.50.0020.00216.58
7.4.40.0000.01616.48
7.4.30.0120.00316.54
7.3.330.0020.00213.02
7.3.320.0000.00612.97
7.3.310.0060.00016.24
7.3.300.0030.00316.26
7.3.290.0080.00716.19
7.3.280.0100.01016.28
7.3.270.0030.01317.40
7.3.260.0120.00616.30
7.3.250.0130.00816.54
7.3.240.0090.01316.38
7.3.230.0120.00916.48
7.3.210.0090.01216.58
7.3.200.0070.01019.39
7.3.190.0110.00716.45
7.3.180.0130.01016.46
7.3.170.0090.00616.49
7.3.160.0060.01016.50
7.2.330.0110.01116.75
7.2.320.0070.01116.64
7.2.310.0170.00716.66
7.2.300.0120.00416.62
7.2.290.0130.00316.80
5.5.140.0030.00610.67
5.5.130.0070.00310.66
5.5.120.0120.00010.90
5.5.110.0120.00010.69
5.5.100.0030.00510.95
5.5.90.0080.00310.91
5.5.80.0050.00510.91
5.5.70.0080.00310.58
5.5.60.0080.00310.88
5.5.50.0080.00310.68
5.5.40.0050.00310.75
5.5.30.0050.00510.80
5.5.20.0070.00410.77
5.5.10.0030.00510.95
5.5.00.0080.00310.62
5.4.300.0080.00310.82
5.4.290.0040.00810.70
5.4.280.0080.00310.91
5.4.270.0030.00710.57
5.4.260.0030.00610.98
5.4.250.0000.00810.80
5.4.240.0090.00010.61
5.4.230.0000.01110.73
5.4.220.0000.01010.62
5.4.210.0110.00010.55
5.4.200.0030.00710.84
5.4.190.0000.01010.68
5.4.180.0070.00310.83
5.4.170.0030.00710.73
5.4.160.0040.00410.74
5.4.150.0090.00010.52
5.4.140.0100.00010.84
5.4.130.0100.00010.63
5.4.120.0030.00610.57
5.4.110.0050.00310.72
5.4.100.0070.00410.61
5.4.90.0060.00610.61
5.4.80.0030.00810.86
5.4.70.0080.00310.59
5.4.60.0030.00610.83
5.4.50.0050.00510.54
5.4.40.0040.00410.61
5.4.30.0060.00310.89
5.4.20.0000.01010.89
5.4.10.0070.00310.67
5.4.00.0050.00510.73
5.3.280.0030.00610.30
5.3.270.0090.00010.41
5.3.260.0090.00010.25
5.3.250.0000.00910.39
5.3.240.0100.00010.27
5.3.230.0040.00410.18
5.3.220.0060.00610.39
5.3.210.0000.00910.29
5.3.200.0040.00410.34
5.3.190.0070.00310.42
5.3.180.0080.00310.36
5.3.170.0030.00510.38
5.3.160.0000.01010.31
5.3.150.0070.00310.51
5.3.140.0000.00710.50
5.3.130.0040.00410.42
5.3.120.0000.01110.47
5.3.110.0040.00410.45
5.3.100.0060.00310.35
5.3.90.0080.00010.42
5.3.80.0100.00010.13
5.3.70.0040.00410.24
5.3.60.0020.00510.34
5.3.50.0060.00310.30
5.3.40.0050.00310.10
5.3.30.0060.00310.32
5.3.20.0000.01010.23
5.3.10.0040.00410.01
5.3.00.0040.00710.00
5.2.170.0040.0049.20
5.2.160.0080.0009.47
5.2.150.0050.0029.44
5.2.140.0030.0059.44
5.2.130.0040.0049.46
5.2.120.0000.0089.50
5.2.110.0070.0029.46
5.2.100.0040.0049.54
5.2.90.0020.0059.55
5.2.80.0030.0059.19
5.2.70.0020.0059.48
5.2.60.0000.0089.21
5.2.50.0040.0049.25
5.2.40.0040.0049.40
5.2.30.0000.0079.37
5.2.20.0000.0099.30
5.2.10.0080.0008.97
5.2.00.0000.0079.08
5.1.60.0040.0048.84
5.1.50.0040.0048.84
5.1.40.0040.0028.84
5.1.30.0060.0008.84
5.1.20.0070.0008.84
5.1.10.0060.0038.84
5.1.00.0030.0038.84
5.0.50.0030.0038.84
5.0.40.0050.0008.84
5.0.30.0000.0068.84
5.0.20.0030.0038.84
5.0.10.0000.0058.84
5.0.00.0030.0038.84
4.4.90.0030.0038.84
4.4.80.0000.0058.84
4.4.70.0030.0038.84
4.4.60.0000.0068.84
4.4.50.0030.0038.84
4.4.40.0050.0008.84
4.4.30.0040.0048.84
4.4.20.0050.0008.84
4.4.10.0000.0068.84
4.4.00.0050.0008.84
4.3.110.0050.0008.84
4.3.100.0000.0048.84
4.3.90.0040.0028.84
4.3.80.0000.0048.84
4.3.70.0000.0048.84
4.3.60.0040.0008.84
4.3.50.0050.0008.84
4.3.40.0000.0058.84
4.3.30.0000.0048.84
4.3.20.0040.0008.84
4.3.10.0050.0008.84
4.3.00.0000.0048.84

preferences:
46.14 ms | 400 KiB | 5 Q