note 113343 added to dir.constants
| From: | Anonymous | Date: | Sun, 29 Sep 2013 16:09:29 +0000 |
| Subject: | note 113343 added to dir.constants | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-196416@lists.php.net to get a copy of this message | ||
For my part I'll continue to use this constant because it seems more future safe and flexible,
even if Windows installations currently convert the paths magically. Not that syntax aesthetics
matter but I think it can be made to look attractive:
<?php
$path = join(DIRECTORY_SEPARATOR, array('root', 'lib', 'file.php');
?>
----
Server IP: 69.147.83.199
Probable Submitter: 108.18.206.254
----
Manual Page -- http://php.net/manual/en/dir.constants.php
Edit -- https://master.php.net/note/edit/113343
Del: integrated -- https://master.php.net/note/delete/113343/integrated
Del: useless -- https://master.php.net/note/delete/113343/useless
Del: bad code -- https://master.php.net/note/delete/113343/bad+code
Del: spam -- https://master.php.net/note/delete/113343/spam
Del: non-english -- https://master.php.net/note/delete/113343/non-english
Del: in docs -- https://master.php.net/note/delete/113343/in+docs
Del: other reasons-- https://master.php.net/note/delete/113343
Reject -- https://master.php.net/note/reject/113343
Search -- https://master.php.net/manage/user-notes.php