Same name in other branches
- 8.x-2.x advagg_css_minify/yui/CSSMin.inc \CSSmin::__construct()
- 8.x-3.x advagg_css_minify/yui/CSSMin.inc \CSSmin::__construct()
Parameters
bool|int $raisePhpLimits If true, PHP settings will be raised if needed:
File
-
advagg_css_compress/
yui/ CSSMin.inc, line 64
Class
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 . '?';
}