note 104694 deleted from features.commandline.interactive by cmb
| From: | cmb@php.net | Date: | Tue, 09 Nov 2021 11:25:27 +0000 |
| Subject: | note 104694 deleted from features.commandline.interactive by cmb | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-217166@lists.php.net to get a copy of this message | ||
Note Submitter: alexandrebr at gmail dot com
----
For those who (just like me) can't get it working, try to press CTRL+D after inserting some
commands.
Example:
php
<?php
echo "Hello World!\r\n";
(Hit CTRL+D here)
Hello World!
This is NOT interactive mode, but may help you.
To have the "-i" available, you'll need the following arguments while compiling PHP:
--with-readline e --with-libedit