Bug #10661 Updated: Problem parsing a script in mac text file format
| From: | derick@php.net | Date: | Fri, 04 May 2001 10:22:29 +0000 |
| Subject: | Bug #10661 Updated: Problem parsing a script in mac text file format | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-53787@lists.php.net to get a copy of this message | ||
ID: 10661
Updated by: derick
Reported By: aleast@capri.it
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] aleast@capri.it
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