Home / CSE / PHP - CS :: Discussion

Discussion :: PHP - CS

  1. A function in PHP which starts with ______ (double underscore) is know as.

  2. A.

     Magic Function

    B.

     Inbuilt Function

    C.

     Default Function

    D.

     User Defined Function

    View Answer

    Workspace

    Answer : Option A

    Explanation :

    PHP functions that start with a double underscore – a “__” – are called magic functions in PHP. They are functions that are always defined inside classes, and are not stand-alone functions.


Be The First To Comment