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
Anyone can comment on a bug. Have a simpler test case? Does it work for you on a different platform? Let us know!
Just going to say 'Me too!'? Don't clutter the database with that please !
Your email address:
MUST BE VALID
Solve the problem:
31 + 17 = ?
Subscribe to this entry?

 
 [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: Sun Apr 28 15:01:31 2024 UTC