Date: 08/30/99
- Next message: Bug Database: "[PHP-DEV] Bug #2161 Updated: wddx deserializes crashes httpd"
- Previous message: Zeev Suraski: "Re: [PHP-DEV] Re: PHP 4.0 Bug #2193 Updated: Global declared variables not gobalu"
- Next in thread: Mark Musone: "Re: [PHP-DEV] PHP 4.0 Bug #2194: newline character ( \n ) ignored/treated as a single space"
- Reply: Mark Musone: "Re: [PHP-DEV] PHP 4.0 Bug #2194: newline character ( \n ) ignored/treated as a single space"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
From: jkjome <email protected>
Operating system: NT4
PHP version: 4.0 Beta 2
PHP Bug Type: Other
Bug description: newline character ( \n ) ignored/treated as a single space
Here is an example:
<?php for ($i = 4; $i < 8; $i++) {
print "I have eaten $i bagels today.\n";}
?>
Even with the newline character there, no new line is generated in the output. As you can see, this happens with print, but it also happens with printf and echo.
The only thing it does is add a single space where it should have been a new-line.
-- PHP Development Mailing List <http://www.php.net/> To unsubscribe, e-mail: php-dev-unsubscribe <email protected> For additional commands, e-mail: php-dev-help <email protected> To contact the list administrators, e-mail: php-list-admin <email protected>
- Next message: Bug Database: "[PHP-DEV] Bug #2161 Updated: wddx deserializes crashes httpd"
- Previous message: Zeev Suraski: "Re: [PHP-DEV] Re: PHP 4.0 Bug #2193 Updated: Global declared variables not gobalu"
- Next in thread: Mark Musone: "Re: [PHP-DEV] PHP 4.0 Bug #2194: newline character ( \n ) ignored/treated as a single space"
- Reply: Mark Musone: "Re: [PHP-DEV] PHP 4.0 Bug #2194: newline character ( \n ) ignored/treated as a single space"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]

