Date: 05/04/01
- Next message: derick <email protected>: "[PHP-DEV] Bug #10661 Updated: Problem parsing a script in mac text file format"
- Previous message: Justo Alonso: "[PHP-DEV] Re: Bug #9602 Updated: Unable to compile with NSAPI support, implicit declaration of finite function"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
From: aleast <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: 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: derick <email protected>: "[PHP-DEV] Bug #10661 Updated: Problem parsing a script in mac text file format"
- Previous message: Justo Alonso: "[PHP-DEV] Re: Bug #9602 Updated: Unable to compile with NSAPI support, implicit declaration of finite function"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]

