+1 vote
in PHP by
Which of the following starts with __ (double underscore) in PHP?

a) Inbuilt constants

b) User-defined constants

c) Magic constants

d) Default constants

1 Answer

0 votes
by
c) Magic constants

Description: Magic constants are the predefined constants in PHP which get changed on the basis of their use. They start with a double underscore (__) and end with double underscore. They are similar to other predefined constants, but as they change their values with the context, they are called magic constants.

Related questions

+1 vote
asked May 13, 2022 in PHP by john ganales
+1 vote
asked May 13, 2022 in PHP by john ganales
...