--TEST-- Bug #77812 (Interactive mode does not support PHP 7.3-style heredoc) --SKIPIF-- --FILE-- --EXPECTF-- resource(%d) of type (process) Interactive shell php > echo << bar <<< > FOO; bar php > print(<< xx <<< > FOO); xx php > echo << xxx <<< > FOO; xxx php > FOO php > ; Warning: Uncaught Error: Undefined constant "FOO" in php shell code:1 Stack trace: #0 {main} thrown in php shell code on line 1 php > echo << FOOL <<< > FOO php > ,1; FOOL1 php > echo << FOO4 <<< > FOO php > ,2; FOO42 php >