dis-bench / src /php /php-src /Zend /zend_closures.stub.php
meddyrat's picture
Replace repository contents with the original corrected artifact
1e94262
Raw History Blame Contribute Delete
547 Bytes
<?php
/** @generate-class-entries */
/**
* @strict-properties
* @not-serializable
*/
final class Closure
{
private function __construct() {}
public static function bind(
Closure $closure,
?object $newThis,
object|string|null $newScope = "static"
): ?Closure {}
public function bindTo(?object $newThis, object|string|null $newScope = "static"): ?Closure {}
public function call(object $newThis, mixed ...$args): mixed {}
public static function fromCallable(callable $callback): Closure {}
}