note 117044 added to language.constants.syntax
| From: | linzehuazuishuai at 163 dot com | Date: | Tue, 07 Apr 2015 12:24:37 +0000 |
| Subject: | note 117044 added to language.constants.syntax | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-202193@lists.php.net to get a copy of this message | ||
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();
----
Server IP: 72.52.91.14
Probable Submitter: 27.17.29.173
----
Manual Page -- http://php.net/manual/en/language.constants.syntax.php
Edit -- https://master.php.net/note/edit/117044
Del: integrated -- https://master.php.net/note/delete/117044/integrated
Del: useless -- https://master.php.net/note/delete/117044/useless
Del: bad code -- https://master.php.net/note/delete/117044/bad+code
Del: spam -- https://master.php.net/note/delete/117044/spam
Del: non-english -- https://master.php.net/note/delete/117044/non-english
Del: in docs -- https://master.php.net/note/delete/117044/in+docs
Del: other reasons-- https://master.php.net/note/delete/117044
Reject -- https://master.php.net/note/reject/117044
Search -- https://master.php.net/manage/user-notes.php