3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php interface TestInterface {} class TestClass implements TestInterface {} $time = time(); for ($i = 0; $i < 1000000; $i++) { is_a('TestClass', 'TestInterface', true); } var_dump(sprintf('is_a time: %s', time() - $time));
based on as5dD
Output for 7.2.0
string(12) "is_a time: 1"
Output for 5.4.0 - 7.1.10
string(12) "is_a time: 0"