示例#1
0
文件: lexer.php 项目: ashenkar/sanga
 /**
  * The current column of the line of the scanned string.
  *
  * @return int
  */
 public function getColumn()
 {
     return $this->getPointer() - (int) wfWAFUtils::strrpos(wfWAFUtils::substr($this->getString(), 0, $this->getPointer() + 1), "\n") + 1;
 }