pathinfo
reactphp/socket
Supported Versions: PHP 4 >= 4.0.3, PHP 5, PHP 7, PHP 8
Returns information about a file path
<?php pathinfo
(
string $path
,
int $flags
=
PATHINFO_ALL
): array|
string