[llvm-commits] [nightly-test-server] r61485 - /nightly-test-server/trunk/README

Misha Brukman brukman+llvm at gmail.com
Mon Dec 29 14:38:59 PST 2008


Author: brukman
Date: Mon Dec 29 16:38:56 2008
New Revision: 61485

URL: http://llvm.org/viewvc/llvm-project?rev=61485&view=rev
Log:
Add a helpful debugging tip to would-be PHP programmers.

Added:
    nightly-test-server/trunk/README

Added: nightly-test-server/trunk/README
URL: http://llvm.org/viewvc/llvm-project/nightly-test-server/trunk/README?rev=61485&view=auto

==============================================================================
--- nightly-test-server/trunk/README (added)
+++ nightly-test-server/trunk/README Mon Dec 29 16:38:56 2008
@@ -0,0 +1,8 @@
+# To facilitate PHP debugging, add this code at the top of the .php file, before
+# any other code.  This enables verbose reporting of errors, which is useful, as
+# PHP will fail without displaying an error even on missing .php files that are
+# being included.
+#
+# Be sure to remove this code when you submit your final version.
+error_reporting(E_ALL);
+ini_set("display_errors", 1);





More information about the llvm-commits mailing list