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);

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.0120.00816.88
8.3.50.0100.01122.11
8.3.40.0110.00418.64
8.3.30.0040.01118.84
8.3.20.0050.00220.37
8.3.10.0050.00323.48
8.3.00.0090.00019.38
8.2.180.0150.00016.50
8.2.170.0160.00022.96
8.2.160.0090.00620.39
8.2.150.0050.00324.18
8.2.140.0100.00024.66
8.2.130.0040.00417.37
8.2.120.0080.00026.35
8.2.110.0040.00422.08
8.2.100.0110.00017.97
8.2.90.0030.00519.05
8.2.80.0090.00017.97
8.2.70.0030.00617.34
8.2.60.0030.00617.92
8.2.50.0000.00918.07
8.2.40.0040.00419.31
8.2.30.0000.00720.57
8.2.20.0050.00517.69
8.2.10.0040.00418.04
8.2.00.0070.00017.98
8.1.280.0070.01025.92
8.1.270.0090.00023.91
8.1.260.0040.00428.09
8.1.250.0050.00328.09
8.1.240.0060.00321.97
8.1.230.0080.00319.08
8.1.220.0000.00817.74
8.1.210.0090.00018.77
8.1.200.0090.00017.10
8.1.190.0050.00317.00
8.1.180.0040.00418.10
8.1.170.0030.00620.33
8.1.160.0040.00421.86
8.1.150.0000.00818.67
8.1.140.0000.00819.31
8.1.130.0040.00417.56
8.1.120.0000.00817.32
8.1.110.0040.00417.33
8.1.100.0000.00717.34
8.1.90.0000.00717.32
8.1.80.0050.00317.30
8.1.70.0030.00317.21
8.1.60.0070.00317.50
8.1.50.0070.00317.45
8.1.40.0000.00817.31
8.1.30.0100.00417.47
8.1.20.0030.00617.57
8.1.10.0040.00417.52
8.1.00.0060.00617.41
8.0.300.0000.00718.77
8.0.290.0060.00316.75
8.0.280.0070.00018.41
8.0.270.0030.00317.17
8.0.260.0030.00317.23
8.0.250.0000.00716.93
8.0.240.0040.00416.82
8.0.230.0040.00417.05
8.0.220.0000.01116.90
8.0.210.0000.00716.78
8.0.200.0000.00716.88
8.0.190.0040.00416.86
8.0.180.0070.00016.95
8.0.170.0030.00616.90
8.0.160.0030.00316.79
8.0.150.0030.00316.86
8.0.140.0000.00716.70
8.0.130.0030.00313.24
8.0.120.0060.00316.80
8.0.110.0000.00716.89
8.0.100.0040.00416.71
8.0.90.0040.00416.92
8.0.80.0100.00516.85
8.0.70.0000.00716.91
8.0.60.0040.00416.75
8.0.50.0040.00416.91
8.0.30.0070.01116.98
8.0.20.0120.00717.40
8.0.10.0040.00416.99
8.0.00.0100.01016.76
7.4.330.0000.00516.82
7.4.320.0040.00416.48
7.4.300.0000.00716.43
7.4.290.0070.00016.41
7.4.280.0040.00416.42
7.4.270.0000.00716.55
7.4.260.0000.00716.51
7.4.250.0030.00516.32
7.4.240.0040.00416.37
7.4.230.0070.00016.55
7.4.220.0030.01516.54
7.4.210.0040.01116.46
7.4.200.0030.00316.52
7.4.160.0070.01016.41
7.4.150.0030.01617.40
7.4.140.0170.00317.86
7.4.130.0130.00316.33
7.4.120.0110.00716.55
7.4.110.0090.00916.58
7.4.100.0100.01016.54
7.4.90.0090.00916.51
7.4.80.0140.00319.39
7.4.70.0030.01716.39
7.4.60.0060.00916.44
7.4.50.0090.00916.55
7.4.40.0150.00616.45
7.4.30.0060.01016.44
7.4.00.0030.00914.66
7.3.330.0030.00413.29
7.3.320.0020.00213.26
7.3.310.0000.00716.29
7.3.300.0070.00016.16
7.3.290.0080.00916.29
7.3.280.0070.00916.27
7.3.270.0070.01017.40
7.3.260.0100.01016.51
7.3.240.0160.00316.33
7.3.230.0090.00916.44
7.3.210.0080.00816.25
7.3.200.0120.00616.40
7.3.190.0030.02016.39
7.3.180.0120.00616.32
7.3.170.0060.01216.59
7.3.160.0090.00616.38
7.2.330.0120.00616.54
7.2.320.0000.01816.70
7.2.310.0060.01216.75
7.2.300.0130.01016.73
7.2.290.0070.01016.49
7.2.60.0100.00517.01
7.2.00.0040.00819.19
7.1.200.0160.00515.32
7.1.100.0060.00618.21
7.1.70.0040.00417.19
7.1.60.0060.01919.12
7.1.50.0060.00616.63
7.1.00.0030.07722.54
7.0.200.0040.00416.71
7.0.60.0100.03719.96
7.0.50.0000.06317.87
7.0.40.0130.07720.05
7.0.30.0200.06720.23
7.0.20.0230.07020.30
7.0.10.0070.08720.07
7.0.00.0030.04020.07
5.6.280.0030.04321.15
5.6.210.0030.04720.57
5.6.200.0030.07018.29
5.6.190.0130.06320.42
5.6.180.0200.06020.34
5.6.170.0200.03720.50
5.6.160.0130.05020.61
5.6.150.0000.04318.18
5.6.140.0130.06018.21
5.6.130.0170.07318.18
5.6.120.0070.08321.00
5.6.110.0170.07320.98
5.6.100.0100.08021.05
5.6.90.0030.05321.13
5.6.80.0130.06020.43
5.5.350.3900.04320.32
5.5.340.0030.04717.93
5.5.330.0070.05320.41
5.5.320.0070.08020.23
5.5.310.0170.05020.41
5.5.300.0030.08317.98
5.5.290.0070.03717.98
5.5.280.0100.07320.80
5.5.270.0070.08720.76
5.5.260.0070.05720.68
5.5.250.0100.08020.78
5.5.240.0200.08320.04

preferences:
45.27 ms | 401 KiB | 5 Q