]> granicus.if.org Git - php/commitdiff
- If this is supposed to be the configuration we recommend,
authorfoobar <sniper@php.net>
Mon, 4 Apr 2005 07:55:13 +0000 (07:55 +0000)
committerfoobar <sniper@php.net>
Mon, 4 Apr 2005 07:55:13 +0000 (07:55 +0000)
  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...
#

php.ini-recommended

index b845723dddbd9775f466844f449e9f3ba19c2fb6..101eebb0688bb118db9a59b148c1af610882a728 100644 (file)
@@ -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