featureExists() 공개 정적인 메소드

Tests if the named feature exists in the current environment.
public static featureExists ( string $featureID ) : boolean | null
$featureID string The identifier for the feature, e.g. 'db/pdo'.
리턴 boolean | null Returns true or false, or null if an error occured.
예제 #1
0
파일: TextTest.php 프로젝트: drewm/morse
 public function testIntl()
 {
     $result = Morse::featureExists('text/intl');
     $this->assertTrue($result === true || $result === false);
 }
예제 #2
0
파일: CryptoTest.php 프로젝트: drewm/morse
 public function testPassword()
 {
     $result = Morse::featureExists('crypto/password');
     $this->assertTrue($result === true || $result === false);
 }
예제 #3
0
파일: DataTest.php 프로젝트: drewm/morse
 public function testJson()
 {
     $result = Morse::featureExists('data/json');
     $this->assertTrue($result === true || $result === false);
 }
예제 #4
0
파일: FileTest.php 프로젝트: drewm/morse
 public function testZip()
 {
     $result = Morse::featureExists('file/zip');
     $this->assertTrue($result === true || $result === false);
 }
예제 #5
0
파일: ImageTest.php 프로젝트: drewm/morse
 public function testImagick()
 {
     $result = Morse::featureExists('image/imagick');
     $this->assertTrue($result === true || $result === false);
 }
예제 #6
0
파일: DbTest.php 프로젝트: drewm/morse
 public function testPdo_Pgsql()
 {
     $result = Morse::featureExists('db/pdo-pgsql');
     $this->assertTrue($result === true || $result === false);
 }
예제 #7
0
파일: CacheTest.php 프로젝트: drewm/morse
 public function testOpcache()
 {
     $result = Morse::featureExists('cache/opcache');
     $this->assertTrue($result === true || $result === false);
 }
예제 #8
0
 public function testLdap()
 {
     $result = Morse::featureExists('protocol/ldap');
     $this->assertTrue($result === true || $result === false);
 }
예제 #9
0
파일: SystemTest.php 프로젝트: drewm/morse
 public function testProc_open()
 {
     $result = Morse::featureExists('system/proc_open');
     $this->assertTrue($result === true || $result === false);
 }
예제 #10
0
파일: HttpTest.php 프로젝트: drewm/morse
 public function testOpenssl()
 {
     $result = Morse::featureExists('http/openssl');
     $this->assertTrue($result === true || $result === false);
 }
예제 #11
0
파일: NumberTest.php 프로젝트: drewm/morse
 public function testMultibyte()
 {
     $result = Morse::featureExists('number/bigint');
     $this->assertTrue($result === true || $result === false);
 }