]> granicus.if.org Git - php/commitdiff
- MFH: Added PHP_EOL constant that contains the OS way of representing
authorDerick Rethans <derick@php.net>
Fri, 13 Aug 2004 07:08:46 +0000 (07:08 +0000)
committerDerick Rethans <derick@php.net>
Fri, 13 Aug 2004 07:08:46 +0000 (07:08 +0000)
  newlines. (Patch by Paul Hudson)

NEWS
main/main.c

diff --git a/NEWS b/NEWS
index ca80d8ae16b7a0cbb76273530cadf712e06a63c2..a1d9bd528c3d478acce8ac7d41b8a79b6e0a0690 100644 (file)
--- a/NEWS
+++ b/NEWS
@@ -1,6 +1,8 @@
 PHP                                                                        NEWS
 |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
 ?? ??? 2004, PHP 5.0.2
+- Added PHP_EOL constant that contains the OS way of representing newlines.
+  (Paul Hudson, Derick)
 
 12 Aug 2004, PHP 5.0.1
 - Changed destructor mechanism so that destructors are called prior to request
index 9b0a3c9701adbb7f13e0a895c94dd1af6637aa0c..53499bcb3927007bba23eee3184a719ff4c8888f 100644 (file)
@@ -1426,6 +1426,7 @@ int php_module_startup(sapi_module_struct *sf, zend_module_entry *additional_mod
        REGISTER_MAIN_STRINGL_CONSTANT("PHP_CONFIG_FILE_PATH", PHP_CONFIG_FILE_PATH, sizeof(PHP_CONFIG_FILE_PATH)-1, CONST_PERSISTENT | CONST_CS);
        REGISTER_MAIN_STRINGL_CONSTANT("PHP_CONFIG_FILE_SCAN_DIR", PHP_CONFIG_FILE_SCAN_DIR, sizeof(PHP_CONFIG_FILE_SCAN_DIR)-1, CONST_PERSISTENT | CONST_CS);
        REGISTER_MAIN_STRINGL_CONSTANT("PHP_SHLIB_SUFFIX", PHP_SHLIB_SUFFIX, sizeof(PHP_SHLIB_SUFFIX)-1, CONST_PERSISTENT | CONST_CS);
+       REGISTER_MAIN_STRINGL_CONSTANT("PHP_EOL", PHP_EOL, sizeof(PHP_EOL)-1, CONST_PERSISTENT | CONST_CS);
        php_output_register_constants(TSRMLS_C);
        php_rfc1867_register_constants(TSRMLS_C);