3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $str = 'garahasgcdotrrriefvdqvegtartfhpnlwizanrhcqirnqllicyjhttvdylvkqccpljzrgledgqpjbttgwbqwgtkytkjxtufqcermdywzthceowyurrlmvvbiljraidwnmznazymwcjdozfaauzcnlwsxqfzgpzbsru1234567890ukxzqsvowzhnwnzzdzokhcffkpdvwycpcmxdknjvaakqjgjkvtqctpkhvgmeytsypkrfozeljsochfjvlszrwutiq'; // $str_array = explode('', $str); $local = substr($str, 0, 64); $domain = substr($str, 0, 63); $com = substr($str, 0, 63); $email = $local. '@' . $domain . '.' . $com; print_r(filter_var($email , FILTER_VALIDATE_EMAIL) . "<br/>");

Here you find the average performance (time & memory) of each version. A greyed out version indicates it didn't complete successfully (based on exit-code).
Note: hhvm uses a JIT which only kicks in after a few runs. Since we run scripts only once, hhvm always runs slower.

VersionSystem time (s)User time (s)Memory (MiB)
7.2.00.0060.00919.59
7.1.100.0040.01418.18
7.1.70.0060.00317.33
7.1.60.0070.02019.57
7.1.50.0030.01917.16
7.1.00.0000.08022.57
7.0.200.0060.00617.26
7.0.140.0070.05722.30
7.0.60.0070.07720.22
7.0.50.0100.08318.04
7.0.40.0100.03720.44
7.0.30.0500.05720.24
7.0.20.0370.04720.71
7.0.10.0070.08720.32
7.0.00.0170.03320.23
5.6.280.0070.07021.11
5.6.210.0100.03320.70
5.6.200.0130.08318.33
5.6.190.0070.07720.37
5.6.180.3970.04720.68
5.6.170.0270.04020.60
5.6.160.0170.05020.48
5.6.150.0100.07718.32
5.6.140.0070.08018.32
5.6.130.0100.07318.25
5.6.120.0070.08321.09
5.6.110.0030.04321.05
5.6.100.0070.08321.18
5.6.90.0000.04321.20
5.6.80.0170.07020.45
5.6.70.0270.07020.45
5.5.350.0130.05020.49
5.5.340.0030.08318.09
5.5.330.0030.06720.23
5.5.320.0270.03720.34
5.5.310.0270.07720.51
5.5.300.0000.04718.02
5.5.290.0070.07718.01
5.5.280.0200.07020.72
5.5.270.0070.06320.83
5.5.260.0030.05020.80
5.5.250.0070.08720.76
5.5.240.0270.07720.26
5.4.450.0730.05019.46
5.4.440.1070.06719.34
5.4.430.0100.06319.39
5.4.420.1100.06019.19
5.4.410.0870.05719.52
5.4.400.0870.05719.50
5.4.390.0830.05019.21
5.4.380.0900.04718.89
5.4.370.0830.05018.88
5.4.360.0630.06018.87
5.4.350.0830.06018.89
5.4.340.0630.05318.98
5.4.320.0930.05318.95
5.4.310.0930.05318.89
5.4.300.0900.04318.76
5.4.290.0900.04718.98
5.4.280.0830.05018.87
5.4.270.0670.05718.79
5.4.260.0870.04718.83
5.4.250.0800.06718.80
5.4.240.0800.06318.95
5.4.230.0870.05318.75
5.4.220.0830.05718.79
5.4.210.0900.05018.96
5.4.200.1070.04016.86
5.4.190.1200.03318.94
5.4.180.0870.05018.84
5.4.170.0970.05718.76
5.4.160.0730.05718.93
5.4.150.0900.05018.86
5.4.140.1000.05316.42
5.4.130.0770.05016.50
5.4.120.1200.03716.35
5.4.110.0830.05316.57
5.4.100.0770.06016.41
5.4.90.0970.05016.41
5.4.80.0930.05716.35
5.4.70.0930.05716.41
5.4.60.0970.04716.24
5.4.50.0700.05016.44
5.4.40.0770.05316.38
5.4.30.0700.06016.37
5.4.20.0670.06716.29
5.4.10.0800.04316.39
5.4.00.0900.04315.84
5.3.290.0830.08014.93
5.3.280.1000.04314.77
5.3.270.0770.05714.87
5.3.260.0330.06314.94
5.3.250.0700.04014.78
5.3.240.1030.06014.93
5.3.230.1000.06714.83
5.3.220.0830.04015.05
5.3.210.0830.06014.94
5.3.200.0730.05714.95
5.3.190.0870.05314.91
5.3.180.0800.05715.07
5.3.170.0930.06714.99
5.3.160.0830.05015.02
5.3.150.0830.04715.14
5.3.140.0800.04314.98
5.3.130.0870.05714.91
5.3.120.0770.05014.98
5.3.110.0800.04714.91
5.3.100.0830.05314.43
5.3.90.1100.07014.32
5.3.80.0930.05314.37
5.3.70.0870.05014.25
5.3.60.0800.05314.29
5.3.50.0700.06014.21
5.3.40.0730.05314.27
5.3.30.0800.05014.22
5.3.20.0800.04013.83
5.3.10.0830.04713.72
5.3.00.0700.05013.67
5.2.170.0570.04011.50
5.2.160.0670.05311.42
5.2.150.0430.05711.41
5.2.140.0600.05311.67
5.2.130.0870.04711.19
5.2.120.0800.06011.14
5.2.110.0870.05711.39
5.2.100.0730.03311.20
5.2.90.0800.03311.22
5.2.80.0770.05711.20
5.2.70.0900.03711.30
5.2.60.0600.04711.09
5.2.50.0630.05011.29
5.2.40.0500.03711.04
5.2.30.0570.04011.05
5.2.20.0630.03011.08
5.2.10.0630.03011.01
5.2.00.0530.03710.81
5.1.60.0630.03010.02
5.1.50.0530.03310.06
5.1.40.0500.03710.05
5.1.30.0530.03710.30
5.1.20.0530.04710.48
5.1.10.0570.03310.08
5.1.00.0500.04010.18
5.0.50.0200.0408.51
5.0.40.0300.0238.52
5.0.30.0370.0508.23
5.0.20.0300.0278.30
5.0.10.0270.0308.15
5.0.00.0270.0438.36
4.4.90.0270.0207.83
4.4.80.0230.0207.83
4.4.70.0270.0177.83
4.4.60.0370.0207.83
4.4.50.0270.0237.83
4.4.40.0270.0407.83
4.4.30.0270.0237.83
4.4.20.0270.0277.83
4.4.10.0300.0337.83
4.4.00.0230.0407.83
4.3.110.0170.0307.83
4.3.100.0330.0277.83
4.3.90.0230.0277.83
4.3.80.0230.0377.83
4.3.70.0400.0237.83
4.3.60.0300.0177.83
4.3.50.0230.0237.83
4.3.40.0300.0307.83
4.3.30.0070.0307.83
4.3.20.0200.0307.83
4.3.10.0200.0177.83
4.3.00.0130.0207.34