svn: /phd/trunk/phpdotnet/phd/ functions.php

From: Date: Thu, 30 Jul 2009 17:14:21 +0000
Subject: svn: /phd/trunk/phpdotnet/phd/ functions.php
Groups: php.doc.cvs 
Request: Send a blank email to doc-cvs+get-4577@lists.php.net to get a copy of this message
bjori Thu, 30 Jul 2009 17:14:21 +0000 Revision: http://svn.php.net/viewvc?view=revision&revision=286567 Log: - 5.3 is requirement for this branch - Spit out debug info when there is an error in our error handler Changed paths: U phd/trunk/phpdotnet/phd/functions.php Modified: phd/trunk/phpdotnet/phd/functions.php =================================================================== --- phd/trunk/phpdotnet/phd/functions.php 2009-07-30 17:11:51 UTC (rev 286566) +++ phd/trunk/phpdotnet/phd/functions.php 2009-07-30 17:14:21 UTC (rev 286567) @@ -4,11 +4,6 @@ /* {{{ PhD error & message handler */ -// FC For PHP5.3 -if (!defined("E_DEPRECATED")) { - define("E_DEPRECATED", E_RECOVERABLE_ERROR << 1); -} - // PhD verbose flags define('VERBOSE_INDEXING', E_DEPRECATED << 1); define('VERBOSE_FORMAT_RENDERING', VERBOSE_INDEXING << 1); @@ -80,6 +75,8 @@ // Recursive protection if ($recursive) { + // Thats bad.. lets print a backtrace right away + debug_print_backtrace(); // Fallback to the default errorhandler return false; }

« previous php.doc.cvs (#4577) next »