- var_dump: documentation ( source)
- time: documentation ( source)
- is_a: documentation ( source)
- sprintf: documentation ( source)
<?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));