Created
August 3, 2014 19:11
-
-
Save maykonmeier/f2584447d244eed5231d to your computer and use it in GitHub Desktop.
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
<?php | |
// Define two constants | |
define('FOO', 2014); | |
define('FOO_BAR', 'Sea food'); | |
// To print a constant, we have not to use $ | |
echo FOO; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment