English

Write the Syntax to define Function in PHP.

Advertisements

Question

Write the Syntax to define Function in PHP.

Short/Brief Note
Advertisements

Solution

SYNTAX:

function functionName()
{
Custom Logic code to be executed;
}
shaalaa.com
  Is there an error in this question or solution?
Chapter 5: PHP Function and Array - Evaluation - PART – II [Page 104]

APPEARS IN

Samacheer Kalvi Computer Applications [English] Class 12 TN Board
Chapter 5 PHP Function and Array
Evaluation - PART – II | Q 5. | Page 104
Advertisements
Share
Notifications



      Forgot password?
Use app×