PreviousNextTracker indexSee it online !

(46/211) 3321 - PHP Heredoc syntax (nowdoc from PHP 5.3.0)

<?php

$t=<<<'EOF'
text - $i
EOF;
/\*Nowdoc support was added in PHP 5.3.0. ($i inst variable\!)\*/

$t=<<<EOF
text - $i
EOFnoend;
$t=<<<EOF
text - $i
EOF;/\*no end here, only on next line (blank)\*/
EOF;
/\*from manual: It is very important to note that the line with the closing identifier must contain no other characters, except possibly a semicolon (;).\*/

?>

Submitted kajmanus - 2009-09-14 08:48:01 Assigned kpouer
Priority 5 Labels text area and syntax packages
Status open Group None
Resolution None

Comments

2011-11-30 07:28:37
ezust

Duplicate of 1571336

2011-11-30 07:28:37
ezust

- **assigned_to**: nobody --> blueyed
- **status**: open --> closed-duplicate

2011-11-30 07:32:00
ezust

- **status**: closed-duplicate --> open

2012-01-20 18:24:41
ezust

- **assigned_to**: blueyed --> kpouer