Created
October 7, 2019 10:15
-
-
Save webuxmotion/148624e56f54e3d02e86c888f359b5f1 to your computer and use it in GitHub Desktop.
More info here - https://www.php.net/manual/ru/function.get-defined-constants.php
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
function getUserConstants() { | |
return get_defined_constants(true)['user']; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment