In developing process, if you want to store a value that will remain the same along your script’s execution, you can define a constant.
Also PHP has some magic constants like PHP_VERSION, __LINE__, __FILE__, E_ERROR, __DIR__, __FUNCTION__, __CLASS__, and __METHOD__, E_ALL and others wixh can help you in your application development.