3v4l.org

run code in 300+ PHP versions simultaneously
<?php function Syllables($string) { $syllables = array ( 'ai|ae|ay|au|ea|ee|ei|eu|ey|ie|ii|io|oa|oe|oi|oo|ou|oy|ue|uy|ya|ye|yi|yo|yu', 'a|e|i|o|u|y', ); return preg_match_all('~' . implode('|', $syllables) . '~', preg_replace('~[es]$~', '', $string)); } $domains = array ( 'algorithmical' => 0, 'bitoriented' => 0, 'cargocultdevs' => 0, 'corecursion' => 0, 'dereferenced' => 0, 'fellowhackers' => 0, 'gosub10' => 0, 'gosubten' => 0, 'humbledeveloper' => 0, 'humbleprogrammers' => 0, 'metaprogramming' => 0, 'privatevoid' => 0, 'shiftleft1' => 0, 'stackoverflow' => 0, 'understandrecursion' => 0, 'writeoncereadmany' => 0, ); foreach ($domains as $key => $value) { $domains[$key] = Syllables($value); } if (arsort($domains, SORT_NUMERIC) === true) { print_r($domains); }

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.3.60.0150.00018.68
8.3.50.0240.00522.23
8.3.40.0150.00019.09
8.3.30.0110.00420.46
8.3.20.0000.00819.04
8.3.10.0040.00421.29
8.3.00.0000.00919.81
8.2.180.0110.00716.88
8.2.170.0070.00722.96
8.2.160.0140.00020.47
8.2.150.0040.00424.18
8.2.140.0080.00024.66
8.2.130.0000.00826.16
8.2.120.0060.00320.08
8.2.110.0060.00320.54
8.2.100.0110.00018.16
8.2.90.0030.00619.22
8.2.80.0070.00019.40
8.2.70.0040.00717.75
8.2.60.0040.00417.93
8.2.50.0000.00818.07
8.2.40.0040.00420.13
8.2.30.0070.00019.30
8.2.20.0000.00817.84
8.2.10.0030.00518.05
8.2.00.0000.00817.92
8.1.280.0000.01425.92
8.1.270.0080.00023.99
8.1.260.0140.00326.35
8.1.250.0000.00728.09
8.1.240.0090.00024.02
8.1.230.0000.01221.10
8.1.220.0000.00818.77
8.1.210.0110.00518.77
8.1.200.0030.00617.61
8.1.190.0050.00317.66
8.1.180.0000.00818.10
8.1.170.0000.00818.78
8.1.160.0040.00419.00
8.1.150.0040.00418.86
8.1.140.0040.00417.69
8.1.130.0000.00717.93
8.1.120.0090.00317.71
8.1.110.0040.00417.63
8.1.100.0030.00617.61
8.1.90.0000.00717.60
8.1.80.0000.00817.65
8.1.70.0000.00717.61
8.1.60.0030.00617.59
8.1.50.0040.00417.69
8.1.40.0050.00317.66
8.1.30.0050.00317.72
8.1.20.0000.00817.89
8.1.10.0050.00317.71
8.1.00.0090.00017.65
8.0.300.0090.00420.07
8.0.290.0050.00217.18
8.0.280.0080.00018.41
8.0.270.0040.00417.37
8.0.260.0000.00617.10
8.0.250.0040.00417.23
8.0.240.0060.00317.19
8.0.230.0050.00317.21
8.0.220.0000.00717.21
8.0.210.0040.00417.07
8.0.200.0080.00016.98
8.0.190.0000.00817.10
8.0.180.0030.00517.09
8.0.170.0030.00617.03
8.0.160.0040.00417.05
8.0.150.0000.00717.07
8.0.140.0050.00217.07
8.0.130.0000.00713.45
8.0.120.0000.00817.10
8.0.110.0040.00416.96
8.0.100.0030.00516.93
8.0.90.0000.00717.20
8.0.80.0090.00917.16
8.0.70.0040.00417.08
8.0.60.0050.00317.03
8.0.50.0040.00417.03
8.0.30.0090.00917.22
8.0.20.0130.00617.40
8.0.10.0000.00717.15
8.0.00.0070.01316.89
7.4.330.0050.00016.80
7.4.320.0000.00816.93
7.4.300.0000.00616.91
7.4.290.0030.00316.88
7.4.280.0040.00416.81
7.4.270.0000.00716.81
7.4.260.0050.00013.63
7.4.250.0040.00416.76
7.4.240.0070.00016.81
7.4.230.0030.00316.89
7.4.220.0110.01416.83
7.4.210.0080.00916.90
7.4.200.0030.00317.02
7.4.190.0000.00816.70
7.4.160.0060.00916.55
7.4.150.0070.01017.40
7.4.140.0080.01317.86
7.4.130.0080.01216.62
7.4.120.0070.01316.71
7.4.110.0110.00716.79
7.4.100.0100.00916.84
7.4.90.0030.01616.79
7.4.80.0200.00019.39
7.4.70.0100.00716.91
7.4.60.0130.00316.97
7.4.50.0000.00916.81
7.4.40.0030.00722.77
7.4.30.0060.01516.70
7.4.10.0050.00914.96
7.4.00.0100.00615.16
7.3.330.0000.00513.52
7.3.320.0000.00513.33
7.3.310.0000.00816.54
7.3.300.0070.00016.55
7.3.290.0040.01116.53
7.3.280.0100.00716.54
7.3.270.0140.00917.40
7.3.260.0130.01018.24
7.3.250.0110.00916.68
7.3.240.0100.01016.54
7.3.230.0100.01016.55
7.3.210.0060.01216.60
7.3.200.0030.01419.39
7.3.190.0130.01016.69
7.3.180.0120.00616.59
7.3.170.0120.00916.61
7.3.160.0060.01016.75
7.3.130.0130.00015.20
7.3.120.0060.01015.07
7.3.110.0050.01014.90
7.3.100.0070.00514.85
7.3.90.0090.00515.00
7.3.80.0080.00515.16
7.3.70.0050.00914.88
7.3.60.0050.00915.15
7.3.50.0070.00914.85
7.3.40.0070.00815.08
7.3.30.0060.00615.07
7.3.20.0050.00916.82
7.3.10.0060.00616.86
7.3.00.0060.00716.90
7.2.330.0030.01416.69
7.2.320.0090.00917.00
7.2.310.0130.00716.85
7.2.300.0070.01016.97
7.2.290.0060.00916.91
7.2.260.0030.01015.20
7.2.250.0060.01015.23
7.2.240.0080.00915.05
7.2.230.0060.00815.02
7.2.220.0060.00815.15
7.2.210.0070.00915.07
7.2.200.0070.00415.15
7.2.190.0040.00715.15
7.2.180.0080.00615.19
7.2.170.0050.01115.35
7.2.160.0020.00915.25
7.2.150.0050.00617.21
7.2.140.0080.00417.22
7.2.130.0050.00817.08
7.2.120.0070.00617.00
7.2.110.0030.01017.08
7.2.100.0050.00717.05
7.2.90.0040.00817.13
7.2.80.0090.00517.03
7.2.70.0080.00417.06
7.2.60.0050.00817.11
7.2.50.0070.00417.17
7.2.40.0080.00516.98
7.2.30.0040.00917.13
7.2.20.0050.00716.98
7.2.10.0060.00817.11
7.2.00.0040.00817.67
7.1.330.0090.00515.96
7.1.320.0070.00615.95
7.1.310.0040.00816.06
7.1.300.0070.00516.00
7.1.290.0070.00815.96
7.1.280.0080.00415.82
7.1.270.0050.00715.91
7.1.260.0090.00416.06
7.1.250.0060.00516.02
7.1.240.0040.00916.07
7.1.230.0050.00915.95
7.1.220.0030.00815.82
7.1.210.0060.00616.10
7.1.200.0030.00916.08
7.1.190.0060.00516.09
7.1.180.0080.00516.13
7.1.170.0050.00515.82
7.1.160.0090.00415.96
7.1.150.0070.00515.94
7.1.140.0100.00316.08
7.1.130.0070.00315.97
7.1.120.0020.00715.80
7.1.110.0020.01215.88
7.1.100.0030.01016.03
7.1.90.0020.01115.83
7.1.80.0070.00316.09
7.1.70.0020.00916.47
7.1.60.0020.01116.59
7.1.50.0050.00816.29
7.1.40.0080.00616.36
7.1.30.0030.00816.26
7.1.20.0080.00416.29
7.1.10.0080.00616.07
7.1.00.0030.00916.26
7.0.330.0070.00315.61
7.0.320.0080.00315.58
7.0.310.0050.00515.52
7.0.300.0090.00215.49
7.0.290.0050.00715.48
7.0.280.0070.00215.59
7.0.270.0050.00615.50
7.0.260.0040.00715.74
7.0.250.0040.00515.69
7.0.240.0020.00815.58
7.0.230.0070.00415.59
7.0.220.0070.00715.64
7.0.210.0020.00915.62
7.0.200.0040.00815.99
7.0.190.0080.00416.11
7.0.180.0070.00315.84
7.0.170.0030.00915.96
7.0.160.0080.00416.03
7.0.150.0040.01015.92
7.0.140.0020.01015.98
7.0.130.0050.00515.88
7.0.120.0020.01116.17
7.0.110.0030.00815.92
7.0.100.0030.00915.79
7.0.90.0050.00415.93
7.0.80.0050.00716.04
7.0.70.0030.00615.72
7.0.60.0050.00715.75
7.0.50.0040.00615.80
7.0.40.0040.00714.15
7.0.30.0030.00514.18
7.0.20.0040.00614.12
7.0.10.0030.01014.12
7.0.00.0050.00614.16
5.6.400.0020.01114.57
5.6.390.0080.00314.76
5.6.380.0020.01114.50
5.6.370.0050.00614.60
5.6.360.0050.00714.62
5.6.350.0060.00714.60
5.6.340.0050.00514.71
5.6.330.0070.00414.43
5.6.320.0040.00614.63
5.6.310.0060.00814.81
5.6.300.0110.01516.51
5.6.290.0050.02016.57
5.6.280.0030.02116.69
5.6.270.0060.02016.66
5.6.260.0030.02016.75
5.6.250.0060.01916.67
5.6.240.0050.01816.71
5.6.230.0050.02116.72
5.6.220.0070.01516.71
5.6.210.0040.02016.60
5.6.200.0060.01916.73
5.6.190.0020.02316.62
5.6.180.0070.02316.69
5.6.170.0080.02016.68
5.6.160.0070.01716.55
5.6.150.0040.02016.65
5.6.140.0070.02116.55
5.6.130.0020.02316.63
5.6.120.0040.02016.52
5.6.110.0060.01916.58
5.6.100.0070.01916.68
5.6.90.0040.01916.79
5.6.80.0040.02416.52
5.6.70.0060.01716.31
5.6.60.0070.02016.26
5.6.50.0060.01616.22
5.6.40.0040.01916.33
5.6.30.0050.02116.31
5.6.20.0040.02116.40
5.6.10.0080.01416.25
5.6.00.0060.01616.31
5.5.380.0070.01615.53
5.5.370.0080.01615.48
5.5.360.0040.01815.55
5.5.350.0060.01915.50
5.5.340.0080.01815.52
5.5.330.0030.01715.62
5.5.320.0060.01915.77
5.5.310.0070.01715.40
5.5.300.0080.02615.74
5.5.290.0060.02215.73
5.5.280.0050.02115.68
5.5.270.0050.01915.65
5.5.260.0070.01715.54
5.5.250.0030.02215.64
5.5.240.0060.01915.31
5.5.230.0050.01815.44
5.5.220.0020.02115.49
5.5.210.0030.01915.34
5.5.200.0020.02115.32
5.5.190.0050.02115.37
5.5.180.0030.02415.22
5.5.170.0050.00914.33
5.5.160.0030.02015.43
5.5.150.0020.02115.51
5.5.140.0070.01815.39
5.5.130.0050.02015.22
5.5.120.0040.02315.34
5.5.110.0030.01815.24
5.5.100.0030.02415.33
5.5.90.0040.02015.45
5.5.80.0080.01415.46
5.5.70.0070.01315.32
5.5.60.0100.01515.45
5.5.50.0080.01315.25
5.5.40.0090.01815.37
5.5.30.0080.01615.45
5.5.20.0040.01915.29
5.5.10.0040.02115.28
5.5.00.0070.01915.41
5.4.450.0010.02113.82
5.4.440.0040.01814.11
5.4.430.0060.02014.13
5.4.420.0030.01813.91
5.4.410.0040.01613.91
5.4.400.0040.01613.88
5.4.390.0050.01813.81
5.4.380.0030.01713.87
5.4.370.0040.01613.88
5.4.360.0040.01813.78
5.4.350.0030.01813.84
5.4.340.0070.01613.89
5.4.330.0040.00511.32
5.4.320.0030.02013.79
5.4.310.0040.01913.85
5.4.300.0050.02013.74
5.4.290.0040.01813.90
5.4.280.0040.01813.95
5.4.270.0070.01513.69
5.4.260.0050.01913.87
5.4.250.0020.01713.75
5.4.240.0050.01713.74
5.4.230.0060.02013.67
5.4.220.0030.02013.83
5.4.210.0010.02113.74
5.4.200.0060.01713.79
5.4.190.0030.01813.88
5.4.180.0020.01913.72
5.4.170.0050.02413.71
5.4.160.0030.02013.70
5.4.150.0020.02213.83
5.4.140.0040.01613.21
5.4.130.0060.01513.02
5.4.120.0030.01712.97
5.4.110.0040.01713.01
5.4.100.0060.01413.05
5.4.90.0060.01513.02
5.4.80.0040.01813.03
5.4.70.0050.01712.95
5.4.60.0030.01613.02
5.4.50.0070.01412.89
5.4.40.0040.01813.06
5.4.30.0060.01512.98
5.4.20.0030.01812.91
5.4.10.0070.01412.99
5.4.00.0080.01812.82
5.3.290.0050.02512.24
5.3.280.0080.01512.13
5.3.270.0040.01912.27
5.3.260.0020.02012.29
5.3.250.0040.01812.25
5.3.240.0030.01712.05
5.3.230.0040.01712.10
5.3.220.0040.01612.24
5.3.210.0050.01612.30
5.3.200.0080.01612.24
5.3.190.0050.01512.17
5.3.180.0050.01512.22
5.3.170.0050.01612.20
5.3.160.0020.01712.24
5.3.150.0080.01612.33
5.3.140.0070.01612.23
5.3.130.0050.01612.26
5.3.120.0030.02012.28
5.3.110.0070.01512.30
5.3.100.0040.01712.21
5.3.90.0030.01812.28
5.3.80.0020.01912.19
5.3.70.0070.01412.12
5.3.60.0040.01812.05
5.3.50.0020.01812.06
5.3.40.0060.01512.17
5.3.30.0040.01512.08
5.3.20.0020.01912.19
5.3.10.0040.01912.14
5.3.00.0050.01612.05
5.2.170.0000.03215.25
5.2.160.0000.03415.25
5.2.150.0000.03315.25
5.2.140.0060.03515.25
5.2.130.0000.03115.25
5.2.120.0000.03415.25
5.2.110.0030.03015.25
5.2.100.0060.02815.25
5.2.90.0030.03015.25
5.2.80.0030.03315.25
5.2.70.0000.03615.25
5.2.60.0070.02715.25
5.2.50.0000.03715.25
5.2.40.0030.02715.25
5.2.30.0130.02215.25
5.2.20.0030.02715.25
5.2.10.0000.03215.25
5.2.00.0000.03315.25
5.1.60.0000.02915.25
5.1.50.0000.02915.25
5.1.40.0000.02615.25
5.1.30.0000.03215.25
5.1.20.0030.02515.25
5.1.10.0030.02415.25
5.1.00.0060.02215.25
5.0.50.0030.02215.25
5.0.40.0030.01815.25
5.0.30.0030.03515.25
5.0.20.0060.01515.25
5.0.10.0070.01715.25
5.0.00.0000.03215.25
4.4.90.0030.01615.25
4.4.80.0000.01915.25
4.4.70.0040.01915.25
4.4.60.0030.01715.25
4.4.50.0030.01715.25
4.4.40.0000.02615.25
4.4.30.0040.01515.25
4.4.20.0160.00715.25
4.4.10.0110.01415.25
4.4.00.0000.02615.25
4.3.110.0000.02415.25
4.3.100.0070.01315.25
4.3.90.0170.00715.25
4.3.80.0030.02315.25
4.3.70.0030.01315.25
4.3.60.0000.01715.25
4.3.50.0000.02615.25
4.3.40.0030.02215.25
4.3.30.0000.01815.25
4.3.20.0000.01815.25
4.3.10.0000.01815.25
4.3.00.0030.01315.25

preferences:
50.25 ms | 401 KiB | 5 Q