Same name in other branches
- 6.0.x advagg_js_minify/jspacker.inc \ParseMaster::_backReferences()
- 7.x-1.x advagg_js_compress/jspacker.inc \ParseMaster::_backReferences()
- 7.x-2.x advagg_js_compress/jspacker.inc \ParseMaster::_backReferences()
- 8.x-2.x advagg_js_minify/jspacker.inc \ParseMaster::_backReferences()
- 8.x-3.x advagg_js_minify/jspacker.inc \ParseMaster::_backReferences()
- 8.x-4.x advagg_js_minify/jspacker.inc \ParseMaster::_backReferences()
Fichier
-
advagg_js_minify/
jspacker.inc, line 714
Classe
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;
}