Advertisement
-Annie-

SumTwoNumbers

Jul 17th, 2017
70
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
PHP 0.12 KB | None | 0 0
  1. <?php  declare(strict_types=1) ?>
  2.  
  3. <?php
  4. function sum(int $a, int $b): int {
  5.     return $a + $b;
  6. }
  7.  
  8. echo sum(12, 3);
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement