From:             castletoday at hotmail dot com
Operating system: xp
PHP version:      5.2.4
PHP Bug Type:     Performance problem
Bug description:  the \n to jump to a new line is ignored

Description:
------------
the print"\n"; to start a new line is ignored. I am using APACHE 2.0.58
and PHP 5.1.4. 
Instead of 1 line of output I am expecting 2 lines

Reproduce code:
---------------
<?php
print 'The comments are texts in a script that are ignored by the PHP
engine';
print"\n";
print 'test';
// For example this is single line comment
# Another single line of comment may be done by using this symbol #
/*
For multilines comments 
we use the slash and the asterisk
to start and the asterisk and slash to end
*/
?>

Expected result:
----------------
The comments are texts in a script that are ignored by the PHP engine
test

Actual result:
--------------
The comments are texts in a script that are ignored by the PHP engine
test

(All of this is in the same single line)

-- 
Edit bug report at http://bugs.php.net/?id=42799&edit=1
-- 
Try a CVS snapshot (PHP 4.4): 
http://bugs.php.net/fix.php?id=42799&r=trysnapshot44
Try a CVS snapshot (PHP 5.2): 
http://bugs.php.net/fix.php?id=42799&r=trysnapshot52
Try a CVS snapshot (PHP 6.0): 
http://bugs.php.net/fix.php?id=42799&r=trysnapshot60
Fixed in CVS:                 http://bugs.php.net/fix.php?id=42799&r=fixedcvs
Fixed in release:             
http://bugs.php.net/fix.php?id=42799&r=alreadyfixed
Need backtrace:               http://bugs.php.net/fix.php?id=42799&r=needtrace
Need Reproduce Script:        http://bugs.php.net/fix.php?id=42799&r=needscript
Try newer version:            http://bugs.php.net/fix.php?id=42799&r=oldversion
Not developer issue:          http://bugs.php.net/fix.php?id=42799&r=support
Expected behavior:            http://bugs.php.net/fix.php?id=42799&r=notwrong
Not enough info:              
http://bugs.php.net/fix.php?id=42799&r=notenoughinfo
Submitted twice:              
http://bugs.php.net/fix.php?id=42799&r=submittedtwice
register_globals:             http://bugs.php.net/fix.php?id=42799&r=globals
PHP 3 support discontinued:   http://bugs.php.net/fix.php?id=42799&r=php3
Daylight Savings:             http://bugs.php.net/fix.php?id=42799&r=dst
IIS Stability:                http://bugs.php.net/fix.php?id=42799&r=isapi
Install GNU Sed:              http://bugs.php.net/fix.php?id=42799&r=gnused
Floating point limitations:   http://bugs.php.net/fix.php?id=42799&r=float
No Zend Extensions:           http://bugs.php.net/fix.php?id=42799&r=nozend
MySQL Configuration Error:    http://bugs.php.net/fix.php?id=42799&r=mysqlcfg

Reply via email to