assertEquals(4, strlastpos("abbccff", "c"), "Invalid position"); } public function testStringUpperFirst() { $this->assertEquals("Hello", strupperfirst("hello"), "Invalid result"); } public function testStringLowerFirst() { $this->assertEquals("hELLO", strlowerfirst("HELLO"), "Invalid result"); } public function testStringStartsWith() { $this->assertTrue(strstartswith("HELLO", 'HE'), "Invalid result"); $this->assertFalse(strstartswith("HELLO", 'he'), "Invalid result"); } }