tested in intrepid, this bug is fixed. Marking as Fix released.
** Changed in: php5 (Ubuntu)
Status: Confirmed => Fix Released
--
HEREDOC fails when terminating string matches tail of HEREDOC string
https://bugs.launchpad.net/bugs/238872
You received this bug notification because you are
hello Chuck,
I tested your php5, and it seems to have made the problem worse. Now, instead
of just getting rid of the matching tail, it also takes another character with
it.
Sorry!
--
HEREDOC fails when terminating string matches tail of HEREDOC string
https://bugs.launchpad.net/bugs/238872
Hi,
Can you test the php5 version in my ppa?
Thanks
chuck
--
HEREDOC fails when terminating string matches tail of HEREDOC string
https://bugs.launchpad.net/bugs/238872
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to php5 in ubuntu.
--
This problem was fixed with PHP 5.2.6, see
http://www.php.net/ChangeLog-5.php#5.2.6:
- Fixed incorrect heredoc handling when label is used within the block.
(Matt)
Tested with intrepid
$ php -v
PHP 5.2.6-1ubuntu4 with Suhosin-Patch 0.9.6.2 (cli) (built: Jun 20 2008
15:16:38)
Copyright (c) 1997
Chuck, you're using 'EOT' as heredoc start/end identifier, which is not
included in the contents of string $a as you defined it.
With the following example (your code, modified) I get a syntax error:
Obviously it's valid code (afaik) and it works OK on other non-ubuntu
PHP5 servers.
--
HEREDO
Seems to be fine for me:
--
HEREDOC fails when terminating string matches tail of HEREDOC string
https://bugs.launchpad.net/bugs/238872
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to php5 in ubuntu.
--
Ubuntu-server-bugs mailing list
** Summary changed:
- php5 fails to interpret a valid script using heredoc string syntax
+ HEREDOC fails when terminating string matches tail of HEREDOC string
--
HEREDOC fails when terminating string matches tail of HEREDOC string
https://bugs.launchpad.net/bugs/238872
You received this bug not