Can I something like:
php>multline start;
.... $a =<<< EOF
.... hello hi how are you this is phpSH
.... hello there its test line
.... EOF;
.... multiline end;
in phpsh?
Let's take an example, if multiline statement:
You can further cancel writing by hitting ctrl + c.
Maybe just like this:
php> $test = "
... hello hi how are you this is phpSH
... hello there its test line
... "
<the_empty_result>
php>
php> echo $test
hello hi how are you this is phpSH
hello there its test line
php>
php> =$test
"\nhello hi how are you this is phpSH\nhello there its test line\n"
or
php> $test = "hello hi how are you this is phpSH
... hello there its test line"
<the_empty_result>
php>
php> echo $test
hello hi how are you this is phpSH
hello there its test line
php>
php> =$test
"hello hi how are you this is phpSH\nhello there its test line"
Of course, press Enter to create the above multiline input.