Skip to content

Instantly share code, notes, and snippets.

@rodrigoSyscop
Created February 24, 2018 17:24
Show Gist options
  • Save rodrigoSyscop/1cdcdcf6f5a1422be2b577e3611f2a82 to your computer and use it in GitHub Desktop.
Save rodrigoSyscop/1cdcdcf6f5a1422be2b577e3611f2a82 to your computer and use it in GitHub Desktop.
framework/hello.php
<?php // framework/hello.php
$input = $request->get('name', 'World');
$response->setContent(sprintf('Hello %s', htmlspecialchars($input, ENT_QUOTES, 'UTF-8')));
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment