Web Technology20815 marksFunctions
Write a PHP function add that takes two arguments as an input and return their sum.
Write a PHP function add that takes two arguments as an input and return their sum. [5]
Based on the PHP Functions and Function Arguments concepts A PHP function is declared using the function keyword, and arguments are passed inside the parentheses separated by commas. --- --- --- Part Description ------ function add(...) Declares a user-defined function named add $num1, $num2 Two ...