tag:blogger.com,1999:blog-35323211.post6007592878452439688..comments2023-05-31T05:05:06.953-07:00Comments on Bogdan's thoughts: how to run PHP in interactive modeUnknownnoreply@blogger.comBlogger2125tag:blogger.com,1999:blog-35323211.post-25434689488172418102013-01-24T02:13:32.430-08:002013-01-24T02:13:32.430-08:00@Vitalie - Thanks for your comment. It may well be...@Vitalie - Thanks for your comment. It may well be the case that I wasn't putting the semicolon at the end. Anonymoushttps://www.blogger.com/profile/18254340900244504432noreply@blogger.comtag:blogger.com,1999:blog-35323211.post-57155465297677528632013-01-23T11:02:51.914-08:002013-01-23T11:02:51.914-08:00Bogdan, maybe i didn't understood you correctl...Bogdan, maybe i didn't understood you correctly, but you should try php interactivity such way:<br /><br />[me@neo]<~> 10 <br />21:00 Wed Jan 23 > php -a<br />Interactive shell<br /><br />php > echo "Hello interactive PHP!".PHP_EOL;<br />Hello interactive PHP!<br />php > echo "\nSeems to be OK!\n";<br /><br />Seems to be OK!<br />php > <br /><br />You should be noted the presence of (;) at the end of commands.<br /><br />Enjoy :)0https://www.blogger.com/profile/06741068448985410600noreply@blogger.com