Have valid PHP code in the web fixtures

The `setcookie` function triggers a warning because the output is already sent when called.