Esempio n. 1
0
 function test_str_endswith()
 {
     $this->assertTrue(Utils::str_endswith('.html', 'index.html'));
     $this->assertFalse(Utils::str_endswith('.html', 'index.htm'));
     $this->assertTrue(Utils::str_endswith('.html', '.html'));
     $this->assertFalse(Utils::str_endswith('.html', 'html'));
 }