Jump to content

whoa what is this heredoc business?


Guest sobo679

Recommended Posts

Guest sobo679

i am wondering if anyone can describe in plain english when it would be advantageous to use heredoc syntax; as i understand it looks as if it is the php method of grouping a large block of text. very strange though please if anyone could make clear, greatly appreciated. heredoc is something like this i beleive : $str_test <<< TSTthis document doesn't usequotes but yet the T, S, and T all together act as quotes? lol at using language behind the parsers back guys...TST

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...