3v4l.org

run code in 300+ PHP versions simultaneously
<?php $email = 'jesuis@tropun.ninja'; $autreemail = '"very.unusual.@.unusual.com"@example.com'; $encoreunpourlaroute = "#!$%&'*+-/=?^_`{}|~@example.org"; $pasemail = 'jesuistroppasunninja'; var_dump(filter_var($email, FILTER_VALIDATE_EMAIL)); var_dump(filter_var($autreemail, FILTER_VALIDATE_EMAIL)); var_dump(filter_var($encoreunpourlaroute, FILTER_VALIDATE_EMAIL)); var_dump(filter_var($pasemail, 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)
8.1.70.0040.00417.77
8.1.60.0080.00017.80
8.1.50.0000.00917.85
8.1.40.0000.00817.72
8.1.30.0000.00917.88
8.1.20.0030.00517.79
8.1.10.0050.00317.80
8.1.00.0080.00419.84
8.0.200.0040.00417.18
8.0.190.0080.00017.19
8.0.180.0000.00817.19
8.0.170.0030.00517.14
8.0.160.0080.00017.18
8.0.150.0060.00317.09
8.0.140.0040.00417.09
8.0.130.0030.00313.61
8.0.120.0000.00817.16
8.0.110.0000.00917.21
8.0.100.0040.00417.25
8.0.90.0060.00317.15
8.0.80.0040.01517.15
8.0.70.0080.00016.97
8.0.60.0000.00817.15
8.0.50.0000.00817.03
8.0.30.0070.01417.38
8.0.20.0140.01217.48
8.0.10.0030.00517.29
8.0.00.0070.01316.96
7.4.300.0040.00416.73
7.4.290.0000.00716.87
7.4.280.0030.00616.87
7.4.270.0040.00416.85
7.4.260.0030.00616.88
7.4.250.0060.00316.93
7.4.240.0040.00416.89
7.4.230.0040.00417.04
7.4.220.0030.01616.82
7.4.210.0030.01017.00
7.4.200.0000.00817.04
7.4.160.0070.01016.52
7.4.150.0090.00917.40
7.4.140.0160.00817.86
7.4.130.0090.00916.80
7.4.120.0120.01117.01
7.4.110.0150.00316.79
7.4.100.0180.00016.77
7.4.90.0080.01116.83
7.4.80.0000.01819.39
7.4.70.0120.00616.77
7.4.60.0120.00616.71
7.4.50.0100.01016.91
7.4.40.0130.00616.96
7.4.30.0110.00816.85
7.4.00.0070.01115.33
7.3.330.0040.00313.27
7.3.320.0000.00513.28
7.3.310.0030.00516.39
7.3.300.0040.00416.54
7.3.290.0080.00916.54
7.3.280.0100.00916.53
7.3.270.0110.01417.40
7.3.260.0090.00916.96
7.3.250.0160.00416.74
7.3.240.0080.01216.48
7.3.230.0120.01216.87
7.3.210.0140.01016.58
7.3.200.0130.00916.56
7.3.190.0140.00316.64
7.3.180.0090.00916.54
7.3.170.0030.01316.62
7.3.160.0160.00016.85
7.3.120.0070.01414.70
7.3.110.0100.01015.02
7.3.100.0030.01314.84
7.3.90.0030.01015.30
7.3.80.0090.00614.94
7.3.70.0030.00715.18
7.3.60.0100.00315.13
7.3.50.0080.00415.07
7.3.40.0000.01614.88
7.3.30.0100.00615.01
7.3.20.0100.00716.85
7.3.10.0070.00716.84
7.3.00.0040.00716.74
7.2.330.0100.01016.73
7.2.320.0100.01016.83
7.2.310.0030.01416.83
7.2.300.0100.01416.61
7.2.290.0090.00916.72
7.2.250.0100.01015.42
7.2.240.0130.00615.38
7.2.230.0060.01015.32
7.2.220.0000.01215.08
7.2.210.0090.00314.97
7.2.200.0060.01015.19
7.2.190.0060.00915.31
7.2.180.0060.01215.32
7.2.170.0060.01214.98
7.2.60.0100.00717.00
7.2.00.0150.00419.44
7.1.330.0070.01116.05
7.1.320.0000.01015.86
7.1.310.0060.00616.20
7.1.300.0130.00615.93
7.1.290.0000.01515.84
7.1.280.0110.00716.19
7.1.270.0070.00416.11
7.1.260.0060.00915.84
7.1.200.0120.00316.09
7.1.100.0000.01218.30
7.1.70.0030.00817.18
7.1.60.0100.01619.77
7.1.00.0030.07722.51
7.0.200.0030.00717.00
7.0.60.0300.04020.15
7.0.50.0000.04317.96
7.0.40.0030.04720.36
7.0.30.0230.08720.33
7.0.20.0270.08020.36
7.0.10.0130.05020.47
7.0.00.0030.04320.22
5.6.280.0000.07321.15
5.6.210.0000.05320.54
5.6.200.0030.09018.29
5.6.190.0030.08320.41
5.6.180.0300.04720.74
5.6.170.0270.05020.56
5.6.160.0030.05320.57
5.6.150.0030.04318.29
5.6.140.0030.05318.23
5.6.130.0170.07018.27
5.6.120.0030.07020.93
5.6.110.0230.06021.14
5.6.100.0170.07721.16
5.6.90.0030.08321.16
5.6.80.0030.04020.44
5.5.350.0130.05020.38
5.5.340.0270.06718.05
5.5.330.0070.04020.63
5.5.320.0300.07720.38
5.5.310.0330.07320.35
5.5.300.0030.05717.98
5.5.290.0100.08017.98
5.5.280.0130.07320.67
5.5.270.0000.05720.83
5.5.260.0100.08320.92
5.5.250.0170.04720.82
5.5.240.0270.06720.19

preferences:
49.32 ms | 412 KiB | 13 Q