Exemple #1
0
 public function testPassword()
 {
     $result = Morse::featureExists('crypto/password');
     $this->assertTrue($result === true || $result === false);
 }
Exemple #2
0
 public function testIntl()
 {
     $result = Morse::featureExists('text/intl');
     $this->assertTrue($result === true || $result === false);
 }
Exemple #3
0
 public function testDisabledFunction()
 {
     $result = Morse::functionDisabled('exec');
     $this->assertTrue($result === true || $result === false);
 }
Exemple #4
0
 public function testJson()
 {
     $result = Morse::featureExists('data/json');
     $this->assertTrue($result === true || $result === false);
 }
Exemple #5
0
 public function testZip()
 {
     $result = Morse::featureExists('file/zip');
     $this->assertTrue($result === true || $result === false);
 }
Exemple #6
0
 public function testImagick()
 {
     $result = Morse::featureExists('image/imagick');
     $this->assertTrue($result === true || $result === false);
 }
Exemple #7
0
 public function testPdo_Pgsql()
 {
     $result = Morse::featureExists('db/pdo-pgsql');
     $this->assertTrue($result === true || $result === false);
 }
Exemple #8
0
 public function testOpcache()
 {
     $result = Morse::featureExists('cache/opcache');
     $this->assertTrue($result === true || $result === false);
 }
Exemple #9
0
 public function testLdap()
 {
     $result = Morse::featureExists('protocol/ldap');
     $this->assertTrue($result === true || $result === false);
 }
Exemple #10
0
 public function testProc_open()
 {
     $result = Morse::featureExists('system/proc_open');
     $this->assertTrue($result === true || $result === false);
 }
Exemple #11
0
 public function testOpenssl()
 {
     $result = Morse::featureExists('http/openssl');
     $this->assertTrue($result === true || $result === false);
 }
Exemple #12
0
 public function testMultibyte()
 {
     $result = Morse::featureExists('number/bigint');
     $this->assertTrue($result === true || $result === false);
 }