2078 8

CSC329 ยท 2078 ยท 5 marks

How can you define function in PHP? Create a function that will take two integers as argument and will return product of them.

How can you define function in PHP? Create a function that will take two integers as argument and will return product of them. [5]

Web TechnologyChapter 6: Server Side Scripting using PHPFunctions

A function is a block of statements that can be used repeatedly in a program. A function will not execute immediately when a page loads; it will be executed only when it is called. Besides built-in PHP functions, we can create our own user-defined functions. Key Points: - A user-defined function ...