cvs: php-src / php.ini-recommended
| From: | Jani Taskinen | Date: | Mon, 04 Apr 2005 07:55:15 +0000 |
| Subject: | cvs: php-src / php.ini-recommended | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-31216@lists.php.net to get a copy of this message | ||
sniper Mon Apr 4 03:55:15 2005 EDT
Modified files:
/php-src php.ini-recommended
Log:
- 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...
#
http://cvs.php.net/diff.php/php-src/php.ini-recommended?r1=1.172&r2=1.173&ty=u
Index: php-src/php.ini-recommended
diff -u php-src/php.ini-recommended:1.172 php-src/php.ini-recommended:1.173
--- php-src/php.ini-recommended:1.172 Sat Apr 2 18:04:02 2005
+++ php-src/php.ini-recommended Mon Apr 4 03:55:13 2005
@@ -138,7 +138,7 @@
; 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 @@
;
;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