Re: cvs: php-src /ext/spl php_spl.c

From: Date: Tue, 02 Aug 2005 08:20:59 +0000
Subject: Re: cvs: php-src /ext/spl php_spl.c
References: 1  Groups: php.cvs 
Request: Send a blank email to php-cvs+get-33154@lists.php.net to get a copy of this message
At 05:20 02/08/2005, Marcus Boerger wrote:
helly           Mon Aug  1 22:20:04 2005 EDT
Modified files:
    /php-src/ext/spl    php_spl.c
Log: - Need to expose this one too http://cvs.php.net/diff.php/php-src/ext/spl/php_spl.c?r1=1.50&r2=1.51&ty=u Index: php-src/ext/spl/php_spl.c diff -u php-src/ext/spl/php_spl.c:1.50 php-src/ext/spl/php_spl.c:1.51
--- php-src/ext/spl/php_spl.c:1.50      Thu Jul 28 16:59:44 2005
+++ php-src/ext/spl/php_spl.c Mon Aug 1 22:20:01 2005 @@ -16,7 +16,7 @@
    +----------------------------------------------------------------------+
*/ -/* $Id: php_spl.c,v 1.50 2005/07/28 20:59:44 helly Exp $ */ +/* $Id: php_spl.c,v 1.51 2005/08/02 02:20:01 helly Exp $ */ #ifdef HAVE_CONFIG_H
        #include "config.h"
@@ -153,6 +153,7 @@
        SPL_ADD_CLASS(ArrayObject, z_list, sub, allow, ce_flags); \
        SPL_ADD_CLASS(ArrayIterator, z_list, sub, allow, ce_flags); \
        SPL_ADD_CLASS(BadFunctionCallException, z_list, sub, allow, ce_flags); \
+       SPL_ADD_CLASS(BadMethodCallException, z_list, sub, allow, ce_flags); \
        SPL_ADD_CLASS(CachingIterator, z_list, sub, allow, ce_flags); \
        SPL_ADD_CLASS(CachingRecursiveIterator, z_list, sub, allow, ce_flags); \
        SPL_ADD_CLASS(Countable, z_list, sub, allow, ce_flags); \
Speaking of coding standards, is there any particular reason we don't prefix the SPL classes with Spl? We're quickly 'polluting' our class namespace with more and more classes. Zeev

« previous php.cvs (#33154) next »