Questions tagged as 'heredoc'

2
answers

What is EOH in PHP?

I see this in several third-party classes. Remembering that closing is usually EOH , but without <<<     
asked by 28.04.2014 / 23:44
2
answers

Is it possible to use Heredoc with special characters in an array?

I have a multidimensional array, as the example below shows, but I wonder if I can use a Heredoc in it, would it be possible? Could I include special non-escaped characters if I can use Heredoc ? $name_code = array ( array("Nome", "HER...
asked by 06.08.2016 / 18:38
2
answers

Can you use a variable that is inside the for?

For example. I'm working with Heredoc and whenever I need to do a for , I have to close Heredoc to do the for then reopen the tag mentioned. Is there any way to query a variable within the for which will return all results to me? For examp...
asked by 06.06.2014 / 00:16
2
answers

What is EOH in PHP?

I see this in several third-party classes. Remembering that closing is usually EOH , but without <<<     
asked by 28.04.2014 / 23:44