note 80174 deleted from function.get-defined-constants by felipe
| From: | felipe@php.net | Date: | Thu, 03 Jan 2008 18:36:11 +0000 |
| Subject: | note 80174 deleted from function.get-defined-constants by felipe | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-134723@lists.php.net to get a copy of this message | ||
Note Submitter: david at cheslow dot net
----
Maybe I'm not seeing all the benefits here, but it seems simpler to just transfer the constant
to a variable before substitution in a string or heredoc: $myconstant = MYCONSTANT; $mystring =
"Here is my constant: $myconstant";