Slide 39
Slide 39 text
// hello
if (
0 === strpos($pathinfo, '/hello') &&
preg_match('#^/hello/(?P[^/]++)$#s', $pathinfo,
$matches) &&
(in_array($context->getMethod(), array("GET", "HEAD"))
&& preg_match("/firefox/i", $request->headers-
>get("User-Agent")))) {
}