3v4l.org

run code in 300+ PHP versions simultaneously
<?php // string, null, bool, float, largest specified previous index function isIndexedArray($array) { return !(bool)count(array_filter(array_keys($array), 'is_string')); } (isIndexedArray(null) === false);

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.0110.00416.38
8.3.50.0070.01418.17
8.3.40.0120.00618.54
8.3.30.0040.01118.70
8.3.20.0050.00320.16
8.3.10.0040.00423.52
8.3.00.0040.00419.26
8.2.180.0190.00016.88
8.2.170.0090.00622.96
8.2.160.0100.00320.48
8.2.150.0050.00324.18
8.2.140.0060.00324.66
8.2.130.0060.00317.50
8.2.120.0070.00026.35
8.2.110.0060.00320.45
8.2.100.0060.00617.78
8.2.90.0050.00319.05
8.2.80.0090.00017.97
8.2.70.0040.00417.50
8.2.60.0000.00918.04
8.2.50.0030.00618.07
8.2.40.0000.00719.53
8.2.30.0040.00420.49
8.2.20.0090.00017.68
8.2.10.0040.00417.87
8.2.00.0060.00318.04
8.1.270.0030.00623.88
8.1.260.0040.00428.09
8.1.250.0080.00028.09
8.1.240.0050.00524.03
8.1.230.0080.00419.41
8.1.220.0040.00417.74
8.1.210.0080.00018.77
8.1.200.0000.00917.23
8.1.190.0000.00917.10
8.1.180.0040.00418.10
8.1.170.0060.00318.69
8.1.160.0000.00721.94
8.1.150.0070.00018.77
8.1.140.0040.00419.36
8.1.130.0070.00017.48
8.1.120.0000.00717.22
8.1.110.0050.00317.37
8.1.100.0050.00217.36
8.1.90.0070.00017.25
8.1.80.0080.00017.30
8.1.70.0070.00017.27
8.1.60.0030.00517.54
8.1.50.0120.00017.34
8.1.40.0000.00917.34
8.1.30.0000.00817.63
8.1.20.0040.00417.48
8.1.10.0050.00217.48
8.1.00.0070.00417.30
8.0.300.0000.00818.77
8.0.290.0040.00416.75
8.0.280.0000.00718.37
8.0.270.0070.00017.17
8.0.260.0060.00017.06
8.0.250.0000.00716.82
8.0.240.0070.00016.96
8.0.230.0030.00316.89
8.0.220.0000.00716.85
8.0.210.0070.00016.88
8.0.200.0030.00316.83
8.0.190.0030.00516.88
8.0.180.0040.00416.80
8.0.170.0040.00416.89
8.0.160.0040.00416.78
8.0.150.0030.00316.78
8.0.140.0000.00716.77
8.0.130.0000.00513.39
8.0.120.0050.00316.89
8.0.110.0000.00816.79
8.0.100.0000.00716.75
8.0.90.0040.00416.88
8.0.80.0060.00916.90
8.0.70.0000.00816.89
8.0.60.0040.00416.78
8.0.50.0040.00416.75
8.0.30.0100.00716.99
8.0.20.0090.01017.40
8.0.10.0000.00716.76
8.0.00.0100.01016.60
7.4.330.0050.00016.78
7.4.320.0000.00616.53
7.4.300.0000.00716.58
7.4.290.0030.00516.44
7.4.280.0050.00316.53
7.4.270.0040.00416.54
7.4.260.0000.00716.47
7.4.250.0030.00516.43
7.4.240.0020.00516.48
7.4.230.0030.00316.59
7.4.220.0070.01116.50
7.4.210.0030.01016.40
7.4.200.0030.00316.36
7.4.160.0060.00916.43
7.4.150.0060.01217.40
7.4.140.0220.01117.86
7.4.130.0130.01016.51
7.4.120.0120.00516.64
7.4.110.0110.00516.55
7.4.100.0150.00316.48
7.4.90.0140.00416.30
7.4.80.0040.02119.39
7.4.70.0070.01116.50
7.4.60.0130.00316.54
7.4.50.0070.00716.33
7.4.40.0060.01216.36
7.4.30.0080.00816.50
7.4.00.0070.01014.93
7.3.330.0050.00013.11
7.3.320.0000.00513.22
7.3.310.0000.00716.28
7.3.300.0070.00016.15
7.3.290.0090.00616.28
7.3.280.0100.01016.32
7.3.270.0110.00817.40
7.3.260.0090.00916.51
7.3.240.0120.00816.44
7.3.230.0070.01116.53
7.3.210.0100.00616.53
7.3.200.0130.00316.57
7.3.190.0100.00716.30
7.3.180.0080.00816.59
7.3.170.0090.01516.41
7.3.160.0100.00616.43
7.3.10.0030.01316.30
7.3.00.0140.00316.61
7.2.330.0030.01316.42
7.2.320.0060.02016.66
7.2.310.0160.00316.38
7.2.300.0090.01016.70
7.2.290.0100.00716.71
7.2.130.0090.00616.89
7.2.120.0090.00616.86
7.2.110.0100.00716.64
7.2.100.0040.00816.55
7.2.90.0120.00316.96
7.2.80.0070.00717.02
7.2.70.0030.00716.89
7.2.60.0090.00316.96
7.2.50.0100.00716.76
7.2.40.0040.00816.93
7.2.30.0070.00716.82
7.2.20.0090.00016.85
7.2.10.0070.00416.89
7.2.00.0070.00718.42
7.1.250.0030.01015.74
7.1.200.0060.00615.79
7.1.100.0060.00618.25
7.1.70.0090.00317.29
7.1.60.0110.01419.12
7.1.50.0070.01116.87
7.1.00.0030.07722.36
7.0.200.0060.00916.71
7.0.60.0100.06719.82
7.0.50.0070.04717.89
7.0.40.0070.06020.05
7.0.30.0330.06720.34
7.0.20.0170.05020.21
7.0.10.0030.05720.05
7.0.00.0070.09020.07
5.6.280.0000.05320.91
5.6.210.0130.07320.47
5.6.200.0130.03718.29
5.6.190.0070.08720.61
5.6.180.0130.08020.77
5.6.170.0300.06020.62
5.6.160.0130.06320.52
5.6.150.0070.04718.18
5.6.140.0030.05718.15
5.6.130.0030.08318.13
5.6.120.0100.06721.04
5.6.110.0030.08321.09
5.6.100.0030.04021.01
5.6.90.0000.05021.00
5.6.80.0100.06020.39
5.5.350.4300.04020.32
5.5.340.0130.07018.05
5.5.330.0030.04320.47
5.5.320.0030.08720.37
5.5.310.0270.05020.28
5.5.300.0100.03317.94
5.5.290.0100.07717.94
5.5.280.0070.04320.77
5.5.270.0070.04720.68
5.5.260.0130.07720.73
5.5.250.0000.04720.66
5.5.240.0370.06320.24

preferences:
58.04 ms | 400 KiB | 5 Q