- public function _readline()
- {
- $buffer =& $this->buffer;
- while (true) {
- if ($this->pos == 0) {
- return array_pop($buffer);
- }
- if (count($buffer) > 1) {
- return array_pop($buffer);
- }
- $buffer = explode(self::SEPARATOR, $this->_read(self::BUFFER_SIZE) . $buffer[0]);
- }
- }
+ public function _readline()
+ {
+ $buffer = & $this->buffer;
+ while (true) {
+ if ($this->pos == 0) {
+ return array_pop($buffer);
+ }
+ if (count($buffer) > 1) {
+ return array_pop($buffer);
+ }
+ $buffer = explode(self::SEPARATOR, $this->_read(self::BUFFER_SIZE) . $buffer[0]);
+ }
+ }