PHP Question

Hey! It aint that hard!

PHP Question

Postby SOD » 07/22/07, 1:54 pm

What does <<<EOB mean? I know what it does I just can't find what EOB stands for. THX
It is better to be here than there - SOD
SOD
BIG GIANT HEAD I Get Free Beer
BIG GIANT HEAD I Get Free Beer
 
Posts: 5284
Joined: 12/06/01, 12:00 am
Location: here and there

Postby bob » 07/22/07, 2:41 pm

EOB End Of Block ?

For example:


The echo <<<EOB syntax is useful for outputting blocks of text with full $variable substitution, without needing to escape anything. EOB;


http://www.oracle.com/technology/pub/ar ... s_php.html
WYSIWTF
bob
BIG GIANT HEAD I Get Free Beer
BIG GIANT HEAD I Get Free Beer
 
Posts: 7565
Joined: 12/03/01, 12:00 am
Location: St. Louis

Postby SOD » 07/23/07, 1:06 am

THX Bob, saw that article, 'end of block' was the best I could come up with.

Working on regestering and calling PHP functions in XSL

Secure and it makes xsl very flexable.

hint: docs have xsl stylesheet embedded in the PHP doc.

For XSL to work properly the XSL must be called from a separate stylesheet. XSL Variable evaluations will not work in a EOB block
It is better to be here than there - SOD
SOD
BIG GIANT HEAD I Get Free Beer
BIG GIANT HEAD I Get Free Beer
 
Posts: 5284
Joined: 12/06/01, 12:00 am
Location: here and there


Return to Play With Code

Who is online

Users browsing this forum: No registered users and 1 guest

cron