Submit
Path:
~
/
/
usr
/
local
/
psa
/
admin
/
plib
/
modules
/
performance-booster
/
vendor
/
nikic
/
fast-route
/
src
/
Dispatcher
/
File Content:
GroupCountBased.php
<?php namespace PerformanceBooster\FastRoute\Dispatcher; class GroupCountBased 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; } list($handler, $varNames) = $data['routeMap'][\count($matches)]; $vars = []; $i = 0; foreach ($varNames as $varName) { $vars[$varName] = $matches[++$i]; } return [self::FOUND, $handler, $vars]; } return [self::NOT_FOUND]; } }
Edit
Rename
Chmod
Delete
FILE
FOLDER
INFO
Name
Size
Permission
Action
CharCountBased.php
794 bytes
0644
GroupCountBased.php
779 bytes
0644
GroupPosBased.php
853 bytes
0644
MarkBased.php
773 bytes
0644
RegexBasedAbstract.php
2789 bytes
0644
N4ST4R_ID | Naxtarrr