Single Choice Not Set

QA function in PHP which starts with __ (double underscore) is know as.

ID: #2435 Functions in PHP MCQ 912 views
Question Info
#2435Q ID
Not SetDifficulty
Functions in PHP MCQTopic

Choose the Best Option

Click any option to instantly check if you're correct.

  • A Magic Function
  • B Inbuilt Function
  • C Default Function
  • D User Defined Function
Correct Answer

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.

Share This Question

Challenge a friend or share with your study group.