Re: CLI behavior with -q switch
| From: | Roberto Biancardi | Date: | Mon, 06 Jan 2003 11:27:47 +0000 |
| Subject: | Re: CLI behavior with -q switch | ||
| References: | 1 | Groups: | php.dev |
| Request: | Send a blank email to php-dev+get-93176@lists.php.net to get a copy of this message | ||
Jean-Michel Dault ha scritto:
The problem is that the -q switch is still in the CLI for backward compatibility, but it breaks scripts because it does not change directories. I would strongly suggest that the -q switch would imply changing the working directory to that of the script, unless overriden by -C. i'am in the same condition of Jean-Michel (maintaning some php scripts) and i thinkthis is a very good thing to do. another compatibility issue beetween cgi and cli is the fact that the cli version does not send error messages to stderr as the cgi version did. is this the intended behaviour ? thanks, -- -- Roberto Biancardi -- +39 02 22475231 -- biancardi@xware.it --