Function Parameters in PHP: A Comprehensive Guide
☰Fullscreen
Table of Content:
Function parameters are declared after the function name and inside parentheses. They are declared much like a typical variable would be -
Syntax:
Output:
This will produce the following result
Return value is 50