3v4l.org

run code in 300+ PHP versions simultaneously
<!DOCTYPE html> <html> <body> <form action="" method="post"> Input String: <input type="text" name="name" ><br><br> <input type="submit" value="Submit" name="submit"><br><br> </form> <?php if(isset($_POST['submit'])){ $string = $_POST["name"]; echo "$string"; } ?> </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.0180.00018.18
8.3.50.0000.01516.35
8.3.40.0140.00718.86
8.3.30.0040.01118.71
8.3.20.0080.00020.29
8.3.10.0080.00021.91
8.3.00.0110.00019.68
8.2.180.0180.00316.50
8.2.170.0090.00622.96
8.2.160.0030.01418.95
8.2.150.0000.01024.18
8.2.140.0070.00024.66
8.2.130.0000.00919.32
8.2.120.0040.00426.35
8.2.110.0030.00622.11
8.2.100.0030.00817.84
8.2.90.0050.00219.17
8.2.80.0050.00317.97
8.2.70.0040.00417.63
8.2.60.0040.00418.04
8.2.50.0030.00518.10
8.2.40.0050.00320.24
8.2.30.0030.00521.10
8.2.20.0040.00717.98
8.2.10.0030.00517.99
8.2.00.0000.00717.98
8.1.280.0110.00425.92
8.1.270.0050.00323.95
8.1.260.0040.00426.35
8.1.250.0080.00028.09
8.1.240.0080.00022.76
8.1.230.0000.01117.70
8.1.220.0040.00417.74
8.1.210.0040.00418.77
8.1.200.0070.00417.25
8.1.190.0050.00317.23
8.1.180.0000.00818.10
8.1.170.0030.00618.59
8.1.160.0000.00718.89
8.1.150.0070.00020.54
8.1.140.0000.00719.47
8.1.130.0000.00818.73
8.1.120.0030.00517.39
8.1.110.0050.00317.19
8.1.100.0050.00317.43
8.1.90.0030.00317.30
8.1.80.0040.00417.30
8.1.70.0030.00317.45
8.1.60.0040.00417.51
8.1.50.0000.00817.47
8.1.40.0000.00917.31
8.1.30.0070.00017.65
8.1.20.0000.00817.45
8.1.10.0040.00417.49
8.1.00.0070.00017.44
8.0.300.0070.00018.77
8.0.290.0000.00716.63
8.0.280.0000.00718.46
8.0.270.0000.00717.08
8.0.260.0000.00716.77
8.0.250.0030.00316.86
8.0.240.0040.00416.88
8.0.230.0040.00416.78
8.0.220.0030.00316.81
8.0.210.0000.00716.80
8.0.200.0060.00016.85
8.0.190.0070.00416.79
8.0.180.0000.00716.76
8.0.170.0080.00016.91
8.0.160.0070.00016.82
8.0.150.0040.00416.77
8.0.140.0000.00716.78
8.0.130.0000.00613.35
8.0.120.0040.00416.69
8.0.110.0030.00316.66
8.0.100.0040.00416.65
8.0.90.0000.00716.79
8.0.80.0080.00816.79
8.0.70.0000.00816.82
8.0.60.0040.00416.66
8.0.50.0040.00416.76
8.0.30.0090.01016.86
8.0.20.0130.00917.40
8.0.10.0040.00316.75
8.0.00.0170.00016.48
7.4.330.0030.00315.55
7.4.320.0000.00616.46
7.4.300.0000.00616.44
7.4.290.0070.00016.35
7.4.280.0020.00516.58
7.4.270.0040.00416.45
7.4.260.0070.00016.38
7.4.250.0070.00016.41
7.4.240.0070.00016.39
7.4.230.0000.00816.29
7.4.220.0060.01216.50
7.4.210.0120.00316.34
7.4.200.0070.00016.56
7.4.160.0070.01116.50
7.4.150.0080.01117.40
7.4.140.0120.00617.86
7.4.130.0120.01216.54
7.4.120.0160.00816.48
7.4.110.0090.00916.44
7.4.100.0130.00716.49
7.4.90.0110.00716.32
7.4.80.0050.01419.39
7.4.70.0030.01416.53
7.4.60.0100.00616.32
7.4.50.0030.00716.42
7.4.40.0040.01116.52
7.4.30.0180.00316.40
7.4.00.0050.00814.94
7.3.330.0060.00013.00
7.3.320.0000.00512.94
7.3.310.0000.00716.02
7.3.300.0070.00016.22
7.3.290.0060.01016.21
7.3.280.0070.00916.20
7.3.270.0150.00917.40
7.3.260.0030.01316.35
7.3.250.0130.00816.33
7.3.240.0100.00816.19
7.3.230.0120.00416.24
7.3.210.0060.00916.42
7.3.200.0110.00616.20
7.3.190.0080.00816.19
7.3.180.0200.00016.25
7.3.170.0100.00716.39
7.3.160.0150.00616.42
7.3.120.0090.00914.73
7.3.110.0110.00414.88
7.3.100.0100.00714.49
7.3.90.0090.00714.87
7.3.80.0000.00914.45
7.3.70.0000.00914.58
7.3.60.0070.00714.70
7.3.50.0090.00314.64
7.3.40.0070.00714.52
7.3.30.0070.00714.48
7.3.20.0060.00916.58
7.3.10.0070.00416.64
7.3.00.0090.00316.73
7.2.330.0080.01116.58
7.2.320.0100.00716.63
7.2.310.0060.01016.74
7.2.300.0080.00816.52
7.2.290.0100.01416.23
7.2.250.0130.00614.78
7.2.240.0090.00914.65
7.2.230.0070.00715.12
7.2.220.0000.01214.77
7.2.210.0070.01014.88
7.2.200.0030.01214.73
7.2.190.0060.00614.99
7.2.180.0100.00714.77
7.2.170.0030.01614.69
7.2.60.0130.00016.76
7.2.00.0090.00619.02
7.1.330.0100.00315.76
7.1.320.0030.00615.82
7.1.310.0000.01115.80
7.1.300.0060.01015.63
7.1.290.0030.00615.65
7.1.280.0100.00315.57
7.1.270.0080.00315.86
7.1.260.0060.00615.43
7.1.200.0040.00715.28
7.1.100.0030.01018.19
7.1.70.0090.01216.75
7.1.60.0300.00834.96
7.1.50.0320.01534.76
7.1.40.0150.02334.18
7.1.30.0190.02534.20
7.1.20.0210.01034.43
7.1.10.0040.01116.48
7.1.00.0120.00916.57
7.0.200.0100.00616.38
7.0.190.0090.00616.75
7.0.180.0050.01315.98
7.0.170.0130.00616.07
7.0.160.0120.00315.99
7.0.150.0060.00916.18
7.0.140.0090.01216.05
7.0.130.0070.01316.62
7.0.120.0030.01316.54
7.0.110.0150.00616.20
7.0.100.0170.00316.21
7.0.90.0060.01516.21
7.0.80.0120.00916.09
7.0.70.0060.01215.89
7.0.60.0030.01515.88
7.0.50.0120.00616.12
7.0.40.0060.01216.39
7.0.30.0060.01216.36
7.0.20.0030.01316.17
7.0.10.0060.01216.45
7.0.00.0060.01016.39

preferences:
52.46 ms | 400 KiB | 5 Q