From: [EMAIL PROTECTED] Operating system: Linux 2.2.16 - RedHat 6.2 PHP version: 4.0.5 PHP Bug Type: *General Issues Bug description: Problem parsing a script in mac text file format 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. -- Edit Bug report at: http://bugs.php.net/?id=10661&edit=1 -- 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]