Output of the "Declaring a string in PHP with a Heredoc/Nowdoc block" PHP snippet

Environment:

  • Strangebuzz Snippet VM: 3.0.1
  • PHP: 8.0

Code execution output:

Heredoc example
on multiple lines
my name is COil

Nowdoc example
on multiple lines
my name is $name <- the name variabled isn't replaced here !
"<<'/\'>>"