3v4l.org

run code in 300+ PHP versions simultaneously
<?php class Foo { public function bar() {} } var_dump(is_callable([Foo::class, 'bar'])); var_dump(is_callable([new Foo, 'bar']));

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.00418.16
8.3.50.0170.00316.27
8.3.40.0040.01121.93
8.3.30.0140.00018.57
8.3.20.0080.00024.18
8.3.10.0040.00424.66
8.3.00.0000.00726.16
8.2.180.0080.00625.92
8.2.170.0070.00718.91
8.2.160.0130.00722.96
8.2.150.0050.00325.66
8.2.140.0080.00024.66
8.2.130.0070.00026.16
8.2.120.0080.00026.35
8.2.110.0060.00320.35
8.2.100.0040.00817.72
8.2.90.0040.00417.72
8.2.80.0000.00717.97
8.2.70.0060.00317.91
8.2.60.0000.00818.22
8.2.50.0030.00618.10
8.2.40.0040.00419.22
8.2.30.0000.00819.19
8.2.20.0070.00017.99
8.2.10.0030.00519.14
8.2.00.0040.00419.07
8.1.280.0150.00025.92
8.1.270.0080.00022.14
8.1.260.0070.00028.09
8.1.250.0040.00428.09
8.1.240.0100.00018.76
8.1.230.0040.00820.93
8.1.220.0050.00317.74
8.1.210.0040.00418.77
8.1.200.0040.00417.22
8.1.190.0030.00617.22
8.1.180.0030.00618.10
8.1.170.0000.00818.63
8.1.160.0060.00318.96
8.1.150.0070.00018.77
8.1.140.0000.00717.38
8.1.130.0070.00019.17
8.1.120.0050.00317.29
8.1.110.0050.00217.41
8.1.100.0030.00317.38
8.1.90.0000.00717.25
8.1.80.0030.00517.30
8.1.70.0000.00717.37
8.1.60.0030.00617.56
8.1.50.0000.00717.51
8.1.40.0030.00517.41
8.1.30.0060.00317.48
8.1.20.0040.00417.55
8.1.10.0000.01017.38
8.1.00.0050.00317.43
8.0.300.0000.00821.53
8.0.290.0050.00316.63
8.0.280.0060.00318.38
8.0.270.0030.00317.32
8.0.260.0030.00316.82
8.0.250.0000.00616.93
8.0.240.0030.00616.86
8.0.230.0030.00316.93
8.0.220.0000.00716.81
8.0.210.0000.00716.87
8.0.200.0000.00716.87
8.0.190.0040.00416.84
8.0.180.0050.00216.71
8.0.170.0040.00416.83
8.0.160.0040.00416.79
8.0.150.0030.00416.84
8.0.140.0050.00316.76
8.0.130.0000.00513.35
8.0.120.0040.00416.71
8.0.110.0000.00716.61
8.0.100.0040.00416.66
8.0.90.0070.00016.88
8.0.80.0080.00716.80
8.0.70.0070.00016.66
8.0.60.0000.00716.82
8.0.50.0000.00716.88
8.0.30.0070.01016.90
8.0.20.0100.01117.10
8.0.10.0050.00316.90
8.0.00.0120.00916.99
7.4.330.0000.00515.55
7.4.320.0000.00616.54
7.4.300.0030.00316.33
7.4.290.0000.00916.46
7.4.280.0050.00316.44
7.4.270.0000.00716.57
7.4.260.0030.00313.12
7.4.250.0030.00316.47
7.4.240.0070.00016.42
7.4.230.0000.00716.37
7.4.220.0040.00416.42
7.4.210.0090.00716.52
7.4.200.0000.00716.35
7.4.130.0140.00616.27
7.4.120.0120.01516.45
7.4.110.0120.00716.22
7.4.100.0140.01116.38
7.4.90.0080.01216.55
7.4.80.0090.01316.37
7.4.70.0060.01416.45
7.4.60.0150.00916.43
7.4.50.0120.01316.45
7.4.40.0090.01016.41
7.4.30.0080.01216.30
7.4.20.0100.01016.55
7.4.10.0170.01016.43
7.4.00.0140.00916.48
7.3.330.0040.00416.14
7.3.320.0030.00313.23
7.3.310.0030.00716.13
7.3.300.0030.00316.23
7.3.290.0060.01216.21
7.3.260.0130.00416.55
7.3.250.0100.01016.21
7.3.240.0100.01016.31
7.3.230.0110.01416.41
7.3.220.0190.00016.10
7.3.210.0130.01016.20
7.3.200.0100.01416.26
7.3.190.0110.00816.46
7.3.180.0170.00616.39
7.3.170.0160.00316.36
7.3.160.0120.00616.30
7.3.150.0000.01816.30
7.3.140.0090.01516.51
7.3.130.0190.00416.15
7.3.120.0030.02016.42
7.3.110.0080.01116.26
7.3.100.0120.00816.29
7.3.90.0170.00716.34
7.3.80.0180.00616.06
7.3.70.0130.00516.19
7.3.60.0120.01216.31
7.3.50.0120.00815.96
7.3.40.0040.02016.13
7.3.30.0090.01516.21
7.3.20.0110.01116.32
7.3.10.0970.00616.25
7.3.00.0190.00816.34
7.2.340.0130.01016.54
7.2.330.0140.01016.25
7.2.320.0100.01616.42
7.2.310.0070.01116.42
7.2.300.0130.01116.61
7.2.290.0090.01016.41
7.2.280.0150.00616.35
7.2.270.0200.00016.51
7.2.260.0170.00716.45
7.2.250.0110.01516.30
7.2.240.0110.00816.46
7.2.230.0050.01916.21
7.2.220.0090.01716.52
7.2.210.0150.00916.27
7.2.200.0090.01216.41
7.2.190.0160.00716.26
7.2.180.0120.01016.22
7.2.170.0140.01016.10
7.2.160.0130.00916.21
7.2.150.0130.00716.44
7.2.140.0130.01316.33
7.2.130.0140.01016.40
7.2.120.0160.00616.42
7.2.110.0200.02016.23
7.2.100.0140.01116.36
7.2.90.0150.00716.48
7.2.80.0130.01016.42
7.2.70.0220.00416.26
7.2.60.0130.01316.35
7.2.50.0110.01116.16
7.2.40.0100.01316.39
7.2.30.0130.01016.36
7.2.20.0090.01616.56
7.2.10.0090.01416.27
7.2.00.0100.01016.65

preferences:
53.88 ms | 400 KiB | 5 Q