|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2005-12-15 14:21 UTC] tony2001@php.net
[2005-12-15 14:24 UTC] cristiklein at net dot utcluj dot ro
|
|||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Mon Dec 01 17:00:01 2025 UTC |
Description: ------------ I recently noticed that "\{$var}" retains the backslash. Older versions of php don't do so, because backslash is meant to escape the curly. Reproduce code: --------------- <?php $length = 100; $sent_folder = "INBOX.Sent"; echo "APPEND \"$sent_folder\" (\\Seen) \{$length}\r\n"; ?> Expected result: ---------------- APPEND "INBOX.Sent" (\Seen) {100} Actual result: -------------- APPEND "INBOX.Sent" (\Seen) \{100}