×

Welcome to TagMyCode

Please login or create account to add a snippet.
0
0
 
0
Language: PHP
Posted by: Eric Moore
Added: Jan 24, 2022 2:09 AM
Views: 398
Tags: no tags
  1. function addTwo(int | float | null $first_value, int | float | null  $second_value) : int | float | null {
  2.     $result = $first_value + $second_value;
  3.     return $result;
  4. }