3v4l.org

run code in 300+ PHP versions simultaneously
<?php $vowels = array('a', 'e', 'i', 'o', 'u'); $string = "This string contains vowels, and will output the number of each it contains."; return array_count($vowels, $string);

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.0140.00718.55
8.3.50.0150.00421.93
8.3.40.0120.00318.83
8.3.30.0140.00019.02
8.3.20.0040.00420.17
8.3.10.0100.00020.71
8.3.00.0080.00023.66
8.2.180.0040.01116.63
8.2.170.0100.00722.96
8.2.160.0100.00322.25
8.2.150.0000.00824.18
8.2.140.0000.00824.66
8.2.130.0040.00421.00
8.2.120.0040.00426.35
8.2.110.0060.00319.26
8.2.100.0000.01117.80
8.2.90.0040.00419.17
8.2.80.0000.00817.97
8.2.70.0000.00917.63
8.2.60.0000.00917.93
8.2.50.0050.00318.09
8.2.40.0000.00720.39
8.2.30.0040.00419.36
8.2.20.0040.00417.57
8.2.10.0040.00417.94
8.2.00.0040.00417.95
8.1.280.0040.01125.92
8.1.270.0120.00622.14
8.1.260.0040.00428.09
8.1.250.0000.00828.09
8.1.240.0060.00322.34
8.1.230.0040.00817.71
8.1.220.0080.00017.74
8.1.210.0040.00418.77
8.1.200.0030.00717.36
8.1.190.0000.00817.36
8.1.180.0050.00318.10
8.1.170.0070.00318.65
8.1.160.0050.00220.64
8.1.150.0040.00420.52
8.1.140.0000.00919.39
8.1.130.0030.00317.63
8.1.120.0050.00217.40
8.1.110.0040.00417.41
8.1.100.0000.00717.29
8.1.90.0000.00717.32
8.1.80.0040.00417.41
8.1.70.0040.00417.36
8.1.60.0030.00617.41
8.1.50.0040.00417.45
8.1.40.0060.00317.46
8.1.30.0040.00417.66
8.1.20.0030.00517.50
8.1.10.0040.00417.46
8.1.00.0080.00017.39
8.0.300.0000.00818.77
8.0.290.0030.00516.75
8.0.280.0000.00718.30
8.0.270.0000.00717.20
8.0.260.0030.00317.19
8.0.250.0050.00216.91
8.0.240.0040.00416.88
8.0.230.0080.00016.91
8.0.220.0000.00716.86
8.0.210.0000.00816.74
8.0.200.0000.00616.84
8.0.190.0050.00316.91
8.0.180.0020.00516.83
8.0.170.0030.00516.82
8.0.160.0070.00016.91
8.0.150.0020.00516.73
8.0.140.0050.00316.81
8.0.130.0060.00013.30
8.0.120.0000.00816.75
8.0.110.0000.00716.84
8.0.100.0070.00016.79
8.0.90.0040.00416.87
8.0.80.0130.00316.91
8.0.70.0040.00416.68
8.0.60.0040.00416.96
8.0.50.0030.00516.88
8.0.30.0110.00616.98
8.0.20.0070.01217.40
8.0.10.0040.00416.80
8.0.00.0100.00916.63
7.4.330.0000.00616.89
7.4.320.0060.00016.54
7.4.300.0030.00316.60
7.4.290.0000.00816.61
7.4.280.0040.00416.48
7.4.270.0070.00016.61
7.4.260.0030.00716.58
7.4.250.0080.00016.57
7.4.240.0080.00016.46
7.4.230.0000.00716.67
7.4.220.0070.01116.38
7.4.210.0030.01016.44
7.4.200.0050.00216.25
7.4.160.0120.00316.61
7.4.150.0000.01817.40
7.4.140.0140.00917.86
7.4.130.0150.00816.53
7.4.120.0140.00616.37
7.4.110.0070.01016.39
7.4.100.0130.00616.67
7.4.90.0100.01016.44
7.4.80.0120.00619.39
7.4.70.0070.01016.33
7.4.60.0080.01116.57
7.4.50.0030.01416.62
7.4.40.0100.00616.54
7.4.30.0070.01016.25
7.4.00.0070.00714.98
7.3.330.0030.00513.00
7.3.320.0050.00013.10
7.3.310.0040.00416.34
7.3.300.0040.00416.19
7.3.290.0060.01016.26
7.3.280.0100.00616.32
7.3.270.0050.01317.40
7.3.260.0080.01116.34
7.3.250.0090.01116.30
7.3.240.0110.00616.48
7.3.230.0090.01416.39
7.3.210.0140.00316.45
7.3.200.0060.00916.31
7.3.190.0090.00616.55
7.3.180.0130.00316.57
7.3.170.0130.00316.20
7.3.160.0140.00316.33
7.2.330.0110.00716.39
7.2.320.0090.01316.57
7.2.310.0130.00916.56
7.2.300.0060.01016.20
7.2.290.0120.00916.51
7.2.60.0060.00616.58
7.2.00.0250.00718.46
7.1.200.0090.00315.65
7.1.100.0060.00918.01
7.1.70.0000.00917.02
7.1.60.0090.01619.19
7.1.50.0040.00716.93
7.1.00.0030.07322.42
7.0.200.0140.00314.80
7.0.60.0100.06021.71
7.0.50.0030.07317.75
7.0.40.0070.06020.40
7.0.30.0500.07020.00
7.0.20.0370.07319.99
7.0.10.0030.04320.00
7.0.00.0100.04720.16
5.6.280.0000.03320.81
5.6.210.0100.08020.64
5.6.200.0070.07718.21
5.6.190.0130.08020.56
5.6.180.0300.04720.64
5.6.170.0300.07320.52
5.6.160.0100.05320.51
5.6.150.0030.06018.18
5.6.140.0070.04318.21
5.6.130.0030.04718.22
5.6.120.0030.05320.96
5.6.110.0100.08020.99
5.6.100.0070.05720.97
5.6.90.0030.08720.87
5.6.80.0100.06720.36
5.5.350.0100.04720.37
5.5.340.0100.04717.98
5.5.330.0070.04720.40
5.5.320.0270.04320.13
5.5.310.0370.06320.27
5.5.300.0030.08017.98
5.5.290.0070.06317.98
5.5.280.0100.04320.76
5.5.270.0130.08020.76
5.5.260.0070.05320.86
5.5.250.0070.07720.73
5.5.240.0030.07320.25

preferences:
62.28 ms | 401 KiB | 5 Q