ã¡ã¢ã PHPã§ã¯ãã¢ããã¥ã¡ã³ãä¸ã 1.å¤æ°ã¯å±éããã 2.å®æ°ã¯å±éãããªã âã®ä¾ã ã¨ãå®æ°ãMY_NAMEãã¯å±éãããªãã <?php define("MY_NAME","ç°ä¸è§æ "); print <<< HTML_PROF my name is {MY_NAME}. HTML_PROF; ?> ãªã®ã§ãé©å½ãªã¯ã©ã¹ãä½ã£ã¦newããã¤ã³ã¹ã¿ã³ã¹å¤æ°çµç±ã§constanté¢æ°ã使ãã <?php define("MY_NAME","ç°ä¸è§æ "); $def = new DefineParse(); print <<< HTML_PROF my name is {$def->get('MY_NAME')}. HTML_PROF; class DefineParse { public function get($defineKey){ return constant($defi
{{#tags}}- {{label}}
{{/tags}}