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

Fichier

advagg_js_compress/jspacker.inc, line 708

Classe

ParseMaster

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];
}