The exception is magic

When looking up __FILE__ in the PHP manual I came across this:

“A constant is an identifier (name) for a simple value. As the name suggests, that value cannot change during the execution of the script (except for magic constants, which aren’t actually constants).”

In my opinion, “magic constants” isn’t very descriptive. (same with magic_quotes)

No Responses to “The exception is magic”.

Leave a response