No cache version.

Caching disabled. Default setting for this page:enabled (code LNG204)
If the display is too slow, you can disable the user mode to view the cached version.

Rechercher une fonction PHP

Closure::fromCallable

(PHP 7 >= 7.1.0)

Closure::fromCallableConverts a callable into a closure

Description

public static Closure::fromCallable ( callable $callable ) : Closure

Create and return a new anonymous function from given callable using the current scope. This method checks if the callable is callable in the current scope and throws a TypeError if it is not.

PHP: Closure::fromCallable - Manual Home of Manuel PHP  Contents Haut

Parameters

callable

The callable to convert.

PHP: Closure::fromCallable - Manual Home of Manuel PHP  Contents Haut

Return Values

Returns the newly created Closure or throws a TypeError if the callable is not callable in the current scope.

Find a PHP function
Error Infobrol

Can not display this page of the Infobrol website

Type of error (18-01)

Unknown format specifier "&"

Please try again in a few minutes…

Return to the home page




Steph