Home » PHP » PHP Functions » Question
  1. A function in PHP which starts with __ (double underscore) is know as..
    1. Inbuilt Function
    2. User Defined Function
    3. Magic Function
    4. Default Function
    5. None of these
Correct Option: C

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.



Your comments will be displayed only after manual approval.