C# 클래스 Pchp.Library.Miscellaneous

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

공개 메소드들

메소드 설명
extension_loaded ( string name ) : bool

Find out whether an extension is loaded.

get_loaded_extensions ( bool zend_extensions = false ) : PhpArray

Returns an array with names of all loaded native extensions.

phpversion ( string extension = null ) : string
version_compare ( string version1, string version2, string op ) : bool

Compares two "PHP-standardized" version number strings.

version_compare ( string version1, string version2 ) : int

Compares two "PHP-standardized" version number strings.

비공개 메소드들

메소드 설명
CompareParts ( string part1, string part2 ) : int

Compares parts of varsions delimited by '.'.

VersionToArray ( string version ) : string[]

Parses a version and splits it into an array of parts.

Non-alphanumeric characters are eliminated. The version is split in between a digit following a non-digit and by characters '.', '-', '+', '_'.

get_extension_funcs ( string extension ) : PhpArray

메소드 상세

extension_loaded() 공개 정적인 메소드

Find out whether an extension is loaded.
public static extension_loaded ( string name ) : bool
name string The extension name.
리턴 bool

get_loaded_extensions() 공개 정적인 메소드

Returns an array with names of all loaded native extensions.
public static get_loaded_extensions ( bool zend_extensions = false ) : PhpArray
zend_extensions bool Only return Zend extensions.
리턴 Pchp.Core.PhpArray

phpversion() 공개 정적인 메소드

public static phpversion ( string extension = null ) : string
extension string
리턴 string

version_compare() 공개 정적인 메소드

Compares two "PHP-standardized" version number strings.
public static version_compare ( string version1, string version2, string op ) : bool
version1 string
version2 string
op string
리턴 bool

version_compare() 공개 정적인 메소드

Compares two "PHP-standardized" version number strings.
public static version_compare ( string version1, string version2 ) : int
version1 string
version2 string
리턴 int