Exemple #1
0
 public function testMbCtypeLower()
 {
     $this->assertTrue(mb_ctype_lower('こんにちは世界'));
     $this->assertTrue(mb_ctype_lower('こんにちは世界-abcabcabc'));
     $this->assertFalse(mb_ctype_lower('こんにちは世界-abcabcABC'));
     $this->assertTrue(mb_ctype_lower('hello wørld ∫∫ßß∆˙©ƒßå¬'));
     $this->assertFalse(mb_ctype_lower('hellÔ wørld ∫∫ßß∆˙©ƒßå¬'));
 }
Exemple #2
0
 /**
  * Returns true if all the characters in the string are lower-case.
  *
  * @return bool
  */
 public function isLower()
 {
     return mb_ctype_lower($this->contents, $this->encoding);
 }