3v4l.org

run code in 300+ PHP versions simultaneously
<?php $email = "bart.reymenants@gmail.c"; //Note the .com missing echo "PHP Version: ".phpversion().'<br>'; if(filter_var($email, FILTER_VALIDATE_EMAIL)){ echo "no "; echo $email.'<br>'; var_dump(filter_var($email, FILTER_VALIDATE_EMAIL)); }else{ echo "nok"; var_dump(filter_var($email, FILTER_VALIDATE_EMAIL)); } ?>

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)
7.2.00.0060.01019.57
7.1.100.0000.00918.06
7.1.70.0000.00917.28
7.1.60.0000.01117.80
7.1.50.0100.01417.50
7.1.00.0030.03322.62
7.0.200.0030.00617.18
7.0.140.0070.07022.33
7.0.120.0100.06322.48
7.0.60.0130.07720.18
7.0.50.0130.07717.98
7.0.40.0030.06717.93
7.0.30.0100.04317.91
7.0.20.0030.06717.89
7.0.10.0100.06317.90
7.0.00.0100.07717.84
5.6.280.0130.06321.16
5.6.210.0070.04320.68
5.6.200.0100.08318.24
5.6.190.0070.05318.23
5.6.180.0070.07718.14
5.6.170.0030.06718.25
5.6.160.0030.08718.27
5.6.150.0070.07318.20
5.6.140.0000.07318.23
5.6.130.0000.05018.16
5.6.120.0130.07318.16
5.6.110.0100.08318.26
5.6.100.0070.05718.22
5.6.90.0070.08318.23
5.6.80.0070.07717.54
5.6.70.0100.03317.47
5.6.60.0000.04317.67
5.6.50.0030.06317.51
5.6.40.0070.08317.56
5.6.30.0000.06017.63
5.6.20.0200.06317.52
5.6.10.0100.07717.63
5.6.00.0130.06317.54
5.5.350.0470.06320.42
5.5.340.0100.06718.06
5.5.330.0070.07317.96
5.5.320.0030.05317.95
5.5.310.0070.08017.94
5.5.300.0070.06017.94
5.5.290.0130.07717.92
5.5.280.0070.06318.03
5.5.270.0100.07318.01
5.5.260.0070.05318.00
5.5.250.0030.05717.87
5.5.240.0100.07017.39
5.5.230.0100.04717.45
5.5.220.0000.08717.33
5.5.210.0030.05717.35
5.5.200.0030.08017.42
5.5.190.0030.04717.38
5.5.180.0130.06317.42
5.5.160.0200.07317.41
5.5.150.0070.04317.41
5.5.140.0070.07717.32
5.5.130.0130.04717.42
5.5.120.0070.07317.40
5.5.110.0000.06017.31
5.5.100.0100.04317.18
5.5.90.0130.07317.20
5.5.80.0100.07717.24
5.5.70.0130.06317.28
5.5.60.0170.07017.18
5.5.50.0000.08017.21
5.5.40.0030.04017.21
5.5.30.0130.07017.29
5.5.20.0070.07717.19
5.5.10.0100.05717.28
5.5.00.0030.05017.29
5.4.450.0170.06719.45
5.4.440.0000.09319.20
5.4.430.0070.05319.39
5.4.420.0070.07719.34
5.4.410.0000.07719.25
5.4.400.0130.07019.14
5.4.390.0070.06019.05
5.4.380.0130.03019.18
5.4.370.0100.03319.16
5.4.360.0000.05019.03
5.4.350.0030.07019.17
5.4.340.0130.03019.05
5.4.320.0100.06719.03
5.4.310.0030.06319.26
5.4.300.0070.07319.26
5.4.290.0070.07319.19
5.4.280.0070.08019.17
5.4.270.0100.04319.15
5.4.260.0100.03319.09
5.4.250.0100.03319.00
5.4.240.0170.06719.26
5.4.230.0100.07719.04
5.4.220.0100.07318.88
5.4.210.0000.05019.00
5.4.200.0100.07719.00
5.4.190.0230.06018.87
5.4.180.0130.07319.07
5.4.170.0000.05019.07
5.4.160.0070.03719.01
5.4.150.0030.05719.03
5.4.140.0130.05716.36
5.4.130.0070.07716.18
5.4.120.0100.04316.17
5.4.110.0130.06716.34
5.4.100.0000.05016.27
5.4.90.0130.03316.31
5.4.80.0200.06016.35
5.4.70.0070.06716.23
5.4.60.0070.06316.51
5.4.50.0030.06016.16
5.4.40.0130.03316.36
5.4.30.0070.07016.51
5.4.20.0070.07016.39
5.4.10.0130.06716.20
5.4.00.0030.07715.61
5.3.290.0070.08014.71
5.3.280.0030.06714.61
5.3.270.0030.04714.65
5.3.260.0030.05314.52
5.3.250.0030.04314.61
5.3.240.0170.07014.62
5.3.230.0030.06014.49
5.3.220.0030.07014.59
5.3.210.0070.04714.62
5.3.200.0070.06014.61
5.3.190.0000.05014.55
5.3.180.0130.06714.59
5.3.170.0170.06014.61
5.3.160.0070.05014.60
5.3.150.0000.06314.52
5.3.140.0170.05014.59
5.3.130.0000.04314.59
5.3.120.0130.06014.59
5.3.110.0100.07014.57
5.3.100.0000.08313.89
5.3.90.0030.06014.07
5.3.80.0000.08314.06
5.3.70.0230.05314.04
5.3.60.0130.05714.04
5.3.50.0130.06713.77
5.3.40.0230.06313.80
5.3.30.0100.05713.95
5.3.20.0070.07713.45
5.3.10.0030.04313.50
5.3.00.0070.04713.62
5.2.170.0030.06711.16
5.2.160.0030.05711.23
5.2.150.0070.06711.35
5.2.140.0030.03711.35
5.2.130.0100.04311.09
5.2.120.0070.03711.10
5.2.110.0130.05311.13
5.2.100.0000.03711.24
5.2.90.0100.05710.99
5.2.80.0030.05311.05
5.2.70.0030.06310.91
5.2.60.0030.03310.79
5.2.50.0100.06010.99
5.2.40.0070.06010.95
5.2.30.0030.06711.00
5.2.20.0030.05710.93
5.2.10.0170.04710.86
5.2.00.0070.05010.70
5.1.60.0070.05010.14
5.1.50.0030.0579.98
5.1.40.0070.05310.01
5.1.30.0000.03710.36
5.1.20.0030.05310.38
5.1.10.0030.02310.05
5.1.00.0000.03010.04
5.0.50.0000.0238.61
5.0.40.0000.0238.61
5.0.30.0000.0378.61
5.0.20.0000.0208.61
5.0.10.0000.0208.61
5.0.00.0000.0308.61
4.4.90.0000.0408.61
4.4.80.0000.0378.61
4.4.70.0100.0308.61
4.4.60.0030.0378.61
4.4.50.0030.0278.61
4.4.40.0030.0338.61
4.4.30.0070.0178.61
4.4.20.0000.0238.61
4.4.10.0000.0178.61
4.4.00.0000.0278.61
4.3.110.0000.0178.61
4.3.100.0000.0178.61
4.3.90.0000.0138.61
4.3.80.0000.0238.61
4.3.70.0000.0138.61
4.3.60.0000.0138.61
4.3.50.0000.0138.61
4.3.40.0000.0238.61
4.3.30.0000.0178.61
4.3.20.0000.0138.61
4.3.10.0000.0138.61
4.3.00.0000.0138.61

preferences:
28.07 ms | 403 KiB | 5 Q