Jump to content


Photo

locating heredoc in manual


  • Please log in to reply
3 replies to this topic

#1 Ninjakreborn

Ninjakreborn
  • Members
  • PipPipPip
  • Information Technology Specialist
  • 3,922 posts
  • Age:33

Posted 17 April 2006 - 03:26 PM

I am studying a book over at
[a href=\"http://www.hudzilla.org/phpbook/read.php/2_6_3\" target=\"_blank\"]http://www.hudzilla.org/phpbook/read.php/2_6_3[/a]
On this specific page of the studying material I ran across a php command called heredoc. Allowing you to put whatever words you want to, I test it out using all forms of words, and it still worked, also his exampled worked as well, I tried searching the heredoc statement on php.net and it didn't come up, I also searched delimiter and couldn't find anything.
I was hoping someone could point me in the right direction to find that heredoc
I like cross referencing everything I go through with the manual. thanks.

------

Business Website: http://www.infotechnologist.biz

Personal Website: http://www.joyelpuryear.com

Blog Site: http://www.realmofwriting.com
Services: Web development, application development, mobile development, and custom development. All services listed on my website.


#2 trq

trq
  • Staff Alumni
  • Advanced Member
  • 31,041 posts

Posted 17 April 2006 - 03:38 PM

Thee is a mention of it under [a href=\"http://au3.php.net/echo\" target=\"_blank\"]echo[/a]. Think thats about it.

#3 redbullmarky

redbullmarky
  • Staff Alumni
  • Advanced Member
  • 2,863 posts
  • LocationBedfordshire, England

Posted 17 April 2006 - 03:38 PM

[!--quoteo(post=365551:date=Apr 17 2006, 04:26 PM:name=businessman332211)--][div class=\'quotetop\']QUOTE(businessman332211 @ Apr 17 2006, 04:26 PM) View Post[/div][div class=\'quotemain\'][!--quotec--]
I am studying a book over at
[a href=\"http://www.hudzilla.org/phpbook/read.php/2_6_3\" target=\"_blank\"]http://www.hudzilla.org/phpbook/read.php/2_6_3[/a]
On this specific page of the studying material I ran across a php command called heredoc. Allowing you to put whatever words you want to, I test it out using all forms of words, and it still worked, also his exampled worked as well, I tried searching the heredoc statement on php.net and it didn't come up, I also searched delimiter and couldn't find anything.
I was hoping someone could point me in the right direction to find that heredoc
I like cross referencing everything I go through with the manual. thanks.
[/quote]

it's not really a command but a general description/term for the method used to implement sticking free text into your code.
[a href=\"http://uk.php.net/manual/en/language.types.string.php#language.types.string.syntax.heredoc\" target=\"_blank\"]http://uk.php.net/manual/en/language.types....syntax.heredoc[/a]
"you have to keep pissing in the wind to learn how to keep your shoes dry..."

I say old chap, that is rather amusing!

#4 Ninjakreborn

Ninjakreborn
  • Members
  • PipPipPip
  • Information Technology Specialist
  • 3,922 posts
  • Age:33

Posted 17 April 2006 - 03:42 PM

Thanks I appreciate the link.

------

Business Website: http://www.infotechnologist.biz

Personal Website: http://www.joyelpuryear.com

Blog Site: http://www.realmofwriting.com
Services: Web development, application development, mobile development, and custom development. All services listed on my website.





0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users