summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEdin Kadribasic <edink@php.net>2002-03-23 23:47:10 +0000
committerEdin Kadribasic <edink@php.net>2002-03-23 23:47:10 +0000
commit9ecec88998bd87b8000ac9f51234a8e77266c68e (patch)
treecdc429180e5a3a638dcaa5f5a6130bf95d5663e1
parent6270efc5a9195848962145ce196ff8e9704f83b0 (diff)
downloadphp-git-9ecec88998bd87b8000ac9f51234a8e77266c68e.tar.gz
Documented -r and added TODO
-rw-r--r--sapi/cli/README2
-rw-r--r--sapi/cli/TODO5
2 files changed, 7 insertions, 0 deletions
diff --git a/sapi/cli/README b/sapi/cli/README
index ed89e97006..bede428f9b 100644
--- a/sapi/cli/README
+++ b/sapi/cli/README
@@ -13,3 +13,5 @@ The main differences between the two:
* Plain text error message
* $argc and $argv registered irrespective of register_globals
* implicit_flush always on
+* -r option which allows execution of PHP code directly from
+ the command line (e.g. php -r 'echo md5("test");' )
diff --git a/sapi/cli/TODO b/sapi/cli/TODO
new file mode 100644
index 0000000000..cb21f36205
--- /dev/null
+++ b/sapi/cli/TODO
@@ -0,0 +1,5 @@
+TODO:
+
+- plain text "php -i" and phpinfo()
+
+ \ No newline at end of file