public function CSSmin::__construct in Advanced CSS/JS Aggregation 7.2
Same name and namespace in other branches
- 8.2 advagg_css_minify/yui/CSSMin.inc \CSSmin::__construct()
- 8.3 advagg_css_minify/yui/CSSMin.inc \CSSmin::__construct()
- 6 advagg_css_compress/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 . '?';
}