C# Class Pchp.Library.Functions

Afficher le fichier Open project: iolevel/peachpie

Méthodes publiques

Méthode Description
call_user_func ( Context ctx, IPhpCallable function ) : PhpValue

Calls a function or a method defined by callback with given arguments.

call_user_func_array ( Context ctx, IPhpCallable function, PhpArray args ) : PhpValue

Calls a function or a method defined by callback with arguments stored in an array.

function_exists ( Context ctx, string name ) : bool

Checks the list of defined functions, both built-in and user-defined.

Method Details

call_user_func() public static méthode

Calls a function or a method defined by callback with given arguments.
public static call_user_func ( Context ctx, IPhpCallable function ) : PhpValue
ctx Pchp.Core.Context Current runtime context.
function IPhpCallable Target callback.
Résultat Pchp.Core.PhpValue

call_user_func_array() public static méthode

Calls a function or a method defined by callback with arguments stored in an array.
public static call_user_func_array ( Context ctx, IPhpCallable function, PhpArray args ) : PhpValue
ctx Pchp.Core.Context Current runtime context.
function IPhpCallable Target callback.
args Pchp.Core.PhpArray Arguments. Can be null.
Résultat Pchp.Core.PhpValue

function_exists() public static méthode

Checks the list of defined functions, both built-in and user-defined.
public static function_exists ( Context ctx, string name ) : bool
ctx Pchp.Core.Context
name string
Résultat bool