C# Класс Pchp.Library.Functions

Показать файл Открыть проект

Открытые методы

Метод Описание
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.

Описание методов

call_user_func() публичный статический Метод

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.
Результат Pchp.Core.PhpValue

call_user_func_array() публичный статический Метод

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.
Результат Pchp.Core.PhpValue

function_exists() публичный статический Метод

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
Результат bool