Routing Table : array(4) { ["/^$/i"]=> array(2) { ["controller"]=> string(4) "Home" ["action"]=> string(5) "index" } ["/^(?P[a-z-]+)\/(?P[a-z-]+)$/i"]=> array(0) { } ["/^(?P[a-z-]+)\/(?P\d+)\/(?P[a-z-]+)$/i"]=> array(0) { } ["/^admin\/(?P[a-z-]+)\/(?P[a-z-]+)$/i"]=> array(1) { ["namespace"]=> string(5) "Admin" } } Request URL : string(0) "" Matching Route : string(5) "/^$/i" Matching Parameters : array(2) { ["controller"]=> string(4) "Home" ["action"]=> string(5) "index" } Matching Regex : array(1) { [0]=> string(0) "" } Home

Welcome to MVC From Scratch

brought to you by Kevin with Twig

  • Red
  • Green
  • Blue
Parameters Modified : array(2) { ["controller"]=> string(4) "Home" ["action"]=> string(5) "index" }