Same name in other branches
- 5.0.x advagg_js_minify/jspacker.inc \ParseMaster::_backReferences()
- 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()
File
-
advagg_js_minify/
jspacker.inc, line 714
Class
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;
}