3v4l.org

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

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.4.120.0130.00722.34
8.4.110.0030.00522.55
8.4.100.0090.00417.89
8.4.90.0120.00817.74
8.4.80.0050.00417.89
8.4.70.0110.00717.79
8.4.60.0130.00823.97
8.4.50.0120.00818.44
8.4.40.0090.00620.21
8.4.30.0040.01519.04
8.4.20.0100.01019.74
8.4.10.0090.00019.66
8.3.250.0100.00918.96
8.3.240.0140.00816.43
8.3.230.0120.00816.36
8.3.220.0060.00317.04
8.3.210.0060.00716.74
8.3.200.0130.00618.98
8.3.190.0100.00617.20
8.3.180.0110.00916.79
8.3.170.0090.00920.70
8.3.160.0070.01117.07
8.3.150.0070.01117.39
8.3.140.0090.00617.22
8.3.130.0040.01118.12
8.3.120.0080.00018.75
8.3.110.0060.00320.94
8.3.100.0040.00418.23
8.3.90.0040.00426.77
8.3.80.0070.00316.25
8.3.70.0100.00316.63
8.3.60.0310.00625.92
8.3.50.0130.00325.92
8.3.40.0280.00625.92
8.3.30.0200.00825.92
8.3.20.0160.01625.92
8.3.10.0240.00625.92
8.3.00.0320.00425.92
8.2.290.0100.00920.49
8.2.280.0070.01116.86
8.2.270.0120.00616.94
8.2.260.0120.00618.25
8.2.250.0040.00418.46
8.2.240.0160.00019.00
8.2.230.0030.00622.58
8.2.220.0030.00624.06
8.2.210.0070.00326.77
8.2.200.0090.00016.50
8.2.190.0070.01118.54
8.2.180.0370.00025.92
8.2.170.0240.01225.92
8.2.160.0300.00425.92
8.2.150.0240.01225.92
8.2.140.0270.01225.92
8.2.130.0290.00725.92
8.2.120.0320.00025.92
8.2.110.0290.00725.92
8.2.100.0300.00725.92
8.2.90.0270.00725.92
8.2.80.0300.00625.92
8.2.70.0270.00325.92
8.2.60.0230.00925.92
8.2.50.0250.00925.92
8.2.40.0330.00025.92
8.2.30.0280.00425.92
8.2.20.0200.01025.92
8.2.10.0240.00925.92
8.2.00.0230.01025.92
8.1.330.0130.00916.52
8.1.320.0130.00616.27
8.1.310.0110.00716.71
8.1.300.0030.00617.68
8.1.290.0090.00030.84
8.1.280.0130.00325.92
8.1.270.0220.01125.92
8.1.260.0340.00025.92
8.1.250.0230.01025.92
8.1.240.0290.00325.92
8.1.230.0330.00025.92
8.1.220.0280.00625.92
8.1.210.0310.00325.92
8.1.200.0310.00325.92
8.1.190.0290.00425.92
8.1.180.0270.00225.92
8.1.170.0220.00725.92
8.1.160.0270.00325.92
8.1.150.0250.00625.92
8.1.140.0280.00325.92
8.1.130.0250.00425.92
8.1.120.0190.01025.92
8.1.110.0230.00825.92
8.1.100.0220.00925.92
8.1.90.0290.00525.92
8.1.80.0290.00325.92
8.1.70.0280.00025.92
8.1.60.0280.00825.92
8.1.50.0240.01225.92
8.1.40.0280.00825.92
8.1.30.0240.01025.92
8.1.20.0340.00025.92
8.1.10.0280.00625.92
8.1.00.0120.02025.92

preferences:
48.63 ms | 403 KiB | 5 Q