Re: [PATCH] ZEND_* instead of PHP_*
| From: | Thies C. Arntzen | Date: | Mon, 05 Aug 2002 18:52:57 +0000 |
| Subject: | Re: [PATCH] ZEND_* instead of PHP_* | ||
| References: | 1 2 | Groups: | php.dev |
| Request: | Send a blank email to php-dev+get-86540@lists.php.net to get a copy of this message | ||
On Mon, Aug 05, 2002 at 10:18:46AM -0700, David Viner wrote:
> My thought was just that the coding standard recommends one approach (using
> ZEND_), and the way to make a new extension (using ext_skel) generates a
> skeleton file with PHP_. I agree that ZEND_ might not be 'better' than
> PHP_. But it seems to me that if the recommendation is to use ZEND_, then
> the default toolset should make extensions that follow that recommendation.
>
> The addition of this recommendation in the CODING_STANDARDS happened in feb
> 2002. The mail on the discussion list can be found at:
>
> http://marc.theaimsgroup.com/?l=php-dev&m=101453899217990&w=2
> Should the
> CODING_STANDARDS be amended to recommend neither ZEND_ or PHP_, but instead
> recommend consistent usage of either one?
my personal view is that even though PHP is "Powered by the
ZendEngine" it's still php. so im in favour of leaving the
PHP_ prefix.
re,
tc