public function __construct($type = 0, $content = '', $position = -1) { $this->_type = $type; $this->_content = $content; $this->_length = strlen($content); $this->_position = $position; }