Re: Coding Standards

From: Date: Mon, 28 Jun 2004 12:53:16 +0000
Subject: Re: Coding Standards
References: 1 2 3 4  Groups: php.pear.doc 
Request: Send a blank email to pear-doc+get-4529@lists.php.net to get a copy of this message
Using both include_once and require_once makes code more easier to read when written according to the PEAR CS. The developer can indicate if the file is conditionally or unconditionally included. This is my PEARsonal convenience opionion regardless of the actual PHP implementation of include_once and require_once. Regards, Norbert Aidan Lister wrote:
an E_WARNING, and a failed require(_once)-call raises an E_DIE, or however those are called in PHP again.
E_FATAL :P


« previous php.pear.doc (#4529) next »