note 39576 added to features.commandline
| From: | ben at slax0rnet dot com | Date: | Tue, 03 Feb 2004 00:34:55 +0000 |
| Subject: | note 39576 added to features.commandline | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-64574@lists.php.net to get a copy of this message | ||
Just a note for people trying to use interactive mode from the commandline.
The purpose of interactive mode is to parse code snippits without actually leaving php, and it works
like this:
[root@localhost php-4.3.4]# php -a
Interactive mode enabled
<?php echo "hi!"; ?>
<note, here we would press CTRL-D to parse everything we've entered so far>
hi!
<?php exit(); ?>
<ctrl-d here again>
[root@localhost php-4.3.4]#
I noticed this somehow got ommited from the docs, hope it helps someone!
----
Manual Page -- http://www.php.net/manual/en/features.commandline.php
Edit -- http://master.php.net/manage/user-notes.php?action=edit+39576
Delete -- http://master.php.net/manage/user-notes.php?action=delete+39576&report=yes
Reject -- http://master.php.net/manage/user-notes.php?action=reject+39576&report=yes
Search -- http://master.php.net/manage/user-notes.php