Lines Matching refs:input
462 * @param string $input The text to work on
464 protected function noreplace_save($input) { argument
467 preg_match_all($pattern, $input, $matches);
475 * @param string $input The text to work on
479 function replace($input, $strftime = true) { argument
482 if (!is_string($input)) return $input;
483 if (is_null($this->noreplace)) $this->noreplace_save($input);
488 $input = preg_replace_callback(
491 $input
494 $input = preg_replace($pattern, $value, $input);
500 $input = preg_replace_callback(
503 $input
508 $input = preg_replace_callback(
511 $input
518 $input = preg_replace_callback($pattern, function ($matches) use ($callback) {
520 }, $input);
527 $input = preg_replace($pattern, $nr, $input, 1);
530 return $input;