Mantis Bugtracker
  

Viewing Issue Simple Details Jump to Notes ] View Advanced ] Issue History ] Print ]
ID Category Severity Reproducibility Date Submitted Last Update
0004006 [Quercus] minor always 04-20-10 00:35 02-04-11 02:20
Reporter hm2k View Status public  
Assigned To
Priority normal Resolution fixed  
Status closed   Product Version 4.0.11
Summary 0004006: Predefined Constants such as PHP_EOL doesnt exist
Description echo PHP_EOL; //returns NULL; should return a new line

echo defined('PHP_EOL')?'yes':'no'; // returns: no; should return yes

See http://php.net/manual/en/reserved.constants.php [^]
Additional Information
Attached Files  0001-Adding-reserved-constant-PHP_EOL.-Closes-1.patch [^] (1,121 bytes) 09-12-10 16:27

- Relationships

- Notes
(0004734)
kle
08-27-10 06:12

This is a problem, for example with the sitepress-multilingual-cms WordPress plugin. It uses PHP_EOL a lot. Is there a workaround (other than changing the scripts)?
 
(0004746)
kdecherf
09-12-10 16:23

Yes, there is a bugfix available on GitHub :
http://github.com/CleverCloud/Quercus/commit/e175b63a9531301cf2f6644a903de1e32b5f82fa [^]
 
(0004759)
domdorn
09-28-10 06:54

fixed in current svn ref 7555.
should be in 4.0.11 release.
 

- Issue History
Date Modified Username Field Change
04-20-10 00:35 hm2k New Issue
08-27-10 06:12 kle Note Added: 0004734
09-03-10 04:04 kle Issue Monitored: kle
09-12-10 16:23 kdecherf Note Added: 0004746
09-12-10 16:27 kdecherf File Added: 0001-Adding-reserved-constant-PHP_EOL.-Closes-1.patch
09-28-10 06:54 domdorn Note Added: 0004759
09-28-10 06:54 domdorn Status new => resolved
09-28-10 06:54 domdorn Resolution open => fixed
09-28-10 06:54 domdorn version 4.0.6 => 4.0.11
02-04-11 02:20 domdorn Status resolved => closed


Mantis 1.0.0rc3[^]
Copyright © 2000 - 2005 Mantis Group
38 total queries executed.
31 unique queries executed.
Powered by Mantis Bugtracker