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')); } assert(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.0120.00316.50
8.3.50.0300.00922.05
8.3.40.0090.01218.82
8.3.30.0040.01118.54
8.3.20.0040.00420.34
8.3.10.0040.00423.52
8.3.00.0000.00819.38
8.2.180.0140.00718.66
8.2.170.0070.01122.96
8.2.160.0100.00320.57
8.2.150.0080.00024.18
8.2.140.0050.00324.66
8.2.130.0060.00317.46
8.2.120.0040.00426.35
8.2.110.0050.00522.11
8.2.100.0090.00318.03
8.2.90.0040.00419.28
8.2.80.0050.00317.97
8.2.70.0050.00317.50
8.2.60.0040.00418.04
8.2.50.0060.00318.07
8.2.40.0040.00419.40
8.2.30.0030.00520.55
8.2.20.0030.00617.59
8.2.10.0050.00317.98
8.2.00.0040.00417.92
8.1.280.0110.00725.92
8.1.270.0040.00423.74
8.1.260.0070.00028.09
8.1.250.0070.00028.09
8.1.240.0040.00423.77
8.1.230.0070.00419.09
8.1.220.0000.00817.74
8.1.210.0060.00318.77
8.1.200.0100.00017.25
8.1.190.0060.00317.23
8.1.180.0050.00318.10
8.1.170.0050.00318.77
8.1.160.0040.00421.98
8.1.150.0050.00218.70
8.1.140.0000.00819.45
8.1.130.0000.00717.61
8.1.120.0030.00517.34
8.1.110.0030.00617.30
8.1.100.0000.00717.33
8.1.90.0070.00017.30
8.1.80.0080.00017.34
8.1.70.0040.00417.25
8.1.60.0060.00317.54
8.1.50.0110.00417.45
8.1.40.0030.00617.46
8.1.30.0040.00417.52
8.1.20.0030.00617.53
8.1.10.0000.00817.50
8.1.00.0030.00617.46
8.0.300.0040.00418.77
8.0.290.0040.00416.75
8.0.280.0030.00318.38
8.0.270.0080.00017.19
8.0.260.0000.00617.06
8.0.250.0000.00616.96
8.0.240.0030.00316.96
8.0.230.0030.00316.99
8.0.220.0000.00716.93
8.0.210.0000.00716.77
8.0.200.0000.00616.94
8.0.190.0040.00416.89
8.0.180.0040.00416.92
8.0.170.0030.00516.94
8.0.160.0030.00316.74
8.0.150.0000.00816.90
8.0.140.0030.00316.88
8.0.130.0000.00513.27
8.0.120.0040.00416.88
8.0.110.0000.00716.91
8.0.100.0000.00816.82
8.0.90.0040.00416.74
8.0.80.0090.01216.88
8.0.70.0030.00517.00
8.0.60.0040.00416.95
8.0.50.0000.00816.78
8.0.30.0090.01017.01
8.0.20.0090.01017.40
8.0.10.0050.00216.85
8.0.00.0100.00816.72
7.4.330.0020.00216.82
7.4.320.0000.00716.52
7.4.300.0030.00316.52
7.4.290.0030.00316.45
7.4.280.0000.00716.48
7.4.270.0030.00516.42
7.4.260.0090.00016.49
7.4.250.0030.00516.36
7.4.240.0040.00416.55
7.4.230.0060.00016.32
7.4.220.0130.00616.56
7.4.210.0080.00816.51
7.4.200.0070.00016.51
7.4.160.0110.00416.32
7.4.150.0050.01117.40
7.4.140.0080.01317.86
7.4.130.0220.00316.49
7.4.120.0110.00616.37
7.4.110.0090.00916.51
7.4.100.0120.00916.68
7.4.90.0130.00416.32
7.4.80.0090.01219.39
7.4.70.0150.00416.31
7.4.60.0160.00016.65
7.4.50.0070.00716.63
7.4.40.0050.01116.25
7.4.30.0120.01016.49
7.4.00.0070.01015.11
7.3.330.0000.00513.35
7.3.320.0020.00213.29
7.3.310.0070.00016.21
7.3.300.0040.00416.34
7.3.290.0080.00816.38
7.3.280.0070.00916.34
7.3.270.0140.00717.40
7.3.260.0170.01016.31
7.3.240.0110.00616.41
7.3.230.0070.01016.48
7.3.210.0140.00316.56
7.3.200.0100.00616.63
7.3.190.0090.00516.48
7.3.180.0090.00816.46
7.3.170.0080.00816.33
7.3.160.0030.01316.41
7.2.330.0040.01316.34
7.2.320.0120.00616.48
7.2.310.0040.01216.58
7.2.300.0060.01116.66
7.2.290.0100.00716.69
7.2.80.0070.00716.71
7.2.60.0040.00417.07
7.1.200.0110.00415.85
7.1.70.0000.00817.13
7.1.60.0170.00719.12
7.1.50.0070.00716.64
7.1.00.0030.07722.48
7.0.200.0050.00316.57
7.0.60.0030.05020.02
7.0.50.0100.07317.95
7.0.40.0030.09320.18
7.0.30.0030.05320.08
7.0.20.0300.04720.26
7.0.10.0070.08320.12
7.0.00.0070.05020.18
5.6.280.0070.07720.91
5.6.210.0030.06020.70
5.6.200.0100.07018.16
5.6.190.0030.05020.58
5.6.180.0170.03720.42
5.6.170.0270.06020.50
5.6.160.0130.08020.47
5.6.150.0030.08318.22
5.6.140.0100.06318.23
5.6.130.0100.09018.14
5.6.120.0070.07021.00
5.6.110.0030.08021.14
5.6.100.0030.04321.11
5.6.90.0200.07020.97
5.6.80.0070.07720.38
5.5.350.3830.04020.39
5.5.340.0000.08317.94
5.5.330.0100.05320.31
5.5.320.0030.05020.25
5.5.310.0270.07320.50
5.5.300.0100.07717.95
5.5.290.0100.08018.09
5.5.280.0070.03720.69
5.5.270.0070.05320.97
5.5.260.0130.07720.73
5.5.250.0000.05020.71
5.5.240.0230.08020.19

preferences:
32.44 ms | 401 KiB | 5 Q