note 116864 added to migration54.incompatible
| From: | contact at nouslisons dot com | Date: | Thu, 12 Mar 2015 09:38:18 +0000 |
| Subject: | note 116864 added to migration54.incompatible | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-201926@lists.php.net to get a copy of this message | ||
Be careful, in php 5.4. \e in string mean the escape character !
So you will have error for windows path:
$a = "c:\extend\toto.txt";
AND for date function:
echo date ("\t\h\e dmy");
you will have an escape character in your source instead "e"
The workaround I found is simple quote:
echo date ('\t\h\e dmy');
----
Server IP: 72.52.91.14
Probable Submitter: 212.23.175.175
----
Manual Page -- http://php.net/manual/en/migration54.incompatible.php
Edit -- https://master.php.net/note/edit/116864
Del: integrated -- https://master.php.net/note/delete/116864/integrated
Del: useless -- https://master.php.net/note/delete/116864/useless
Del: bad code -- https://master.php.net/note/delete/116864/bad+code
Del: spam -- https://master.php.net/note/delete/116864/spam
Del: non-english -- https://master.php.net/note/delete/116864/non-english
Del: in docs -- https://master.php.net/note/delete/116864/in+docs
Del: other reasons-- https://master.php.net/note/delete/116864
Reject -- https://master.php.net/note/reject/116864
Search -- https://master.php.net/manage/user-notes.php