मराठी
तामिळनाडू बोर्ड ऑफ सेकेंडरी एज्युकेशनएचएससी विज्ञान इयत्ता १२

Explain Function concepts in PHP. - Computer Applications

Advertisements
Advertisements

प्रश्न

Explain Function concepts in PHP.

दीर्घउत्तर

उत्तर

In most the programming language, a block of segments in a program that performs specific operation tasks (Insert, Execute, Delete, Calculate, etc.). This segment is also known as Function. A Function is a type of subroutine or procedure in a program.

Function will be executed by a call to the Function and the Function returns any data type values or NULL value to called Function in the part of the respective program.

The Function can be divided into three types as follows:

  1. User-Defined Function:
    User-Defined Function (UDF) in PHP gives a privilege to the user to write own specific operation inside of existing program module. Two important steps the Programmer has to create for users to define Functions are Function declaration and Function calling.
  2. System Define Functions:
    A function is already created by system it is a reusable piece or block of code that performs a specific action. Functions can either return values when called or can simply perform an operation without returning any value.
  3. Parameterized Function:
    PHP Parameterized functions are the functions with parameters or arguments.
shaalaa.com
PHP Function and Array
  या प्रश्नात किंवा उत्तरात काही त्रुटी आहे का?
पाठ 5: PHP Function and Array - Evaluation - PART – IV [पृष्ठ १०४]

APPEARS IN

सामाचीर कलवी Computer Applications [English] Class 12 TN Board
पाठ 5 PHP Function and Array
Evaluation - PART – IV | Q 1. | पृष्ठ १०४
Share
Notifications

Englishहिंदीमराठी


      Forgot password?
Use app×