function Programming($fprogram, $num)
echo "$fprogram Program. number wise $num <br>";
Java Program. number wise 1
Python Program. number wise 2
Swift Program. number wise 3
What is function in php scripting
Other programming languages’ functions are similar to PHP’s. A function is a piece of code that takes another input in the form of a parameter, processes it, and then returns a value. Although these are built-in functions, PHP also allows you to construct your own. A constant is defined with the define() function. Constants are similar to variables, with the following exceptions: The value of a constant cannot be modified once it has been set. A leading dollar symbol ($) is not required for constant names. Regardless of scope, constants can be accessed.