3v4l.org

run code in 300+ PHP versions simultaneously
<?php $emails = array( 'wouter@foobar.nl', 'bas@iets.net', 'nienke@localhost', 'kees__@foo.com', '@bar.com', ); foreach ($emails as $email) { if (!filter_var($email, FILTER_VALIDATE_EMAIL)) { echo "{$email} is ongeldig\n"; } }

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.4.10.0150.00618.64
8.3.140.0090.00617.17
8.3.130.0030.00718.71
8.3.120.0070.01021.12
8.3.110.0060.00320.94
8.3.100.0100.01017.09
8.3.90.0050.00317.16
8.3.80.0090.00616.75
8.3.70.0040.01118.68
8.3.60.0120.00319.05
8.3.50.0230.00822.24
8.3.40.0150.00019.06
8.3.30.0040.01119.30
8.3.20.0030.00520.53
8.3.10.0030.00522.33
8.3.00.0040.00422.71
8.2.260.0100.01017.03
8.2.250.0050.00317.09
8.2.240.0060.00619.36
8.2.230.0090.00422.58
8.2.220.0040.01337.54
8.2.210.0090.00926.77
8.2.200.0060.00317.00
8.2.190.0060.00916.88
8.2.180.0130.01018.92
8.2.170.0240.00022.96
8.2.160.0110.00421.04
8.2.150.0000.00824.18
8.2.140.0090.00024.66
8.2.130.0080.00026.16
8.2.120.0000.00819.73
8.2.110.0060.00322.47
8.2.100.0120.00018.41
8.2.90.0030.00520.96
8.2.80.0030.00618.13
8.2.70.0070.00318.00
8.2.60.0000.00918.13
8.2.50.0060.00318.05
8.2.40.0060.00319.98
8.2.30.0040.00418.38
8.2.20.0040.00418.27
8.2.10.0030.00518.16
8.2.00.0030.00618.30
8.1.310.0070.00318.80
8.1.300.0030.00616.88
8.1.290.0060.00330.84
8.1.280.0070.01025.92
8.1.270.0130.00724.32
8.1.260.0030.00526.35
8.1.250.0000.00828.09
8.1.240.0040.00722.83
8.1.230.0110.00021.33
8.1.220.0030.00518.16
8.1.210.0090.00019.32
8.1.200.0030.00617.85
8.1.190.0030.00619.64
8.1.180.0080.00018.10
8.1.170.0050.00317.98
8.1.160.0040.00422.23
8.1.150.0050.00319.00
8.1.140.0040.00417.91
8.1.130.0000.00717.98
8.1.120.0000.00717.82
8.1.110.0040.00417.83
8.1.100.0030.00517.69
8.1.90.0080.00017.80
8.1.80.0040.00417.71
8.1.70.0000.00717.75
8.1.60.0060.00317.94
8.1.50.0040.00417.68
8.1.40.0040.00417.88
8.1.30.0030.00617.88
8.1.20.0040.00417.85
8.1.10.0030.00517.79
8.1.00.0030.00919.79
8.0.300.0040.00420.23
8.0.290.0090.00017.00
8.0.280.0000.00718.62
8.0.270.0000.00717.48
8.0.260.0030.00317.11
8.0.250.0030.00517.12
8.0.240.0050.00317.15
8.0.230.0070.00017.25
8.0.220.0040.00417.18
8.0.210.0000.00717.15
8.0.200.0040.00417.18
8.0.190.0000.00817.24
8.0.180.0110.00017.13
8.0.170.0040.00417.11
8.0.160.0000.00817.14
8.0.150.0070.00017.09
8.0.140.0030.00517.18
8.0.130.0090.00013.61
8.0.120.0000.00917.10
8.0.110.0080.00017.24
8.0.100.0040.00417.31
8.0.90.0040.00417.16
8.0.80.0030.01617.19
8.0.70.0040.00417.12
8.0.60.0040.00417.23
8.0.50.0000.00817.08
8.0.30.0130.01017.29
8.0.20.0100.01017.51
8.0.10.0050.00317.21
8.0.00.0190.02117.17
7.4.330.0060.00015.25
7.4.320.0040.00416.94
7.4.300.0040.00416.94
7.4.290.0000.00716.95
7.4.280.0000.00716.92
7.4.270.0040.00416.95
7.4.260.0020.00516.90
7.4.250.0050.00316.98
7.4.240.0050.00316.90
7.4.230.0040.00416.67
7.4.220.0060.01216.98
7.4.210.0060.01016.97
7.4.200.0000.00816.76
7.4.190.0000.00816.72
7.4.160.0070.01016.79
7.4.150.0090.00917.40
7.4.140.0140.00917.86
7.4.130.0070.01416.94
7.4.120.0110.00716.91
7.4.110.0120.00616.69
7.4.100.0100.01416.92
7.4.90.0110.01416.82
7.4.80.0120.00619.39
7.4.70.0110.00717.08
7.4.60.0030.01716.96
7.4.50.0090.00016.91
7.4.40.0070.01122.77
7.4.30.0130.01016.72
7.4.00.0100.00715.42
7.3.330.0000.00513.46
7.3.320.0000.00613.48
7.3.310.0050.00316.69
7.3.300.0000.00816.61
7.3.290.0090.00616.60
7.3.280.0090.00816.65
7.3.270.0120.00617.40
7.3.260.0060.01216.58
7.3.250.0070.01116.69
7.3.240.0090.00916.66
7.3.230.0130.00617.00
7.3.210.0060.01216.55
7.3.200.0120.01319.39
7.3.190.0090.00916.84
7.3.180.0070.01016.62
7.3.170.0070.01516.76
7.3.160.0030.01316.89
7.3.120.0030.00915.35
7.2.330.0200.00016.86
7.2.320.0110.00716.74
7.2.310.0120.00616.94
7.2.300.0180.00016.92
7.2.290.0120.00916.96
7.2.60.0100.00317.13
7.1.200.0110.00715.86
7.1.100.0110.01118.53
7.1.70.0030.00717.52
7.1.60.0070.01719.82
7.1.50.0070.01717.44
7.1.00.0000.07722.64
7.0.200.0100.00317.10
7.0.140.0030.07322.26
7.0.110.0270.07320.24
7.0.100.0130.08320.27
7.0.90.0300.07720.27
7.0.80.0200.08320.19
7.0.70.0200.07320.05
7.0.60.0070.04720.18
7.0.50.0130.04720.62
7.0.40.0100.07720.48
7.0.30.0100.07720.54
7.0.20.0130.08020.29
7.0.10.0070.07720.43
7.0.00.0070.07320.33
5.6.280.0100.06721.05
5.6.260.0130.07020.66
5.6.250.0130.07020.70
5.6.240.0070.10020.85
5.6.230.0070.06020.70
5.6.220.0130.07720.56
5.6.210.0100.07720.65
5.6.200.0170.07321.18
5.6.190.0100.08021.10
5.6.180.0130.07321.07
5.6.170.0100.07021.10
5.6.160.0030.07021.24
5.6.150.0030.08321.01
5.6.140.0030.09321.07
5.6.130.0070.08721.11
5.6.120.0100.08021.13
5.6.110.0070.08720.95
5.6.100.0170.07721.15
5.6.90.0100.08321.27
5.6.80.0170.06720.35
5.6.70.0130.07720.36
5.6.60.0130.06320.61
5.6.50.0070.07020.33
5.6.40.0030.08720.36
5.6.30.0170.07720.57
5.6.20.0230.06320.52
5.6.10.0170.07020.42
5.6.00.0130.05720.55
5.5.380.0230.05720.37
5.5.370.0070.04320.59
5.5.360.0100.08020.33
5.5.350.0030.07320.47
5.5.340.0130.08321.00
5.5.330.0170.07320.99
5.5.320.0030.08720.79
5.5.310.0170.07020.75
5.5.300.0100.08020.82
5.5.290.0130.04721.05
5.5.280.0030.08320.86
5.5.270.0070.07020.98
5.5.260.0100.04720.89
5.5.250.0270.04720.70
5.5.240.0130.06320.25
5.5.230.0130.07320.37
5.5.220.0100.07720.28
5.5.210.0130.08020.10
5.5.200.0170.05720.35
5.5.190.0130.04020.12
5.5.180.0100.07720.11
5.5.160.0070.07320.32
5.5.150.0100.07320.40
5.5.140.0000.08020.20
5.5.130.0100.07020.18
5.5.120.0070.07320.20
5.5.110.0000.08020.26
5.5.100.0130.07720.20
5.5.90.0070.07720.25
5.5.80.0030.06720.19
5.5.70.0100.07320.01
5.5.60.0100.07320.21
5.5.50.0100.08020.05
5.5.40.0100.07720.28
5.5.30.0130.04720.26
5.5.20.0030.07320.01
5.5.10.0030.07720.06
5.5.00.0170.06320.20
5.4.450.0100.04719.31
5.4.440.0000.09319.55
5.4.430.0070.08719.32
5.4.420.0100.08019.55
5.4.410.0070.07019.27
5.4.400.0000.05019.09
5.4.390.0030.08019.17
5.4.380.0100.05319.30
5.4.370.0100.07318.98
5.4.360.0100.07719.24
5.4.350.0030.07319.09
5.4.340.0100.07019.14
5.4.320.0100.07319.01
5.4.310.0100.07319.30
5.4.300.0000.07319.31
5.4.290.0070.06719.23
5.4.280.0070.08019.06
5.4.270.0100.07019.13
5.4.260.0100.07319.15
5.4.250.0030.07719.15
5.4.240.0070.07719.30
5.4.230.0070.07319.30
5.4.220.0070.07719.05
5.4.210.0170.06719.21
5.4.200.0130.06719.22
5.4.190.0170.06018.99
5.4.180.0100.07719.05
5.4.170.0070.07018.99
5.4.160.0130.06719.15
5.4.150.0100.07319.04
5.4.140.0000.07716.18
5.4.130.0130.07316.37
5.4.120.0130.07016.22
5.4.110.0100.06716.52
5.4.100.0070.06716.24
5.4.90.0100.06016.49
5.4.80.0100.06716.44
5.4.70.0130.06316.18
5.4.60.0030.04716.51
5.4.50.0070.06316.46
5.4.40.0130.06016.43
5.4.30.0030.04316.35
5.4.20.0100.06316.50
5.4.10.0000.06316.50
5.4.00.0070.07315.92
5.3.290.0070.07314.55
5.3.280.0030.04714.53
5.3.270.0000.07714.61
5.3.260.0130.06714.55
5.3.250.0070.07314.50
5.3.240.0100.07014.56
5.3.230.0100.07014.64
5.3.220.0130.06714.63
5.3.210.0100.07714.70
5.3.200.0070.07714.55
5.3.190.0030.05014.69
5.3.180.0070.07314.55
5.3.170.0100.07314.64
5.3.160.0030.07314.42
5.3.150.0100.05714.73
5.3.140.0030.07314.54
5.3.130.0070.07014.63
5.3.120.0100.07014.61
5.3.110.0030.07314.49
5.3.100.0100.07314.16
5.3.90.0100.07014.02
5.3.80.0100.05314.08
5.3.70.0130.06314.16
5.3.60.0130.07014.12
5.3.50.0130.07013.82
5.3.40.0130.06313.83
5.3.30.0170.06313.83
5.3.20.0170.06713.76
5.3.10.0070.06013.73
5.3.00.0170.06013.56
5.2.170.0130.05711.93
5.2.160.0030.06311.93
5.2.150.0070.06711.93
5.2.140.0100.05311.93
5.2.130.0100.04711.93
5.2.120.0000.04011.93
5.2.110.0070.03011.93
5.2.100.0100.05311.93
5.2.90.0000.04311.93
5.2.80.0100.05311.93
5.2.70.0070.04011.93
5.2.60.0070.06011.93
5.2.50.0100.04311.93
5.2.40.0100.05711.93
5.2.30.0130.05011.93
5.2.20.0030.06311.93
5.2.10.0030.06011.93
5.2.00.0030.06311.93
5.1.60.0130.05011.93
5.1.50.0000.05011.93
5.1.40.0030.05711.93
5.1.30.0070.05711.93
5.1.20.0100.04711.93
5.1.10.0030.05011.93
5.1.00.0030.05711.93
5.0.50.0070.04711.93
5.0.40.0100.03711.93
5.0.30.0000.06311.93
5.0.20.0030.04311.93
5.0.10.0070.04311.93
5.0.00.0030.06011.93
4.4.90.0070.03311.93
4.4.80.0000.03311.93
4.4.70.0070.03311.93
4.4.60.0000.03311.93
4.4.50.0070.03011.93
4.4.40.0070.05011.93
4.4.30.0030.03311.93
4.4.20.0100.03011.93
4.4.10.0000.04011.93
4.4.00.0030.04011.93
4.3.110.0000.03711.93
4.3.100.0000.03711.93
4.3.90.0100.01711.93
4.3.80.0000.05011.93
4.3.70.0030.02311.93
4.3.60.0030.03311.93
4.3.50.0070.01311.93
4.3.40.0000.05311.93
4.3.30.0030.03311.93
4.3.20.0030.03711.93
4.3.10.0000.03711.93
4.3.00.0000.03711.93

preferences:
29.17 ms | 403 KiB | 5 Q