PHPMailer\PHPMailer\PHPMailer::mb_pathinfo
Multi-byte-safe pathinfo replacement.
Drop-in replacement for pathinfo(), but multibyte- and cross-platform-safe.
Signature
public function mb_pathinfo(string
$path,
[int|string
$options = NULL] )
Parameters
$path
— string- A filename or path, does not need to exist as a file
$options
— object- Either a PATHINFO_* constant,
or a string name to return only the specified piece
Returns
- string|array