> In my opinion, configuration names should never be "in the negative". > Instead of defaulting to opcache.no_cache=0, default to opcache.cache=1.
I see your point - there are only a few negative ini names I see in phpinfo() (disable_functions, disable_cache), and those are for lists of strings. There's a mix of on by default and off by default in zend.enable_gc, opcache.enable, opcache.enable_cli, opcache.enable_file_override, enable_dl, and enable_post_data_reading. opcache.enable_cache=1 as the default would probably be more consistent with those. But the setting isn't actually enabling cache, it's allowing cache (i.e. opposite of disabling), so making this "opcache.allow_cache" might be the best. I'll probably go with that. (similar to allow_url_fopen, allow_url_include) - `opcache.cache` could be confused with the caching strategy or the path to the cache, or being sufficient on its own to enable caching Thanks, - Tyson -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php