ID: 10661
Updated by: derick
Reported By: [EMAIL PROTECTED]
Old-Status: Open
Status: Closed
Bug Type: *General Issues
PHP Version: 4.0.5
Assigned To: 
Comments:

This should be fixed in the current CVS, please reopen if this does not work with the 
latest CVS version (or snapshot from snaps.php.net)

Previous Comments:
---------------------------------------------------------------------------

[2001-05-04 06:19:49] [EMAIL PROTECTED]
Executing a script like this in mac file text format (EOF ==
'r'):


<?php
 
$arr = array(
        "test1" // comment
);
 
foreach ($arr as $val) {
        echo $val."<br>n";
}
 
?>


I receive this output:


// comment
);

foreach ($arr as $val) {
        echo $val."<br>n";
}


This only appears if the comment is present.


---------------------------------------------------------------------------



ATTENTION! Do NOT reply to this email!
To reply, use the web interface found at http://bugs.php.net/?id=10661&edit=2


-- 
PHP Development Mailing List <http://www.php.net/>
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to