From 9ecec88998bd87b8000ac9f51234a8e77266c68e Mon Sep 17 00:00:00 2001 From: Edin Kadribasic Date: Sat, 23 Mar 2002 23:47:10 +0000 Subject: [PATCH] Documented -r and added TODO --- sapi/cli/README | 2 ++ sapi/cli/TODO | 5 +++++ 2 files changed, 7 insertions(+) create mode 100644 sapi/cli/TODO 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 -- 2.50.1