Beispiel #1
0
 /**
  * Checks if our version of strpos can handle some common special characters
  *
  * @test
  */
 public function strposWorksWithCertainSpecialChars()
 {
     $testString = 'Åeugiat tincidunt duo id, 23 quam delenit vocibus nam eu';
     $this->assertEquals(8, Functions::strpos($testString, 'tincidunt'), 'strpos() did not return the correct positions for a unicode string.');
 }