In PHP, magic constants are preset constants that alter depending on their use. They begin with a double underscore ( ) and end with another double underscore ( ). They're identical to other specified constants, but they're termed magic constants since their values alter depending on the circumstances.
The magic constant of an nth-order magic square is calculated by dividing the total of 1 to n2 by n, i.e. the magic constant = n (n2+1)/2.
The __FILE__ constant returns the entire path and name of the currently running PHP file. The name of the included file is returned if used inside an include.
name: It specifies the constant name.
point value: It indicates the value of a constant.
case-insensitive: Indicates whether or not a variable is case-insensitive. False is the default setting. It signifies that by default, it is case sensitive.
Learner's Ratings
4.4
Overall Rating
65%
21%
7%
4%
3%
Reviews
R
Rahul Kumar Yadav
5
I'm very very happy Meet sir thanks
سید انوشہ
4
to good greate job
B
biramani thangjam
5
amazing concept....
A
Asif Nadeem
5
Full Recommended Course Contents
Y
Yadav Aakash
5
Great 👍 one of the best course
#
# krish
5
sir forum wala page work nahi kr raha hai kya karu bhautt sare questions hai mere paas
O
Om Sunil Gaikwad
5
what a course
A
Arjun Chauhan
5
Great 👍 one of the best course
Z
zeeshan ahmad
5
Too Good, but I do not find the video course codding.?
M
Mrinal Padhi
5
Explains you everything perfectly and also provides study materials to you so that you can practice by your own if facing any errors. the are responds to your query also.
Share a personalized message with your friends.