<?php strtok(string $string, string $token): string|false
<?php { if (isset($params[0])) { $url = strtok($value, '#'); $fragment = parse_url($value, PHP_URL_FRAGMENT);
<?php { if (isset($params[0])) { $url = strtok($value, '?'); $url = strtok($url, '#');
<?php if (isset($params[0])) { $url = strtok($value, '?'); $url = strtok($url, '#'); $parsedUrl = parse_url($value);