RemexHtml/TreeBuilder/Stack.php
public function dump() {
		$s = '';
		for ( $i = 0; $i < $this->length(); $i++ ) {
			$item = $this->item( $i );
			$s .= "$i. " . $item->getDebugTag();
			if ( $i === $this->length() - 1 && $item !== $this->current ) {
				$s .= " CURRENT POINTER INCORRECT";
			}
			$s .= "\n";
		}
		return $s;
	}
public function dump() {
		$s = '';
		for ( $i = 0; $i < $this->length(); $i++ ) {
			$item = $this->item( $i );
			$s .= "$i. " . $item->getDebugTag();
			if ( $i === $this->length() - 1 && $item !== $this->current ) {
				$s .= " CURRENT POINTER INCORRECT";
			}
			$s .= "\n";
		}
		return $s;
	}
public function dump ( ) { $ s = '' ; for ( $ i = 0 ; $ i < $ this -> length ( ) ; $ i ++ ) { $ item = $ this -> item ( $ i ) ; $ s .= "$i. " . $ item -> getDebugTag ( ) ; if ( $ i === $ this -> length ( ) - 1 && $ item !== $ this -> current ) { $ s .= " CURRENT POINTER INCORRECT" ; } $ s .= "\n" ; } return $ s ; }
Get a string representation of the stack for debugging purposes.

@return string
Get a string representation of the stack for debugging purposes .