|  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #6785 { needs to be backslashed if followed by a variable
Submitted: 2000-09-17 01:58 UTC Modified: 2000-09-17 02:03 UTC
From: alain at onesite dot org Assigned:
Status: Closed Package: Scripting Engine problem
PHP Version: 4.0.2 OS: Linux RedHat 5.2 2.0.36, gcc 2.9
Private report: No CVE-ID: None
View Add Comment Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
You can add a comment by following this link or if you reported this bug, you can edit this bug over here.
Block user comment
Status: Assign to:
Bug Type:
From: alain at onesite dot org
New email:
PHP Version: OS:


 [2000-09-17 01:58 UTC] alain at onesite dot org
I'm not sure this is a bug :

this works :

echo "{\n";

this fails :

echo "{$s";  

Parse error:  parse error, expecting `'}'' on line 3

Just in case :



Add a Patch

Pull Requests

Add a Pull Request


AllCommentsChangesGit/SVN commitsRelated reports
 [2000-09-17 02:03 UTC]
This is not a bug. Please read
PHP Copyright © 2001-2021 The PHP Group
All rights reserved.
Last updated: Sun Mar 07 03:01:23 2021 UTC