3v4l.org

run code in 300+ PHP versions simultaneously
<?php function Syllables($string) { $syllables = array ( 'dn\'t|eau|iou|ouy|you|bl', '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.70.0170.00317.13
8.3.60.0110.00318.54
8.3.50.0240.00922.27
8.3.40.0170.00319.04
8.3.30.0040.01520.18
8.3.20.0120.00819.14
8.3.10.0050.00321.23
8.3.00.0090.00919.68
8.2.180.0130.01017.13
8.2.170.0040.01122.96
8.2.160.0070.01120.37
8.2.150.0080.00024.18
8.2.140.0070.00024.66
8.2.130.0000.00826.16
8.2.120.0040.00419.89
8.2.110.0060.00322.29
8.2.100.0040.00817.91
8.2.90.0040.00419.42
8.2.80.0000.00719.40
8.2.70.0110.00017.61
8.2.60.0040.00417.93
8.2.50.0090.00018.07
8.2.40.0060.00320.20
8.2.30.0050.00319.49
8.2.20.0040.00417.89
8.2.10.0050.00318.11
8.2.00.0000.00917.98
8.1.280.0070.00725.92
8.1.270.0040.00423.99
8.1.260.0040.00426.35
8.1.250.0070.00728.09
8.1.240.0040.00422.60
8.1.230.0070.00420.99
8.1.220.0080.00018.77
8.1.210.0040.00419.10
8.1.200.0030.00617.48
8.1.190.0050.00317.78
8.1.180.0080.00018.10
8.1.170.0040.00418.77
8.1.160.0040.00419.00
8.1.150.0000.00818.81
8.1.140.0000.00717.70
8.1.130.0000.00819.50
8.1.120.0030.00717.65
8.1.110.0000.00717.66
8.1.100.0060.00317.67
8.1.90.0050.00217.61
8.1.80.0050.00317.53
8.1.70.0030.00317.57
8.1.60.0030.00617.70
8.1.50.0030.00617.66
8.1.40.0040.00417.70
8.1.30.0000.00817.72
8.1.20.0080.00017.77
8.1.10.0000.00717.64
8.1.00.0070.00317.65
8.0.300.0000.00820.16
8.0.290.0040.00417.30
8.0.280.0000.00718.54
8.0.270.0000.00717.26
8.0.260.0030.00317.05
8.0.250.0000.00717.07
8.0.240.0080.00017.10
8.0.230.0000.00817.07
8.0.220.0040.00417.22
8.0.210.0030.00317.21
8.0.200.0070.00017.19
8.0.190.0070.00017.17
8.0.180.0020.00517.15
8.0.170.0000.00816.93
8.0.160.0080.00017.17
8.0.150.0030.00316.83
8.0.140.0000.00717.02
8.0.130.0060.00013.54
8.0.120.0080.00016.93
8.0.110.0030.00517.13
8.0.100.0040.00416.96
8.0.90.0040.00417.23
8.0.80.0070.01317.13
8.0.70.0070.00016.93
8.0.60.0040.00416.93
8.0.50.0040.00417.14
8.0.30.0150.00417.37
8.0.20.0120.01017.40
8.0.10.0070.00017.14
8.0.00.0070.01316.98
7.4.330.0000.00516.80
7.4.320.0030.00316.79
7.4.300.0040.00416.86
7.4.290.0070.00016.82
7.4.280.0030.00316.89
7.4.270.0030.00316.82
7.4.260.0030.00313.59
7.4.250.0060.00316.84
7.4.240.0000.00716.80
7.4.230.0030.00317.02
7.4.220.0110.00816.75
7.4.210.0080.00616.89
7.4.200.0080.00016.89
7.4.190.0000.00716.97
7.4.160.0060.00916.85
7.4.150.0140.01117.40
7.4.140.0060.01317.86
7.4.130.0100.00916.83
7.4.120.0100.01016.74
7.4.110.0080.01116.95
7.4.100.0100.01116.75
7.4.90.0190.00316.66
7.4.80.0140.00819.39
7.4.70.0100.00716.71
7.4.60.0070.01016.91
7.4.50.0040.00416.80
7.4.40.0040.01122.77
7.4.30.0090.00916.82
7.4.10.0060.01316.57
7.4.00.0030.01215.79
7.3.330.0050.00013.59
7.3.320.0060.00013.39
7.3.310.0070.00016.58
7.3.300.0000.00616.41
7.3.290.0030.01016.53
7.3.280.0090.00616.56
7.3.270.0100.01617.40
7.3.260.0120.01118.24
7.3.250.0050.01216.59
7.3.240.0060.01016.81
7.3.230.0060.01116.83
7.3.210.0150.00316.65
7.3.200.0100.00716.73
7.3.190.0060.01216.83
7.3.180.0090.00916.64
7.3.170.0090.00616.60
7.3.160.0030.01316.79
7.3.130.0030.01016.41
7.3.120.0060.00615.79
7.3.110.0110.00316.62
7.3.100.0100.00716.49
7.3.90.0100.00616.41
7.3.80.0090.00616.92
7.3.70.0100.00716.40
7.3.60.0000.01216.55
7.3.50.0070.00716.52
7.3.40.0030.01016.54
7.3.30.0100.00316.52
7.3.20.0070.01318.49
7.3.10.0080.00617.46
7.3.00.0050.01017.74
7.2.330.0070.01416.61
7.2.320.0090.00916.70
7.2.310.0030.01716.84
7.2.300.0110.00716.84
7.2.290.0090.01316.76
7.2.260.0090.00916.89
7.2.250.0100.00616.77
7.2.240.0040.01116.81
7.2.230.0040.00716.99
7.2.220.0070.01016.66
7.2.210.0100.00716.95
7.2.200.0080.01416.70
7.2.190.0030.01016.75
7.2.180.0070.00416.83
7.2.170.0030.01316.60
7.2.160.0040.01116.64
7.2.150.0030.00918.79
7.2.140.0070.00718.51
7.2.130.0090.00517.76
7.2.120.0070.00917.83
7.2.110.0060.00817.77
7.2.100.0080.00717.58
7.2.90.0090.00517.74
7.2.80.0050.01017.93
7.2.70.0080.00917.66
7.2.60.0080.00817.54
7.2.50.0070.01217.67
7.2.40.0070.01217.77
7.2.30.0070.00717.98
7.2.20.0100.00617.58
7.2.10.0070.01017.87
7.2.00.0110.00818.47
7.1.330.0080.00817.73
7.1.320.0030.00617.67
7.1.310.0090.00617.68
7.1.300.0060.00617.35
7.1.290.0070.00717.61
7.1.280.0060.00617.66
7.1.270.0060.01017.47
7.1.260.0030.00717.43
7.1.250.0110.00516.71
7.1.240.0050.00916.79
7.1.230.0050.00916.75
7.1.220.0100.00516.71
7.1.210.0100.00716.72
7.1.200.0090.00416.52
7.1.190.0080.00816.84
7.1.180.0100.00616.67
7.1.170.0050.01116.63
7.1.160.0100.00716.64
7.1.150.0080.00916.66
7.1.140.0120.00616.63
7.1.130.0080.00716.59
7.1.120.0110.00516.78
7.1.110.0110.00716.80
7.1.100.0050.01116.73
7.1.90.0120.00616.60
7.1.80.0120.00316.76
7.1.70.0070.00616.97
7.1.60.0070.00717.07
7.1.50.0120.00316.86
7.1.40.0120.00316.82
7.1.30.0070.00816.72
7.1.20.0100.00516.85
7.1.10.0050.00816.83
7.1.00.0060.00816.84
7.0.330.0080.01016.40
7.0.320.0080.00516.15
7.0.310.0080.00716.30
7.0.300.0100.00716.36
7.0.290.0090.00716.30
7.0.280.0090.00716.36
7.0.270.0070.00916.30
7.0.260.0090.00916.25
7.0.250.0050.01316.31
7.0.240.0100.00716.24
7.0.230.0130.00616.49
7.0.220.0070.00716.22
7.0.210.0110.00616.36
7.0.200.0060.00716.63
7.0.190.0050.00716.57
7.0.180.0110.00416.51
7.0.170.0040.00816.43
7.0.160.0060.00816.33
7.0.150.0070.00716.53
7.0.140.0090.00516.55
7.0.130.0090.00916.50
7.0.120.0070.00516.43
7.0.110.0130.00316.41
7.0.100.0080.00616.46
7.0.90.0060.00716.34
7.0.80.0070.00516.37
7.0.70.0100.00416.35
7.0.60.0110.00316.36
7.0.50.0080.00716.52
7.0.40.0040.00915.10
7.0.30.0080.00815.14
7.0.20.0090.00414.99
7.0.10.0080.00615.02
7.0.00.0040.00715.04
5.6.400.0080.00416.17
5.6.390.0070.01016.09
5.6.380.0020.01215.06
5.6.370.0070.01015.05
5.6.360.0090.01015.14
5.6.350.0090.00815.12
5.6.340.0090.00915.04
5.6.330.0090.01015.29
5.6.320.0120.00414.89
5.6.310.0130.00415.14
5.6.300.0080.01717.05
5.6.290.0080.02017.22
5.6.280.0080.01817.15
5.6.270.0080.02217.07
5.6.260.0150.01617.11
5.6.250.0110.01717.00
5.6.240.0030.02317.19
5.6.230.0020.02417.17
5.6.220.0040.02117.01
5.6.210.0060.01917.11
5.6.200.0090.01817.20
5.6.190.0080.01917.18
5.6.180.0040.02317.11
5.6.170.0040.02317.06
5.6.160.0080.02616.98
5.6.150.0060.02316.95
5.6.140.0070.02017.06
5.6.130.0060.02117.34
5.6.120.0130.02117.16
5.6.110.0120.02117.07
5.6.100.0100.01917.05
5.6.90.0060.02517.14
5.6.80.0100.01817.00
5.6.70.0120.01916.91
5.6.60.0110.01916.94
5.6.50.0080.02416.80
5.6.40.0090.02116.90
5.6.30.0050.02217.04
5.6.20.0100.02116.77
5.6.10.0090.02316.81
5.6.00.0100.01616.82
5.5.380.0010.02114.95
5.5.370.0080.01514.93
5.5.360.0060.01815.07
5.5.350.0070.01614.96
5.5.340.0050.01915.06
5.5.330.0060.01915.01
5.5.320.0040.01914.94
5.5.310.0030.02215.21
5.5.300.0020.02115.13
5.5.290.0080.01615.02
5.5.280.0070.01915.07
5.5.270.0050.02015.06
5.5.260.0100.01714.97
5.5.250.0070.01915.08
5.5.240.0070.02014.85
5.5.230.0070.01814.84
5.5.220.0080.01714.84
5.5.210.0100.01714.85
5.5.200.0050.01814.91
5.5.190.0050.02014.91
5.5.180.0100.02014.75
5.5.170.0120.00113.52
5.5.160.0060.01814.83
5.5.150.0050.01914.86
5.5.140.0010.02014.77
5.5.130.0060.01914.67
5.5.120.0090.01714.81
5.5.110.0050.01814.93
5.5.100.0060.02014.79
5.5.90.0070.01914.70
5.5.80.0050.01614.77
5.5.70.0030.02014.78
5.5.60.0060.01614.73
5.5.50.0080.01714.82
5.5.40.0060.01714.77
5.5.30.0040.01914.72
5.5.20.0080.01714.64
5.5.10.0030.02014.92
5.5.00.0030.01914.76
5.4.450.0040.01914.61
5.4.440.0050.01614.50
5.4.430.0040.01914.46
5.4.420.0060.01714.61
5.4.410.0070.01914.46
5.4.400.0020.02114.40
5.4.390.0060.01714.32
5.4.380.0070.01814.22
5.4.370.0060.01514.18
5.4.360.0050.01614.14
5.4.350.0060.01714.16
5.4.340.0040.01914.35
5.4.330.0080.00312.04
5.4.320.0070.01514.27
5.4.310.0040.01814.43
5.4.300.0030.01814.30
5.4.290.0050.02014.19
5.4.280.0070.01714.18
5.4.270.0070.01614.35
5.4.260.0060.01814.17
5.4.250.0040.01614.23
5.4.240.0040.02014.25
5.4.230.0070.01614.22
5.4.220.0040.01914.20
5.4.210.0060.01814.23
5.4.200.0040.01814.28
5.4.190.0020.01814.36
5.4.180.0020.02014.37
5.4.170.0040.01714.31
5.4.160.0040.01614.18
5.4.150.0030.01714.23
5.4.140.0040.01813.45
5.4.130.0040.01713.54
5.4.120.0050.01613.57
5.4.110.0060.03013.55
5.4.100.0070.02013.43
5.4.90.0070.01313.51
5.4.80.0060.01613.59
5.4.70.0020.02013.57
5.4.60.0060.02213.46
5.4.50.0030.03213.48
5.4.40.0070.02013.53
5.4.30.0050.02913.47
5.4.20.0030.02013.42
5.4.10.0070.01413.49
5.4.00.0060.01513.43
5.3.290.0080.01713.39
5.3.280.0110.01913.31
5.3.270.0020.02013.39
5.3.260.0040.02013.49
5.3.250.0030.01713.52
5.3.240.0060.01613.38
5.3.230.0010.01913.42
5.3.220.0030.01813.45
5.3.210.0050.03013.40
5.3.200.0070.02513.47
5.3.190.0020.02113.50
5.3.180.0030.02013.52
5.3.170.0060.01913.53
5.3.160.0040.02113.51
5.3.150.0030.02513.51
5.3.140.0040.02813.59
5.3.130.0060.01813.47
5.3.120.0020.02113.41
5.3.110.0020.02113.45
5.3.100.0080.01413.50
5.3.90.0030.01713.55
5.3.80.0020.01913.44
5.3.70.0070.01513.38
5.3.60.0000.02113.33
5.3.50.0070.01513.43
5.3.40.0080.02113.41
5.3.30.0050.01413.34
5.3.20.0020.01813.49
5.3.10.0050.02513.33
5.3.00.0020.02213.27
5.2.170.0080.01412.90
5.2.160.0020.02213.05
5.2.150.0070.02412.92
5.2.140.0080.01613.04
5.2.130.0040.01912.88
5.2.120.0060.01513.03
5.2.110.0030.02713.05
5.2.100.0020.02012.88
5.2.90.0050.01713.09
5.2.80.0020.02012.97
5.2.70.0000.02412.94
5.2.60.0070.01512.91
5.2.50.0070.01313.01
5.2.40.0030.01712.91
5.2.30.0060.01813.05
5.2.20.0090.01312.96
5.2.10.0040.01812.90
5.2.00.0080.01312.84
5.1.60.0080.01212.76
5.1.50.0060.01312.76
5.1.40.0050.01512.76
5.1.30.0050.01612.76
5.1.20.0050.01512.76
5.1.10.0070.01212.76
5.1.00.0030.01612.76
5.0.50.0060.01712.76
5.0.40.0070.01112.76
5.0.30.0070.01512.76
5.0.20.0020.01412.76
5.0.10.0040.01212.76
5.0.00.0020.01912.76
4.4.90.0050.00812.76
4.4.80.0000.01412.76
4.4.70.0010.01812.76
4.4.60.0050.01412.76
4.4.50.0020.01112.76
4.4.40.0020.01812.76
4.4.30.0020.01112.76
4.4.20.0000.01312.76
4.4.10.0010.01212.76
4.4.00.0050.01212.76
4.3.110.0010.01812.76
4.3.100.0030.01012.76
4.3.90.0040.01012.76
4.3.80.0020.01512.76
4.3.70.0020.01012.76
4.3.60.0020.01812.76
4.3.50.0030.01212.76
4.3.40.0000.01612.76
4.3.30.0000.01312.76
4.3.20.0050.01012.76
4.3.10.0040.01012.76
4.3.00.0060.01312.76

preferences:
57.12 ms | 401 KiB | 5 Q