parser = hammer::h_token("95\xa2"); } public function testSuccess() { $result = hammer::h_parse($this->parser, "95\xa2"); var_dump($result); $this->assertEquals("95\xa2", $result); } public function testFailure() { $result = h_parse($this->parser, "95"); $this->assertEquals(NULL, $result); } } ?>