[PHP-DEV] Bug #10661 Updated: Problem parsing a script in mac text file format From: derick <email protected>
Date: 05/04/01

ID: 10661
Updated by: derick
Reported By: aleast <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] aleast <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: 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>