compared with
Current by Matthew Weier O'Phinney
on Jul 22, 2008 06:28.

Key
This line was removed.
This word was removed. This word was added.
This line was added.

Changes (6)

View Page History
<p>The pages below are written for developers coding the Zend Framework.</p>

<p>Each subpage contains meta-information about Zend Framework components, including architecture and design decisions along with rationales, usage scenarios, and important notes and feedback from the community and Zend dev team.</p>

<p>Whenever making non-trivial changes or bug fixes, a developer should *first* <strong>first</strong> review the notes on the relevant page below.</p>

<h3>Marking Deprecated Functionality</h3>
<p>As components are refactored and updated, we will inevitably need to mark functionality as deprecated. PHP 5.3 introduces the new error level 'E_USER_DEPRECATED' which can be used for this purpose. However, until 5.3 becomes the minimum requirement for Zend Framework, you will need to define this constant yourself. The Zend Framework team recommends using the following strategy to alias it to E_USER_WARNING:</p>
{children:all=true}
<ac:macro ac:name="code"><ac:default-parameter>php</ac:default-parameter><ac:plain-text-body><![CDATA[
if (!defined('E_USER_DEPRECATED')) {
define('E_USER_DEPRECATED', E_USER_WARNING);
}

trigger_error('This is deprecated', E_USER_DEPRECATED);
]]></ac:plain-text-body></ac:macro>

<h3>Component Notes</h3>
<ac:macro ac:name="children"><ac:parameter ac:name="all">true</ac:parameter></ac:macro>