Same name in other branches
  1. 5.0.x advagg_js_minify/jspacker.inc \ParseMaster::_backReferences()
  2. 6.0.x advagg_js_minify/jspacker.inc \ParseMaster::_backReferences()
  3. 7.x-1.x advagg_js_compress/jspacker.inc \ParseMaster::_backReferences()
  4. 7.x-2.x advagg_js_compress/jspacker.inc \ParseMaster::_backReferences()
  5. 8.x-2.x advagg_js_minify/jspacker.inc \ParseMaster::_backReferences()
  6. 8.x-3.x advagg_js_minify/jspacker.inc \ParseMaster::_backReferences()

Fichier

advagg_js_minify/jspacker.inc, line 714

Classe

ParseMaster

Code

private function _backReferences($match, $offset) {
    $replacement = $this->buffer['replacement'];
    $quote = $this->buffer['quote'];
    $i = $this->buffer['length'];
    while ($i) {
        $replacement = str_replace('$' . $i--, $match[$offset + $i], $replacement);
    }
    return $replacement;
}