note 117044 deleted from language.constants.syntax by tularis
| From: | tularis@php.net | Date: | Tue, 07 Apr 2015 13:11:44 +0000 |
| Subject: | note 117044 deleted from language.constants.syntax by tularis | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-202194@lists.php.net to get a copy of this message | ||
Note Submitter: linzehuazuishuai at 163 dot com
----
a valuable can use in define() too.
<?php
$dir = 'hello/';
define("TEXT",$dir.'text.txt');
echo TEXT;
?>
output:
hello/text.txt
!:: it is because define() is a function, the para's will caculate before send to define();