From 9443bd1bbf54794dd62b945ee2907a2535f41639 Mon Sep 17 00:00:00 2001 From: Peter Kokot Date: Tue, 23 Apr 2019 08:51:23 +0200 Subject: [PATCH] [ci skip] Remove CLI sapi README Removing in favour of: - https://www.php.net/manual/en/features.commandline.introduction.php - https://www.php.net/manual/en/features.commandline.differences.php --- sapi/cli/README | 20 -------------------- 1 file changed, 20 deletions(-) delete mode 100644 sapi/cli/README diff --git a/sapi/cli/README b/sapi/cli/README deleted file mode 100644 index 5b303aa82d..0000000000 --- a/sapi/cli/README +++ /dev/null @@ -1,20 +0,0 @@ -The CLI (command line interface) SAPI has been introduced -with a goal of making PHP better at supporting the creation of -stand alone applications. - -It is based on CGI SAPI with all CGI specific things removed. - -The main differences between the two: - -* CLI is started up in quiet mode by default. - (-q switch kept for compatibility) -* It does not change the working directory to that of the script. - (-C switch kept for compatibility) -* Plain text error message -* $argc and $argv registered irrespective of the register_argc_argv - php.ini setting. -* implicit_flush always on -* -r option which allows execution of PHP code directly from - the command line (e.g. php -r 'echo md5("test");' ) -* Other more sophisticated command line switches (see: man php) -* max_execution_time is set to unlimited, overriding php.ini setting. -- 2.40.0