$callback) { if ($path !== $uri) continue; $found = true; $callback(); } if (!$found) { $notFoundCallback = $routes['/404']; $notFoundCallback(); } } ?>