php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #3352 string doc quote does not work
Submitted: 2000-01-29 18:36 UTC Modified: 2000-01-31 20:41 UTC
From: apiszcz at mnsinc dot com Assigned:
Status: Closed Package: Parser error
PHP Version: 3.0.14 OS: Solaris 7
Private report: No CVE-ID: None
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If you forgot your password, you can retrieve your password here.
Password:
Status:
Package:
Bug Type:
Summary:
From: apiszcz at mnsinc dot com
New email:
PHP Version: OS:

 

 [2000-01-29 18:36 UTC] apiszcz at mnsinc dot com
    26  $hdr1 = >>>EOD
    27  TEST
    28  EOD;



THIS DOES NOT WORK, LINE #'s for 
reference only.


I'm using version 4.0b3 which does not
seem to be an option on the bug report option.

Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2000-01-29 18:42 UTC] rasmus at cvs dot php dot net
You can't use the here-doc feature to assign something to a variable.  It only works like this:

echo <<<EOF
Test
EOF
 [2000-01-30 00:54 UTC] andrei at cvs dot php dot net
Actually, you can.
 [2000-01-31 20:41 UTC] joey at cvs dot php dot net
But it is <<<, not >>>

And to report 4.0 bugs http://bugs.php.net/version4
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Tue Oct 15 03:01:26 2024 UTC