note 105729 added to features.commandline.interactive
| From: | spencer at aninternetpresence dot net | Date: | Sat, 10 Sep 2011 05:45:18 +0000 |
| Subject: | note 105729 added to features.commandline.interactive | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-183073@lists.php.net to get a copy of this message | ||
In Windows, press Enter after your ending PHP tag and then hit Ctrl-Z to denote the end-of-file:
C:\>php -a
Interactive mode enabled
<?php
echo "Hello, world!";
?>
^Z
Hello, world!
As another user mentioned, you can use the up and down arrows in interactive mode to recall previous
code you ran.
----
Server IP: 69.147.83.197
Probable Submitter: 67.190.100.114
----
Manual Page -- http://www.php.net/manual/en/features.commandline.interactive.php
Edit -- https://master.php.net/note/edit/105729
Del: integrated -- https://master.php.net/note/delete/105729/integrated
Del: useless -- https://master.php.net/note/delete/105729/useless
Del: bad code -- https://master.php.net/note/delete/105729/bad+code
Del: spam -- https://master.php.net/note/delete/105729/spam
Del: non-english -- https://master.php.net/note/delete/105729/non-english
Del: in docs -- https://master.php.net/note/delete/105729/in+docs
Del: other reasons-- https://master.php.net/note/delete/105729
Reject -- https://master.php.net/note/reject/105729
Search -- https://master.php.net/manage/user-notes.php