-- Lars Strojny <[EMAIL PROTECTED]> wrote
(on Tuesday, 22 July 2008, 02:48 PM +0200):
> Am Dienstag, den 22.07.2008, 08:12 -0400 schrieb Matthew Weier
> O'Phinney:
> > Until we're able to move to 5.3, we still need a solution. I'll work
> > with the internal team to develop a recommendation.
> 
> if (!defined('E_USER_DEPRECATED')) {
>     define('E_USER_DEPRECATED', E_USER_WARNING);
> }
> 
> trigger_error('foo', E_USER_WARNING);

Shouldn't that be "trigger_error('foo', E_USER_DEPRECATED)"? :)

Great idea, Lars. I've put this on the wiki under the developer notes:

    
http://framework.zend.com/wiki/display/ZFDEV/Zend+Framework+Components+-+Developer+Notes

and will add it to the coding standards when I review them in the coming
weeks.

-- 
Matthew Weier O'Phinney
Software Architect       | [EMAIL PROTECTED]
Zend Framework           | http://framework.zend.com/

Reply via email to