Skip to content

Instantly share code, notes, and snippets.

@akondas
Last active August 29, 2015 14:23
Show Gist options
  • Save akondas/8573d54f9807ba26d422 to your computer and use it in GitHub Desktop.
Save akondas/8573d54f9807ba26d422 to your computer and use it in GitHub Desktop.
<?php
function add(int $a, int $b): int {
return $a + $b;
}
add(1, '2');
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment