Bug #11987: General scripting features/build
| From: | dphillips at vsni dot com | Date: | Mon, 09 Jul 2001 20:00:23 +0000 |
| Subject: | Bug #11987: General scripting features/build | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-59422@lists.php.net to get a copy of this message | ||
From: dphillips@vsni.com
Operating system: any
PHP version: 4.0.6
PHP Bug Type: Feature/Change Request
Bug description: General scripting features/build
It would be very nice to have a non-CGI version of PHP for using as a
stand-alone command line interpreter. Perhaps a separate build option for
this could be added, such as "--with-standalone", although this could be
done entirely through configuration options. However, not being dependent
on a configuration file at all would be beneficial.
- Not require the "-q" quiet option to disable outputting CGI headers.
- Not require start/end tags. It is usually not useful in a scripting
language to pass text directly through to the output stream.
- Have the standard file handles already open and available, in the same
manner as $argc and $argv: $stdin, $stdout and $stderr.
--
Edit bug report at: http://bugs.php.net/?id=11987&edit=1