3v4l.org

run code in 300+ PHP versions simultaneously
<?php class A { public function b() {} } var_dump(is_callable('A::b'));
Output for 8.0.0 - 8.0.24, 8.1.0 - 8.1.11
bool(false)
Output for 5.4.0 - 5.4.45, 5.5.0 - 5.5.36, 5.6.0 - 5.6.28, 7.0.0 - 7.0.20, 7.1.0 - 7.1.25, 7.2.0 - 7.2.33, 7.3.0 - 7.3.33, 7.4.0 - 7.4.32
bool(true)

preferences:
86.66 ms | 419 KiB | 14 Q