Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
PHP 7 return type declarations
* Return type declarations
function add(int $a, int $b): int{
return (string)($a + $b);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.