php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #2744 Open comment not caught, returns "document contains no data"
Submitted: 1999-11-18 00:14 UTC Modified: 1999-11-22 17:30 UTC
From: greg at bah dot org Assigned:
Status: Closed Package: Scripting Engine problem
PHP Version: 4.0 Beta 3 OS: Linux RH 6.0
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.
(description)
Block user comment
Status: Assign to:
Package:
Bug Type:
Summary:
From: greg at bah dot org
New email:
PHP Version: OS:

 

 [1999-11-18 00:14 UTC] greg at bah dot org
If you leave an open comment, php4 doesn't catch it. php3, however, tells you that you left a comment open. I think the latter should be the correct behavior.

Here is an example:

<?php

/* This is a comment that isn't closed

$foo = 1;
echo "$foo";

?>

Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [1999-11-22 17:30 UTC] zeev at cvs dot php dot net
Fixed, thanks!
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Thu Mar 28 19:01:29 2024 UTC