note 105304 deleted from features.commandline.interactive by danbrown
| From: | danbrown@php.net | Date: | Mon, 08 Aug 2011 18:11:30 +0000 |
| Subject: | note 105304 deleted from features.commandline.interactive by danbrown | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-182337@lists.php.net to get a copy of this message | ||
Note Submitter: spencer at aninternetpresence dot net
----
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.