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
 [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: Tue Nov 12 21:01:30 2024 UTC