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", "HEREDOC"),
);
Heredoc code that you intended to use in the array ()
strong>.$script = <<<CODE
rand@#¨4key"'?></
CODE;
Below is my attempt, which failed.
$name_code = array
(
array("Nome", $script = <<<CODE
rand@#¨4key"'?></
CODE;),
);