Lines Matching refs:preg_match

296 		$this->issafemode = (bool) preg_match('#(1|ON)#i', ini_get('safe_mode'));
337 if (preg_match('#^[a-z]{3,4}$#', $sourceFileExtension)) {
659 if (preg_match('#^[a-z0-9]+://#i', $filename)) {
827 …if (preg_match('#'.preg_quote($this->config_cache_prefix).'#i', $fullfilename) && file_exists($ful…
963 if (!preg_match('#^(config_|debug|fatalerror)#i', $key)) {
994 } elseif (preg_match('#^[a-z0-9]+://#i', $this->sourceFilename, $protocol_matches)) {
995 if (preg_match('#^(f|ht)tps?\://#i', $this->sourceFilename)) {
1107 if (preg_match('#^(f|ht)tps?\://#i', $this->src)) {
1212 …if (preg_match('#^'.preg_quote(str_replace(DIRECTORY_SEPARATOR, '/', $this->realPathSafe($one_dir)…
1321 $isAlreadyAbsoluteFilename = preg_match('#^[A-Z]\\:#i', $newfilename); // C:\path\filename.ext
1360 if (preg_match('#^[a-z0-9]+\\:/{1,2}#i', $filename)) {
1404 if (preg_match('#^'.preg_quote($this->config_document_root).'#', $filename)) {
1450 …if (!$this->config_allow_src_above_docroot && !preg_match('#^'.preg_quote(str_replace(DIRECTORY_SE…
1454 …if (!$this->config_allow_src_above_phpthumb && !preg_match('#^'.preg_quote(str_replace(DIRECTORY_S…
1601 if (preg_match('#^Version: [^\d]*([ 0-9\\.\\:Q/\\-]+)#i', $versionstring[1], $matches)) {
1628 if (preg_match('#^[\\+\\-]([a-z\\-]+) #', trim($line), $matches)) {
1803 … $IMuseExplicitImageOutputDimensions = preg_match('#image dimensions are zero#i', $IMresult_test);
1839 if (!preg_match('#('.implode('|', $this->AlphaCapableFormats).')#i', $outputFormat)) {
1859 if (preg_match('#^bord\|([\d]+)#', $value, $matches)) {
2016 …if (!preg_match('#('.implode('|', $this->AlphaCapableFormats).')#i', $outputFormat) || phpthumb_fu…
2020 if (preg_match('#('.implode('|', $this->AlphaCapableFormats).')#i', $outputFormat)) {
2314 if (preg_match('# \\-crop "([\d]+)x([\d]+)\\+0\\+0" #', $commandline, $matches)) {
2316 …} elseif (preg_match('# \\-'.$IMresizeParameter.' "([0-9]+)x([0-9]+)" #', $commandline, $matches))…
2389 if (preg_match('#jpe?g#i', $outputFormat) && $this->q) {
2597 if (preg_match('#'.preg_quote($valid_domain).'$#', $hostname)) {
2633 if ($allow && $this->config_nohotlink_enabled && preg_match('#^(f|ht)tps?\://#i', $this->src)) {
3079 if (!preg_match('#^([0-9\\.\\-]*)x([0-9\\.\\-]*)$#i', $alignment, $matches)) {
3097 if (preg_match('#^([0-9\\.\\-]*)x([0-9\\.\\-]*)$#i', $alignment, $matches)) {
3480 if (preg_match('#^http:#i', $this->src) && !$this->sourceFilename && $this->rawImageData) {
3665 preg_match('#(.+)(\\.[a-z0-9]+)?$#i', basename($this->sourceFilename), $matches);
3731 …} elseif (!$this->config_cache_source_filemtime_ignore_remote && preg_match('#^(f|ht)tps?\://#i', …
4135 if (preg_match('#^(([0-4])|(5)\\|(0?\\.?[0-9]+)\\|([0-9A-F]{6}))$#i', $this->ica, $matches)) {