Same name in other branches
- 5.0.x advagg_js_minify/jspacker.inc \ParseMaster::_replace_name()
- 7.x-1.x advagg_js_compress/jspacker.inc \ParseMaster::_replace_name()
- 7.x-2.x advagg_js_compress/jspacker.inc \ParseMaster::_replace_name()
- 8.x-2.x advagg_js_minify/jspacker.inc \ParseMaster::_replace_name()
- 8.x-3.x advagg_js_minify/jspacker.inc \ParseMaster::_replace_name()
- 8.x-4.x advagg_js_minify/jspacker.inc \ParseMaster::_replace_name()
File
-
advagg_js_minify/
jspacker.inc, line 724
Class
Code
private function _replace_name($match, $offset) {
$length = strlen($match[$offset + 2]);
$start = $length - max($length - strlen($match[$offset + 3]), 0);
return substr($match[$offset + 1], $start, $length) . $match[$offset + 4];
}