I observed that polyfill package symfony/polyfill-php80 is used.
File: src/lib/items/RouteData.php::detectUrlPattern()
if (!str_starts_with(trim($this->path, '/'), trim($prefix, '/'))) {
It is present in require-dev section in composer.json
It should be present in require section