Linux cesa-www-main 6.1.0-49-cloud-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.1.174-1 (2026-05-26) x86_64
Apache/2.4.68 (Debian)
Server IP : 10.218.0.2 & Your IP : 216.73.216.28
Domains :
Cant Read [ /etc/named.conf ]
User : www-data
Terminal
Auto Root
Create File
Create Folder
Localroot Suggester
Backdoor Destroyer
Readme
/
usr /
share /
php /
FastRoute /
Delete
Unzip
Name
Size
Permission
Date
Action
DataGenerator
[ DIR ]
drwxr-xr-x
2025-06-07 09:54
Dispatcher
[ DIR ]
drwxr-xr-x
2025-06-07 09:54
RouteParser
[ DIR ]
drwxr-xr-x
2025-06-07 09:54
BadRouteException.php
81
B
-rw-r--r--
2018-02-13 20:26
DataGenerator.php
682
B
-rw-r--r--
2018-02-13 20:26
Dispatcher.php
594
B
-rw-r--r--
2018-02-13 20:26
Route.php
921
B
-rw-r--r--
2018-02-13 20:26
RouteCollector.php
3.77
KB
-rw-r--r--
2018-02-13 20:26
RouteParser.php
1.01
KB
-rw-r--r--
2018-02-13 20:26
autoload.php
1.91
KB
-rw-r--r--
2022-06-25 17:36
functions.php
2.49
KB
-rw-r--r--
2018-02-13 20:26
Save
Rename
<?php namespace FastRoute; class Route { /** @var string */ public $httpMethod; /** @var string */ public $regex; /** @var array */ public $variables; /** @var mixed */ public $handler; /** * Constructs a route (value object). * * @param string $httpMethod * @param mixed $handler * @param string $regex * @param array $variables */ public function __construct($httpMethod, $handler, $regex, $variables) { $this->httpMethod = $httpMethod; $this->handler = $handler; $this->regex = $regex; $this->variables = $variables; } /** * Tests whether this route matches the given string. * * @param string $str * * @return bool */ public function matches($str) { $regex = '~^' . $this->regex . '$~'; return (bool) preg_match($regex, $str); } }