#18892 [NEW]: heredoc crashes php
| From: | barrett dot harber at verizon dot net | Date: | Tue, 13 Aug 2002 22:39:56 +0000 |
| Subject: | #18892 [NEW]: heredoc crashes php | ||
| Groups: | php.bugs | ||
| Request: | Send a blank email to php-bugs+get-16646@lists.php.net to get a copy of this message | ||
From: barrett.harber@verizon.net
Operating system: Windows XP
PHP version: 4.2.2
PHP Bug Type: Strings related
Bug description: heredoc crashes php
I am running Apache 1.3.24.
This works:
<?
echo <<<END
abcdefg
END;
?>
This does not work
<?
echo <<<END
123456
END;
?>
<?
echo <<<END
abcdefg
END;
?>
There are no white spaces after <<<END btw.
Please resolve this i sort of need to use it. It worked on my linux box
just fine with a slightly older version of php
--
Edit bug report at http://bugs.php.net/?id=18892&edit=1
--
Fixed in CVS: http://bugs.php.net/fix.php?id=18892&r=fixedcvs
Fixed in release: http://bugs.php.net/fix.php?id=18892&r=alreadyfixed
Need backtrace: http://bugs.php.net/fix.php?id=18892&r=needtrace
Try newer version: http://bugs.php.net/fix.php?id=18892&r=oldversion
Not developer issue: http://bugs.php.net/fix.php?id=18892&r=support
Expected behavior: http://bugs.php.net/fix.php?id=18892&r=notwrong
Not enough info: http://bugs.php.net/fix.php?id=18892&r=notenoughinfo
Submitted twice: http://bugs.php.net/fix.php?id=18892&r=submittedtwice
register_globals: http://bugs.php.net/fix.php?id=18892&r=globals