Bug #67393 [NEW]: Internal server error with DIRECTORY_SEPARATOR
| From: | sherif dot onion at gmail dot com | Date: | Fri, 06 Jun 2014 14:52:06 +0000 |
| Subject: | Bug #67393 [NEW]: Internal server error with DIRECTORY_SEPARATOR | ||
| Groups: | php.bugs | ||
| Request: | Send a blank email to php-bugs+get-186084@lists.php.net to get a copy of this message | ||
From: sherif dot onion at gmail dot com
Operating system: Debian Linux
PHP version: 5.6.0beta4
Package: Reproducible crash
Bug Type: Bug
Bug description:Internal server error with DIRECTORY_SEPARATOR
Description:
------------
A class that has DIRECTORY_SEPARATOR listed in a declared array causes
internal server error.
Actually version 5.6.0beta3 (no option in drop down for this - but
cannot find similar issue reported/fixed, so assume still present in
5.6.0beta4.
Test script:
---------------
<?php
class e {
protected $options = array(
'separator' => DIRECTORY_SEPARATOR
);
}
Actual result:
--------------
The sample code will always produce an internal server error for me:
(Just including the file with this code in is enough).
Here's what the log looks like:
[Fri Jun 06 15:30:54.040993 2014] [fcgid:warn] [pid 19647]
(104)Connection reset by peer: [client x.x.x.x] mod_fcgid: error reading
data from FastCGI server
[Fri Jun 06 15:30:54.041048 2014] [core:error] [pid 19647] [client
x.x.x.x] End of script output before headers: test2.php
--
Edit bug report at https://bugs.php.net/bug.php?id=67393&edit=1
--
Try a snapshot (PHP 5.4): https://bugs.php.net/fix.php?id=67393&r=trysnapshot54
Try a snapshot (PHP 5.5): https://bugs.php.net/fix.php?id=67393&r=trysnapshot55
Try a snapshot (trunk): https://bugs.php.net/fix.php?id=67393&r=trysnapshottrunk
Fixed in SVN: https://bugs.php.net/fix.php?id=67393&r=fixed
Fixed in release: https://bugs.php.net/fix.php?id=67393&r=alreadyfixed
Need backtrace: https://bugs.php.net/fix.php?id=67393&r=needtrace
Need Reproduce Script: https://bugs.php.net/fix.php?id=67393&r=needscript
Try newer version: https://bugs.php.net/fix.php?id=67393&r=oldversion
Not developer issue: https://bugs.php.net/fix.php?id=67393&r=support
Expected behavior: https://bugs.php.net/fix.php?id=67393&r=notwrong
Not enough info: https://bugs.php.net/fix.php?id=67393&r=notenoughinfo
Submitted twice: https://bugs.php.net/fix.php?id=67393&r=submittedtwice
register_globals: https://bugs.php.net/fix.php?id=67393&r=globals
PHP 4 support discontinued: https://bugs.php.net/fix.php?id=67393&r=php4
Daylight Savings: https://bugs.php.net/fix.php?id=67393&r=dst
IIS Stability: https://bugs.php.net/fix.php?id=67393&r=isapi
Install GNU Sed: https://bugs.php.net/fix.php?id=67393&r=gnused
Floating point limitations: https://bugs.php.net/fix.php?id=67393&r=float
No Zend Extensions: https://bugs.php.net/fix.php?id=67393&r=nozend
MySQL Configuration Error: https://bugs.php.net/fix.php?id=67393&r=mysqlcfg