PHP allows to declare a string on multiple lines as following:
$s = <<<EOS
Hello
World!
EOS;
Is is possible to use that notation to declare an array of strings? I'd like to write a code such as the following one (that is of course not working):
$data = array(<<<EOS
Hello
World!
EOS;,
<<<EOS
Hello
Me!
EOS;);
;afterEOSfrom your array);(array ending) to the separate lines. +1 for youEOS);, produces a parse error.