note 51632 deleted from features.commandline by nlopess
| From: | nlopess@php.net | Date: | Sun, 15 May 2005 16:38:35 +0000 |
| Subject: | note 51632 deleted from features.commandline by nlopess | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-89464@lists.php.net to get a copy of this message | ||
Note Submitter: chris at maedata dot com
----
To execute a block statement in Interactive Mode under Windows (XP) type CTRL-Z and Enter.
Ex:
--------------------
C:\>php -a
Interactive mode enabled
<?
$myArr = range('a','z');
print_r($myArr);
^Z
Content-type: text/html; charset=iso-8859-1
X-Powered-By: PHP/4.3.2
Array
(
[0] => a
[1] => b
[2] => c
[3] => d
[4] => e
[5] => f
[6] => g
[7] => h
[8] => i
[9] => j
[10] => k
[11] => l
[12] => m
[13] => n
[14] => o
[15] => p
[16] => q
[17] => r
[18] => s
[19] => t
[20] => u
[21] => v
[22] => w
[23] => x
[24] => y
[25] => z
)
C:\>
--------------------
The CTRL-D method as mentioned previously does not seem to have any effect.