Lines Matching refs:length
262 * @param int $length Length.
268 public function pad($length, $piece, $side = self::END) argument
270 $difference = $length - $this->count();
616 $length = mb_strlen($this->_string);
619 $offset = -$offset % $length;
622 $offset = $length - $offset;
624 } elseif ($offset >= $length) {
625 $offset %= $length;
690 * @param int $length Maximum number of characters.
693 public function reduce($start, $length = null) argument
695 $this->_string = mb_substr($this->_string, $start, $length);
718 $length = strlen($this->_string);
721 $offset = -$offset % $length;
724 $offset = $length - $offset;
726 } elseif ($offset >= $length) {
727 $offset %= $length;