-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Supported PHP version is changed to PHP 8.1 and above. - Removed Filter check for URIPATH in match_route method as FILTER_SANITIZE_STRING is deprecated in PHP 8.1
- Loading branch information
Showing
4 changed files
with
16 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
<?php | ||
require_once __DIR__ . '/../vendor/autoload.php'; // Autoload files using Composer autoload | ||
|
||
use EARouter\EARouter; | ||
|
||
//$eaRouter = new EARouter(RouterInterface $routerInterface); | ||
$eaRouter = new EARouter(); | ||
$eaRouterUriPathParams = $eaRouter->getUriPathParams($_SERVER['REQUEST_URI']); | ||
|
||
print_r($eaRouterUriPathParams); |