php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #14491 Parser warning that should be parse error
Submitted: 2001-12-13 14:12 UTC Modified: 2002-06-18 06:37 UTC
From: yohgaki@php.net Assigned:
Status: Closed Package: Scripting Engine problem
PHP Version: 4.1.0 OS: Linux
Private report: No CVE-ID: None
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If you forgot your password, you can retrieve your password here.
Password:
Status:
Package:
Bug Type:
Summary:
From: yohgaki@php.net
New email:
PHP Version: OS:

 

 [2001-12-13 14:12 UTC] yohgaki@php.net
Is't this should be an error? instead of warning?

<?php
\ echo "aa";
?>

gives

Warning: Unexpected character in input: '\' (ASCII=92) state=1 in /home/yohgaki/public_html/bugs/test.php on line 2
aa


Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2001-12-14 12:53 UTC] yohgaki@php.net
Bad english correction ;)
Shoud this be an error? instead of warning?

Status = Analyzed
 [2002-06-18 06:37 UTC] derick@php.net
It's fine as it is
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Thu Nov 14 03:01:31 2024 UTC