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

Environment:

  • Strangebuzz Snippet VM: 6.4.2
  • PHP: 8.3

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 !
"<<'/\'>>"