C# 클래스 Pchp.Library.Functions

파일 보기 프로젝트 열기: iolevel/peachpie

공개 메소드들

메소드 설명
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