3v4l.org

run code in 300+ PHP versions simultaneously
<?php if($_SERVER['REQUEST_METHOD']=="POST") { if( trim($_POST['voorletters'])="" || trim($_POST['achternaam'])="" || trim($_POST['email'])="") { echo "De voorletters, achternaam of e-mailadres is niet ingevuld. Controleer je invoer opnieuw."; } else { // alles is goed ingevuld, de boel kan gemaild worden } }

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)
5.4.360.0230.03718.72
5.4.350.0130.03313.65
5.4.340.0100.03713.73
5.4.320.0100.04014.22
5.4.310.0230.02714.15
5.4.300.0170.03714.13
5.4.290.0030.04714.37
5.4.280.0100.03714.08
5.4.270.0100.04014.05
5.4.260.0200.03314.03
5.4.250.0130.03314.10
5.4.240.0170.03314.13
5.4.230.0170.03314.03
5.4.220.0130.04014.12
5.4.210.0070.04014.07
5.4.200.0170.03714.16
5.4.190.0100.04014.11
5.4.180.0230.03714.09
5.4.170.0070.05014.09
5.4.160.0130.04014.08
5.4.150.0100.04014.05
5.4.140.0070.04313.75
5.4.130.0170.03313.93
5.4.120.0130.05013.81
5.4.110.0170.03713.68
5.4.100.0070.04313.65
5.4.90.0130.03713.68
5.4.80.0000.05013.72
5.4.70.0100.04013.80
5.4.60.0100.03713.64
5.4.50.0070.04313.73
5.4.40.0100.04013.69
5.4.30.0100.03713.81
5.4.20.0100.03713.70
5.4.10.0030.04313.71
5.4.00.0030.04313.09
5.3.290.0100.04314.67
5.3.280.0130.03314.52
5.3.270.0100.04014.45
5.3.260.0030.04714.50
5.3.250.0070.04314.62
5.3.240.0030.04314.52
5.3.230.0130.04314.63
5.3.220.0200.03314.46
5.3.210.0100.04314.46
5.3.200.0200.03014.49
5.3.190.0170.03714.45
5.3.180.0170.04714.46
5.3.170.0070.04314.48
5.3.160.0100.04014.46
5.3.150.0130.04014.46
5.3.140.0200.03714.44
5.3.130.0200.03714.56
5.3.120.0170.04314.45
5.3.110.0170.04314.43
5.3.100.0070.05313.95
5.3.90.0100.05013.86
5.3.80.0170.04013.91
5.3.70.0000.05013.91
5.3.60.0230.03014.03
5.3.50.0230.02713.88
5.3.40.0100.04013.85
5.3.30.0100.03713.89
5.3.20.0100.03713.58
5.3.10.0070.03713.54
5.3.00.0030.05013.55
5.2.170.0170.02711.05
5.2.160.0130.02311.12
5.2.150.0130.03311.07
5.2.140.0100.03311.15
5.2.130.0130.02311.01
5.2.120.0130.02311.09
5.2.110.0100.03711.10
5.2.100.0170.03011.00
5.2.90.0130.02711.07
5.2.80.0070.03311.09
5.2.70.0100.02710.94
5.2.60.0100.03011.12
5.2.50.0100.03010.98
5.2.40.0130.02310.86
5.2.30.0070.03310.87
5.2.20.0130.02310.92
5.2.10.0170.02010.79
5.2.00.0030.03310.64
5.1.60.0030.0279.98
5.1.50.0100.0239.97
5.1.40.0030.03010.09
5.1.30.0100.02710.42
5.1.20.0070.02710.38
5.1.10.0070.03010.05
5.1.00.0070.02710.07
5.0.50.0000.0338.62
5.0.40.0000.0238.34
5.0.30.0000.0378.25
5.0.20.0000.0238.24
5.0.10.0030.0208.11
5.0.00.0100.0338.09
4.4.90.0070.0135.82
4.4.80.0070.0135.80
4.4.70.0000.0205.79
4.4.60.0030.0175.83
4.4.50.0000.0205.86
4.4.40.0030.0275.81
4.4.30.0030.0175.81
4.4.20.0030.0175.85
4.4.10.0030.0175.89
4.4.00.0070.0235.89
4.3.110.0070.0205.78
4.3.100.0000.0175.75
4.3.90.0070.0135.84
4.3.80.0030.0235.73
4.3.70.0030.0135.76
4.3.60.0070.0135.74
4.3.50.0000.0205.75
4.3.40.0000.0305.86
4.3.30.0030.0204.53
4.3.20.0030.0204.57
4.3.10.0030.0174.49
4.3.00.0130.0207.03

preferences:
140.82 ms | 1394 KiB | 7 Q