note 105304 added to features.commandline.interactive
| From: | spencer at aninternetpresence dot net | Date: | Mon, 08 Aug 2011 18:09:43 +0000 |
| Subject: | note 105304 added to features.commandline.interactive | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-182336@lists.php.net to get a copy of this message | ||
As has been noted below, Windows (at the moment, anyway) does not appear to support the Interactive
Shell, but you can still use Interactive Mode, the difference being that for the Mode, you must put
your code in <?php ?> tags and then use Ctrl-Z to specify the end-of-file:
--------------------------------------------------------
C:\> php -a
Interactive mode enabled
<?php
echo "Hello World!";
?>
^Z
Hello World!
C:\>
---------------------------------------------------------
Remember to press "Enter" after the last ?>, and then hit Ctrl-Z.
----
Server IP: 69.147.83.197
Probable Submitter: 75.70.233.195
----
Manual Page -- http://www.php.net/manual/en/features.commandline.interactive.php
Edit -- https://master.php.net/note/edit/105304
Del: integrated -- https://master.php.net/note/delete/105304/integrated
Del: useless -- https://master.php.net/note/delete/105304/useless
Del: bad code -- https://master.php.net/note/delete/105304/bad+code
Del: spam -- https://master.php.net/note/delete/105304/spam
Del: non-english -- https://master.php.net/note/delete/105304/non-english
Del: in docs -- https://master.php.net/note/delete/105304/in+docs
Del: other reasons-- https://master.php.net/note/delete/105304
Reject -- https://master.php.net/note/reject/105304
Search -- https://master.php.net/manage/user-notes.php