Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

What does <<<OUT mean in PHP? [duplicate]

Tags:

php

Possible Duplicate:
In PHP, what does “<<<” represent?
Reference - What does this symbol mean in PHP?

I ran into this in a PHP script.

(Be aware, I'm new at this so I might look dumb)

$Var['Text'] = <<<OUT
String Here
OUT;

1 Answers

That's called the Heredoc syntax to mark strings. Check it out!

like image 88
Madara's Ghost Avatar answered Feb 20 '26 03:02

Madara's Ghost



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!