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
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: 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

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [1999-11-22 17:30 UTC] zeev at cvs dot php dot net
Fixed, thanks!
 
PHP Copyright © 2001-2025 The PHP Group
All rights reserved.
Last updated: Tue Jul 08 23:01:32 2025 UTC