PHP has large number of predefined constants. This HOWTO will present the seven most important, most practical and most useful PHP Magic Constants. __FILE__ – The full path and filename of the file. __DIR__ – The directory of the file. __FUNCTION__ –…