<?php is_callable(mixed $value, bool $syntax_only = false, string &$callable_name = null): bool
<?php { $this->cancelCalled = true; if (is_callable($this->onCancel)) { ($this->onCancel)(); } }
<?php $adapter->promise()->cancel(); self::assertCount(2, $args); self::assertTrue(is_callable($args[0])); self::assertTrue(is_callable($args[1])); }
<?php self::assertCount(2, $args); self::assertTrue(is_callable($args[0])); self::assertTrue(is_callable($args[1])); }