|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2001-05-04 06:22 UTC] derick@php.net
|
|||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Wed Nov 05 11:00:02 2025 UTC |
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.