isEos() protected method

Returns true if the scan @mlink{$pointer} is at the end of the string.
protected isEos ( ) : boolean
return boolean
コード例 #1
0
ファイル: testStringScanner.php プロジェクト: sebcode/proust
 function testClear()
 {
     $sc = new StringScanner("foobar blorg bla");
     $sc->clear();
     $this->assertTrue($sc->isEos());
     $this->assertEqual($sc->pos, $sc->length);
 }