php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #38388 PHP runs ok, but stops when load a class with multline comment
Submitted: 2006-08-08 21:15 UTC Modified: 2006-08-08 21:46 UTC
From: ramirovarandas at gmail dot com Assigned:
Status: Not a bug Package: *General Issues
PHP Version: 5.1.4 OS: Windows XP Professional SP 2
Private report: No CVE-ID: None
 [2006-08-08 21:15 UTC] ramirovarandas at gmail dot com
Description:
------------
Apache: Apache/1.3.34 (Win32) PHP/5.1.4 

Configure Line: cscript /nologo configure.js "--enable-snapshot-build" "--with-gd=shared"

Modules: bcmath, bz2, calendar, com_dotnet, ctype, date, dom, ftp, gd, hash, iconv, libxml, mssql, mysql, odbc, pcre, reflection, session, simplexml, spl, standard, tokenizer, wddx, xml, xmlreader, xmlwriter, zlib

Short open tag: On



Reproduce code:
---------------
I created a class for manage database connections, and the code is more than 20 lines, so I put the files on a virtual disk space, here's the link:

http://www.esnips.com/web/phpbug

It seems that the file in being include ok (require prints 1)

Expected result:
----------------
To include the class, connect, query and close with a print of the array of results.

Actual result:
--------------
Fatal error:  Class 'bd' not found in d:\www\framework\classes\bd.teste.php on line 7



Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2006-08-08 21:46 UTC] tony2001@php.net
Sorry, but your problem does not imply a bug in PHP itself.  For a
list of more appropriate places to ask for help using PHP, please
visit http://www.php.net/support.php as this bug system is not the
appropriate forum for asking support questions.  Due to the volume
of reports we can not explain in detail here why your report is not
a bug.  The support channels will be able to provide an explanation
for you.

Thank you for your interest in PHP.


 
PHP Copyright © 2001-2026 The PHP Group
All rights reserved.
Last updated: Tue Oct 06 21:00:01 2026 UTC