3v4l.org

run code in 300+ PHP versions simultaneously
<?php class Example { public function anExample() { } } var_dump(is_callable(['Example', 'anExample'])); function test(callable $callable) { var_dump(is_callable($callable)); } test(['Example', 'anExample']);

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.00416.88
8.3.50.0110.00821.25
8.3.40.0090.00618.79
8.3.30.0120.00318.54
8.3.20.0030.01020.11
8.3.10.0080.00021.94
8.3.00.0000.00819.81
8.2.180.0090.00916.63
8.2.170.0110.00422.96
8.2.160.0170.00320.46
8.2.150.0040.00424.18
8.2.140.0000.00724.66
8.2.130.0080.00026.16
8.2.120.0060.00317.63
8.2.110.0090.00022.20
8.2.100.0070.00617.75
8.2.90.0030.00818.98
8.2.80.0040.00417.97
8.2.70.0060.00317.37
8.2.60.0040.00417.80
8.2.50.0050.00318.07
8.2.40.0000.00719.48
8.2.30.0040.00417.87
8.2.20.0040.00417.68
8.2.10.0030.00518.04
8.2.00.0040.00417.99
8.1.280.0100.00725.92
8.1.270.0070.01320.10
8.1.260.0040.00426.35
8.1.250.0000.00828.09
8.1.240.0060.00322.52
8.1.230.0070.00417.48
8.1.220.0070.00217.74
8.1.210.0000.00818.77
8.1.200.0030.00617.23
8.1.190.0090.00017.23
8.1.180.0000.00818.10
8.1.170.0050.00518.56
8.1.160.0000.01122.00
8.1.150.0050.00218.82
8.1.140.0030.00517.22
8.1.130.0000.00717.61
8.1.120.0020.00517.38
8.1.110.0040.00417.33
8.1.100.0040.00417.29
8.1.90.0070.00017.39
8.1.80.0030.00317.30
8.1.70.0030.00317.30
8.1.60.0000.00717.45
8.1.50.0000.00817.50
8.1.40.0040.00417.32
8.1.30.0000.00817.43
8.1.20.0050.00217.45
8.1.10.0040.00417.53
8.1.00.0040.00417.45
8.0.300.0000.00818.77
8.0.290.0040.00416.75
8.0.280.0030.00318.38
8.0.270.0030.00317.14
8.0.260.0060.00017.18
8.0.250.0000.00716.96
8.0.240.0040.00416.86
8.0.230.0070.00016.98
8.0.220.0030.00316.82
8.0.210.0000.00716.84
8.0.200.0050.00216.96
8.0.190.0050.00316.83
8.0.180.0030.00316.81
8.0.170.0040.00416.90
8.0.160.0000.00716.98
8.0.150.0000.00716.77
8.0.140.0030.00616.82
8.0.130.0000.00613.27
8.0.120.0080.00016.83
8.0.110.0040.00416.98
8.0.100.0040.00416.75
8.0.90.0000.00716.85
8.0.80.0070.00716.83
8.0.70.0070.00016.77
8.0.60.0070.00016.75
8.0.50.0040.00416.77
8.0.30.0110.00917.11
8.0.20.0090.00917.40
8.0.10.0000.00817.00
8.0.00.0100.00716.84
7.4.330.0050.00015.08
7.4.320.0030.00316.54
7.4.300.0050.00316.41
7.4.290.0030.00316.36
7.4.280.0050.00316.43
7.4.270.0030.00316.54
7.4.260.0040.00416.52
7.4.250.0030.00516.48
7.4.240.0040.00316.46
7.4.230.0000.00716.48
7.4.220.0130.01016.37
7.4.210.0090.00916.46
7.4.200.0030.00316.27
7.4.160.0110.00516.45
7.4.150.0120.00617.40
7.4.140.0080.01217.86
7.4.130.0150.00716.46
7.4.120.0130.00716.50
7.4.110.0070.01016.53
7.4.100.0060.01216.29
7.4.90.0080.00816.51
7.4.80.0100.00719.39
7.4.70.0120.00616.30
7.4.60.0030.01316.50
7.4.50.0000.00816.59
7.4.40.0070.01016.49
7.4.30.0110.01116.46
7.4.00.0040.01115.15
7.3.330.0000.00513.25
7.3.320.0050.00013.37
7.3.310.0000.00716.32
7.3.300.0030.00316.29
7.3.290.0090.00816.23
7.3.280.0120.00416.30
7.3.270.0040.01417.40
7.3.260.0170.00016.26
7.3.250.0140.00416.35
7.3.240.0030.01316.33
7.3.230.0000.01616.46
7.3.210.0120.01216.15
7.3.200.0130.00316.37
7.3.190.0130.00316.12
7.3.180.0090.00616.24
7.3.170.0090.00616.35
7.3.160.0140.00516.34
7.3.10.0070.00716.46
7.3.00.0090.00716.47
7.2.330.0140.00316.50
7.2.320.0060.01216.46
7.2.310.0090.00916.48
7.2.300.0060.01116.38
7.2.290.0140.00416.32
7.2.130.0080.00916.52
7.2.120.0040.00816.62
7.2.110.0090.00416.62
7.2.100.0100.00416.48
7.2.90.0070.00816.69
7.2.80.0070.00816.58
7.2.70.0040.00916.75
7.2.60.0070.00616.70
7.2.50.0090.00716.62
7.2.40.0070.00716.62
7.2.30.0080.00516.57
7.2.20.0050.00816.56
7.2.10.0050.00916.61
7.2.00.0070.00517.38
7.1.250.0070.00815.72
7.1.240.0170.00015.59
7.1.230.0150.00015.54
7.1.220.0070.00715.50
7.1.210.0060.00615.30
7.1.200.0100.00315.69
7.1.190.0130.00315.57
7.1.180.0070.01015.52
7.1.170.0000.01515.34
7.1.160.0120.00315.43
7.1.150.0070.01015.64
7.1.140.0030.00915.36
7.1.130.0030.01015.02
7.1.120.0100.00315.54
7.1.110.0070.00715.55
7.1.100.0070.00716.60
7.1.90.0120.00315.54
7.1.80.0110.00415.54
7.1.70.0030.00716.38
7.1.60.0100.00917.82
7.1.50.0100.00916.12
7.1.40.0070.01115.60
7.1.30.0060.01315.55
7.1.20.0070.00715.27
7.1.10.0000.01315.18
7.1.00.0050.04419.00
7.0.330.0090.00915.07
7.0.320.0100.00614.73
7.0.310.0080.00815.09
7.0.300.0100.00715.37
7.0.290.0080.00415.26
7.0.280.0130.00015.13
7.0.270.0060.00615.21
7.0.260.0110.00415.01
7.0.250.0070.00714.93
7.0.240.0110.00715.41
7.0.230.0060.00615.13
7.0.220.0120.00315.20
7.0.210.0030.00715.35
7.0.200.0030.00615.74
7.0.190.0030.00915.48
7.0.180.0030.01015.37
7.0.170.0060.00615.52
7.0.160.0130.00315.34
7.0.150.0070.00415.37
7.0.140.0110.00715.13
7.0.130.0070.00715.36
7.0.120.0060.00614.96
7.0.110.0130.00314.99
7.0.100.0120.00315.01
7.0.90.0110.00715.34
7.0.80.0120.00915.05
7.0.70.0110.00315.18
7.0.60.0080.04118.53
7.0.50.0110.03216.57
7.0.40.0070.03616.65
7.0.30.0140.04116.66
7.0.20.0100.02316.69
7.0.10.0020.02716.59
7.0.00.0020.02616.69
5.6.380.0070.00713.65
5.6.370.0080.00613.91
5.6.360.0040.01114.13
5.6.350.0080.00413.93
5.6.340.0040.01113.58
5.6.330.0050.00913.77
5.6.320.0070.00713.98
5.6.310.0090.00613.84
5.6.300.0100.00013.79
5.6.290.0050.00513.94
5.6.280.0050.04017.46
5.6.270.0030.00614.06
5.6.260.0100.00314.05
5.6.250.0070.00713.77
5.6.240.0000.00913.82
5.6.230.0090.00414.15
5.6.220.0030.01213.86
5.6.210.0080.04417.26
5.6.200.0050.02316.13
5.6.190.0090.04017.37
5.6.180.0250.04317.24
5.6.170.0170.04017.17
5.6.160.0030.02617.39
5.6.150.0050.02315.98
5.6.140.0060.03316.22
5.6.130.0070.04415.93
5.6.120.0050.04317.42
5.6.110.0100.04317.44
5.6.100.0140.03017.37
5.6.90.0050.02517.43
5.6.80.0070.03217.14
5.6.70.0030.00913.79
5.6.60.0100.00313.91
5.6.50.0060.00613.89
5.6.40.0070.01013.89
5.6.30.0000.01213.95
5.6.20.0040.01114.16
5.6.10.0060.00913.75
5.6.00.0040.01113.83
5.5.380.0040.00710.95
5.5.370.0060.00310.69
5.5.360.0090.00310.95
5.5.350.2010.01815.52
5.5.340.0080.04314.42
5.5.330.0110.03815.44
5.5.320.0770.02015.74
5.5.310.0150.04215.66
5.5.300.0040.02614.42
5.5.290.0030.03314.45
5.5.280.0050.04615.80
5.5.270.0070.04015.90
5.5.260.0050.03715.82
5.5.250.0070.02215.79
5.5.240.0120.02415.32
5.5.230.0030.01010.96
5.5.220.0030.00510.75
5.5.210.0060.00610.62
5.5.200.0030.00610.73
5.5.190.0030.00310.86
5.5.180.0080.00010.62
5.5.170.0070.00410.49
5.5.160.0030.00310.53
5.5.150.0090.00310.76
5.5.140.0000.00610.69
5.5.130.0000.00610.79
5.5.120.0040.00410.93
5.5.110.0070.00310.34
5.5.100.0050.00210.55
5.5.90.0000.01410.61
5.5.80.0040.00810.68
5.5.70.0090.00010.63
5.5.60.0080.00310.94
5.5.50.0000.00810.67
5.5.40.0100.00010.58
5.5.30.0030.00310.60
5.5.20.0060.00611.00
5.5.10.0000.00610.61
5.5.00.0080.00010.81
5.4.450.0290.03615.08
5.4.440.0490.03315.17
5.4.430.0420.03015.02
5.4.420.0450.03015.17
5.4.410.0320.03714.99
5.4.400.0350.03414.98
5.4.390.0450.03914.84
5.4.380.0470.03714.79
5.4.370.0370.03515.00
5.4.360.0320.03814.98
5.4.350.0450.02514.99
5.4.340.0310.03115.01
5.4.330.0070.00310.76
5.4.320.0550.03014.96
5.4.310.0370.02715.11
5.4.300.0320.03215.00
5.4.290.0250.04114.84
5.4.280.0370.04214.85
5.4.270.0320.03114.96
5.4.260.0300.04114.77
5.4.250.0310.03514.99
5.4.240.0380.03014.91
5.4.230.0340.03514.98
5.4.220.0340.03415.07
5.4.210.0400.04014.77
5.4.200.0400.03315.00
5.4.190.0400.04214.76
5.4.180.0320.03414.93
5.4.170.0400.02715.04
5.4.160.0520.02914.89
5.4.150.0460.02714.91
5.4.140.0360.03413.54
5.4.130.0400.02713.56
5.4.120.0340.03113.50
5.4.110.0300.03213.67
5.4.100.0390.03613.59
5.4.90.0440.02813.73
5.4.80.0360.02713.83
5.4.70.0210.02613.65
5.4.60.0130.03913.78
5.4.50.0020.02813.61
5.4.40.0120.02513.49
5.4.30.0070.04113.59
5.4.20.0170.03313.49
5.4.10.0150.04013.32
5.4.00.0100.00310.82

preferences:
51.43 ms | 401 KiB | 5 Q