#38388 [NEW]: PHP runs ok, but stops when load a class with multline comment
| From: | ramirovarandas at gmail dot com | Date: | Tue, 08 Aug 2006 21:15:12 +0000 |
| Subject: | #38388 [NEW]: PHP runs ok, but stops when load a class with multline comment | ||
| Groups: | php.bugs | ||
| Request: | Send a blank email to php-bugs+get-100549@lists.php.net to get a copy of this message | ||
From: ramirovarandas at gmail dot com
Operating system: Windows XP Professional SP 2
PHP version: 5.1.4
PHP Bug Type: *General Issues
Bug description: PHP runs ok, but stops when load a class with multline comment
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
--
Edit bug report at http://bugs.php.net/?id=38388&edit=1
--
Try a CVS snapshot (PHP 4.4): http://bugs.php.net/fix.php?id=38388&r=trysnapshot44
Try a CVS snapshot (PHP 5.2): http://bugs.php.net/fix.php?id=38388&r=trysnapshot52
Try a CVS snapshot (PHP 6.0): http://bugs.php.net/fix.php?id=38388&r=trysnapshot60
Fixed in CVS: http://bugs.php.net/fix.php?id=38388&r=fixedcvs
Fixed in release: http://bugs.php.net/fix.php?id=38388&r=alreadyfixed
Need backtrace: http://bugs.php.net/fix.php?id=38388&r=needtrace
Need Reproduce Script: http://bugs.php.net/fix.php?id=38388&r=needscript
Try newer version: http://bugs.php.net/fix.php?id=38388&r=oldversion
Not developer issue: http://bugs.php.net/fix.php?id=38388&r=support
Expected behavior: http://bugs.php.net/fix.php?id=38388&r=notwrong
Not enough info: http://bugs.php.net/fix.php?id=38388&r=notenoughinfo
Submitted twice: http://bugs.php.net/fix.php?id=38388&r=submittedtwice
register_globals: http://bugs.php.net/fix.php?id=38388&r=globals
PHP 3 support discontinued: http://bugs.php.net/fix.php?id=38388&r=php3
Daylight Savings: http://bugs.php.net/fix.php?id=38388&r=dst
IIS Stability: http://bugs.php.net/fix.php?id=38388&r=isapi
Install GNU Sed: http://bugs.php.net/fix.php?id=38388&r=gnused
Floating point limitations: http://bugs.php.net/fix.php?id=38388&r=float
No Zend Extensions: http://bugs.php.net/fix.php?id=38388&r=nozend
MySQL Configuration Error: http://bugs.php.net/fix.php?id=38388&r=mysqlcfg