File manager - Edit - /home/carfac/.trash/wp-optimize.1/vendor/matthiasmullie/minify/src/Exceptions/PatternMatchException.php
Back
<?php /** * Pattern match exception. * * Please report bugs on https://github.com/matthiasmullie/minify/issues * * @author Ere Maijala <ere.maijala@helsinki.fi> * @copyright Copyright (c) 2012, Matthias Mullie. All rights reserved * @license MIT License */ namespace MatthiasMullie\Minify\Exceptions; /** * Pattern Match Exception Class. * * @author Ere Maijala <ere.maijala@helsinki.fi> */ class PatternMatchException extends BasicException { /** * Create an exception from preg_last_error. * * @param string $msg Error message */ public static function fromLastError($msg) { $msg .= ': Error ' . preg_last_error(); if (PHP_MAJOR_VERSION >= 8) { $msg .= ' - ' . preg_last_error_msg(); } return new PatternMatchException($msg); } }
| ver. 1.4 |
Github
|
.
| PHP 8.2.31 | Generation time: 0.26 |
proxy
|
phpinfo
|
Settings