"forced" ini settings in CLI don't work anymore..
| From: | Jani Taskinen | Date: | Wed, 16 Apr 2003 03:03:09 +0000 |
| Subject: | "forced" ini settings in CLI don't work anymore.. | ||
| Groups: | php.internals | ||
| Request: | Send a blank email to internals+get-930@lists.php.net to get a copy of this message | ||
Apparently the changes you made to cleanup the ini settings
forcing in CLI do not work as expected:
<?php
var_dump(ini_get('register_argc_argv'));
var_dump(ini_get('html_errors'));
var_dump(ini_get('display_errors'));
var_dump(ini_get('implicit_flush'));
var_dump(ini_get('max_execution_time'));
?>
Results with CLI build before the changes were merged:
string(1) "1"
string(1) "0"
string(1) "1"
string(1) "1"
string(1) "0"
Results with latest CVS checkout (PHP_4_3 branch):
string(1) "1"
string(1) "0"
string(1) "1"
string(0) ""
string(2) "30"
When '-n' is used (to not use any php.ini) both builds work fine.
So, are these not supposed to be forced defaults anymore for CLI?
--Jani