Same name and namespace in other branches
  1. 8.x-2.x advagg_css_minify/yui/CSSMin.inc \CSSmin::__construct()
  2. 8.x-3.x advagg_css_minify/yui/CSSMin.inc \CSSmin::__construct()

Paramètres

bool|int $raisePhpLimits If true, PHP settings will be raised if needed:

Fichier

advagg_css_compress/yui/CSSMin.inc, line 64

Classe

CSSmin

Code

public function __construct($raisePhpLimits = true) {
    $this->memoryLimit = 128 * 1048576;
    // 128MB in bytes
    $this->pcreBacktrackLimit = 1000 * 1000;
    $this->pcreRecursionLimit = 500 * 1000;
    $this->raisePhpLimits = (bool) $raisePhpLimits;
    $this->numRegex = '(?:\\+|-)?\\d*\\.?\\d+' . $this->unitsGroupRegex . '?';
}