Create New Item
Item Type
File
Folder
Item Name
Search file in folder and subfolders...
Are you sure want to rename?
optometrists
/
cache
/
cache
/
cache
/
cache
/
cache
/
cache
/
cache
/
.wp-cli
/
wp-content
/
plugins
/
wp-phpmyadmin-extension
/
lib
/
phpMyAdmin
/
vendor
/
nikic
/
fast-route
/
src
/
Dispatcher
:
GroupPosBased.php
Advanced Search
Upload
New Item
Settings
Back
Back Up
Advanced Editor
Save
<?php namespace FastRoute\Dispatcher; class GroupPosBased extends RegexBasedAbstract { public function __construct($data) { list($this->staticRouteMap, $this->variableRouteData) = $data; } protected function dispatchVariableRoute($routeData, $uri) { foreach ($routeData as $data) { if (!preg_match($data['regex'], $uri, $matches)) { continue; } // find first non-empty match for ($i = 1; '' === $matches[$i]; ++$i); list($handler, $varNames) = $data['routeMap'][$i]; $vars = []; foreach ($varNames as $varName) { $vars[$varName] = $matches[$i++]; } return [self::FOUND, $handler, $vars]; } return [self::NOT_FOUND]; } }