diff options
author | foobar <sniper@php.net> | 2005-04-04 07:55:13 +0000 |
---|---|---|
committer | foobar <sniper@php.net> | 2005-04-04 07:55:13 +0000 |
commit | 25dd01d4287fe20ac286ff0f58c954be189cf230 (patch) | |
tree | 69256dc0071c8b43bb4a3ab18319fb4b50788d9f /php.ini-recommended | |
parent | 3ac5ec3b7e854a08a02e977996da322bf6dca80b (diff) | |
download | php-git-25dd01d4287fe20ac286ff0f58c954be189cf230.tar.gz |
- If this is supposed to be the configuration we recommend,
we've been recommending to not use short-open-tag for a long time.
E_STRICT too for 5.1 since it promotes the right ways (tm) to do things.
#
# This is for 5.1, 5.1, 5.1, 5.1...
#
Diffstat (limited to 'php.ini-recommended')
-rw-r--r-- | php.ini-recommended | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/php.ini-recommended b/php.ini-recommended index b845723ddd..101eebb068 100644 --- a/php.ini-recommended +++ b/php.ini-recommended @@ -138,7 +138,7 @@ zend.ze1_compatibility_mode = Off ; servers which are not under your control, because short tags may not ; be supported on the target server. For portable, redistributable code, ; be sure not to use short tags. -short_open_tag = On +short_open_tag = Off ; Allow ASP-style <% %> tags. asp_tags = Off @@ -345,9 +345,9 @@ memory_limit = 8M ; Maximum amount of memory a script may consume (8MB) ; ;error_reporting = E_COMPILE_ERROR|E_ERROR|E_CORE_ERROR ; -; - Show all errors +; - Show all errors, including coding standards warnings ; -error_reporting = E_ALL +error_reporting = E_ALL | E_STRICT ; Print out errors (as a part of the output). For production web sites, ; you're strongly encouraged to turn this feature off, and use error logging |