3v4l.org

run code in 300+ PHP versions simultaneously
<?php $email = 'address@example'; $checked = filter_var($email, FILTER_VALIDATE_EMAIL); var_dump($email, $checked);

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.1.70.0040.00417.61
8.1.60.0030.00617.85
8.1.50.0050.00317.77
8.1.40.0040.00417.77
8.1.30.0000.00817.93
8.1.20.0030.00617.90
8.1.10.0040.00417.73
8.1.00.0040.00719.83
8.0.200.0000.00817.25
8.0.190.0000.00817.07
8.0.180.0050.00317.16
8.0.170.0090.00017.18
8.0.160.0050.00317.13
8.0.150.0060.00317.09
8.0.140.0000.00816.98
8.0.130.0030.00313.52
8.0.120.0000.00817.18
8.0.110.0030.00617.15
8.0.100.0040.00417.21
8.0.90.0030.00517.09
8.0.80.0060.00917.14
8.0.70.0040.00416.99
8.0.60.0030.00517.07
8.0.50.0000.00817.19
8.0.30.0150.01017.31
8.0.20.0120.01017.49
8.0.10.0000.00817.09
8.0.00.0100.00816.99
7.4.300.0000.00816.85
7.4.290.0040.00416.75
7.4.280.0040.00416.93
7.4.270.0050.00316.87
7.4.260.0030.00313.63
7.4.250.0040.00416.84
7.4.240.0080.00016.95
7.4.230.0070.00016.99
7.4.220.0100.01016.76
7.4.210.0040.01216.88
7.4.200.0040.00416.85
7.4.190.0040.00416.94
7.4.160.0070.01116.98
7.4.150.0110.01517.40
7.4.140.0110.01417.86
7.4.130.0100.00816.79
7.4.120.0060.01216.76
7.4.110.0090.00916.77
7.4.100.0070.01016.88
7.4.90.0090.00916.71
7.4.80.0070.01019.39
7.4.70.0130.00316.75
7.4.60.0060.01216.65
7.4.50.0000.00916.70
7.4.40.0100.00322.77
7.4.30.0130.00716.67
7.4.00.0070.01115.04
7.3.330.0030.00313.24
7.3.320.0060.00013.39
7.3.310.0040.00416.59
7.3.300.0030.00616.53
7.3.290.0120.00316.46
7.3.280.0090.01116.48
7.3.270.0030.01417.40
7.3.260.0100.01018.24
7.3.250.0130.00516.57
7.3.240.0090.00916.73
7.3.230.0150.00416.56
7.3.210.0180.00016.71
7.3.200.0160.01019.39
7.3.190.0070.01016.67
7.3.180.0100.00716.58
7.3.170.0150.00916.73
7.3.160.0060.01116.65
7.3.120.0070.01115.24
7.2.330.0120.00616.73
7.2.320.0090.01216.93
7.2.310.0110.01116.81
7.2.300.0070.01116.82
7.2.290.0070.01116.94
7.1.70.0040.00717.40
7.1.60.0090.00919.40
7.1.50.0130.01317.43
7.1.00.0030.03322.91
7.0.200.0030.01016.87
7.0.140.0000.08722.16
7.0.110.0630.07020.29
7.0.100.0600.08020.28
7.0.90.0630.09020.14
7.0.80.0670.07720.13
7.0.70.0700.08020.04
7.0.60.0370.04720.08
7.0.50.0570.07720.70
7.0.40.0100.07320.35
7.0.30.0100.08020.15
7.0.20.0000.09320.39
7.0.10.0070.08720.25
7.0.00.0100.08020.28
5.6.280.0030.07321.00
5.6.250.0030.04320.70
5.6.240.0030.05720.53
5.6.230.0070.08020.52
5.6.220.0100.08020.51
5.6.210.0030.05020.64
5.6.200.0070.08021.24
5.6.190.0100.08720.90
5.6.180.0070.07720.99
5.6.170.0130.08021.21
5.6.160.0130.06020.87
5.6.150.0030.04721.02
5.6.140.0170.07321.18
5.6.130.0030.08021.08
5.6.120.0130.07321.11
5.6.110.0030.08721.00
5.6.100.0170.07321.10
5.6.90.0200.07720.93
5.6.80.0070.07720.37
5.6.70.0000.08320.48
5.6.60.0100.07320.48
5.6.50.0170.07020.29
5.6.40.0000.07720.43
5.6.30.0100.07020.59
5.6.20.0230.06320.46
5.6.10.0100.07720.45
5.6.00.0130.07320.26
5.5.380.0230.06320.51
5.5.370.0100.07720.42
5.5.360.0070.08020.46
5.5.350.0070.04020.41
5.5.340.0100.08320.78
5.5.330.0030.08720.84
5.5.320.0070.08320.61
5.5.310.0100.07020.84
5.5.300.0030.05320.66
5.5.290.0130.07320.67
5.5.280.0130.06720.91
5.5.270.0070.08020.77
5.5.260.0030.07720.95
5.5.250.0130.06320.73
5.5.240.0100.07320.30
5.5.230.0200.06720.08
5.5.220.0030.05320.36
5.5.210.0030.05020.25
5.5.200.0100.04320.16
5.5.190.0170.07020.02
5.5.180.0130.06720.20
5.5.160.0000.07320.02
5.5.150.0100.07320.27
5.5.140.0070.08320.09
5.5.130.0100.04020.16
5.5.120.0030.06720.26
5.5.110.0200.06720.22
5.5.100.0170.06019.96
5.5.90.0100.07020.20
5.5.80.0100.07719.96
5.5.70.0100.05320.19
5.5.60.0200.07020.00
5.5.50.0200.07020.06
5.5.40.0030.07319.98
5.5.30.0230.06319.96
5.5.20.0030.08320.12
5.5.10.0000.08020.16
5.5.00.0170.04020.07
5.4.450.0130.07319.40
5.4.440.0070.08719.51
5.4.430.0000.08719.36
5.4.420.0030.08319.30
5.4.410.0070.07319.49
5.4.400.0100.08019.28
5.4.390.0200.06319.14
5.4.380.0030.08019.04
5.4.370.0070.07719.13
5.4.360.0070.08019.14
5.4.350.0000.07019.13
5.4.340.0070.08019.06
5.4.320.0030.07019.06
5.4.310.0170.06719.15
5.4.300.0070.04718.98
5.4.290.0000.07719.09
5.4.280.0100.06719.15
5.4.270.0070.07719.14
5.4.260.0100.07319.06
5.4.250.0030.07719.27
5.4.240.0070.07719.23
5.4.230.0030.07719.12
5.4.220.0130.06719.18
5.4.210.0130.06719.00
5.4.200.0030.07719.27
5.4.190.0070.07719.28
5.4.180.0170.03719.04
5.4.170.0070.07319.04
5.4.160.0070.07019.03
5.4.150.0070.07719.21
5.4.140.0070.04316.47
5.4.130.0130.06316.43
5.4.120.0170.06716.43
5.4.110.0030.06716.38
5.4.100.0000.08016.38
5.4.90.0070.07016.29
5.4.80.0070.07716.43
5.4.70.0030.07316.46
5.4.60.0100.07016.32
5.4.50.0070.07016.48
5.4.40.0030.07316.48
5.4.30.0100.07016.51
5.4.20.0070.06716.18
5.4.10.0070.07716.41
5.4.00.0030.06315.79
5.3.290.0070.06314.82
5.3.280.0170.06714.64
5.3.270.0030.08014.67
5.3.260.0130.07314.61
5.3.250.0070.06014.75
5.3.240.0100.07314.60
5.3.230.0030.07714.75
5.3.220.0030.06314.46
5.3.210.0200.06714.56
5.3.200.0200.06314.54
5.3.190.0170.06714.70
5.3.180.0130.04714.62
5.3.170.0070.07314.55
5.3.160.0000.07314.62
5.3.150.0070.07314.62
5.3.140.0100.06314.61
5.3.130.0070.05014.44
5.3.120.0100.07014.51
5.3.110.0130.06714.58
5.3.100.0030.04314.03
5.3.90.0000.07014.00
5.3.80.0100.07014.16
5.3.70.0030.03313.95
5.3.60.0000.07713.99
5.3.50.0000.08314.10
5.3.40.0070.07013.79
5.3.30.0170.06314.03
5.3.20.0070.06713.61
5.3.10.0100.06713.66
5.3.00.0030.05713.73
5.2.170.0070.03011.35
5.2.160.0100.05311.10
5.2.150.0070.05711.35
5.2.140.0030.03711.13
5.2.130.0030.03711.11
5.2.120.0030.06011.04
5.2.110.0070.06011.11
5.2.100.0030.05311.07
5.2.90.0100.05711.02
5.2.80.0070.04710.98
5.2.70.0100.03711.16
5.2.60.0100.05310.99
5.2.50.0070.06011.01
5.2.40.0100.04710.92
5.2.30.0070.03310.97
5.2.20.0070.03010.91
5.2.10.0100.05710.85
5.2.00.0100.06010.71
5.1.60.0000.0309.92
5.1.50.0070.0509.95
5.1.40.0030.0539.88
5.1.30.0000.04310.29
5.1.20.0030.04010.57
5.1.10.0000.05710.04
5.1.00.0030.05310.02
5.0.50.0030.0478.44
5.0.40.0070.0438.29
5.0.30.0030.0578.37
5.0.20.0100.0378.15
5.0.10.0070.0237.99
5.0.00.0030.0638.14
4.4.90.0030.0336.72
4.4.80.0000.0376.72
4.4.70.0030.0336.72
4.4.60.0030.0336.72
4.4.50.0030.0336.72
4.4.40.0030.0506.72
4.4.30.0070.0336.72
4.4.20.0070.0276.72
4.4.10.0000.0376.72
4.4.00.0000.0536.72
4.3.110.0000.0236.72
4.3.100.0070.0306.72
4.3.90.0000.0376.72
4.3.80.0000.0436.72
4.3.70.0030.0276.72
4.3.60.0070.0276.72
4.3.50.0000.0336.72
4.3.40.0000.0536.72
4.3.30.0030.0336.72
4.3.20.0030.0276.72
4.3.10.0000.0376.72
4.3.00.0030.0336.72

preferences:
12.8 ms | 406 KiB | 5 Q