Hello Edin,

  no, spl can only be built in.

best regards
marcus

Thursday, March 9, 2006, 1:28:34 PM, you wrote:

> This will, of course, only work with SPL compiled into PHP. It will not
> work for SPL compiled as shared extension. I don't know if SPL supports
> compiling as shared at all though.

> Edin


> Sebastian Bergmann wrote:
>> sebastian             Thu Mar  9 11:44:05 2006 UTC
>> 
>>   Modified files:              
>>     /php-src/ext/spl  spl_functions.c 
>>   Log:
>>   Make spl_register_std_class() and spl_register_sub_class() available 
>> outside of SPL, for instance in SPL_Types.
>>   
>> http://cvs.php.net/viewcvs.cgi/php-src/ext/spl/spl_functions.c?r1=1.34&r2=1.35&diff_format=u
>> Index: php-src/ext/spl/spl_functions.c
>> diff -u php-src/ext/spl/spl_functions.c:1.34 
>> php-src/ext/spl/spl_functions.c:1.35
>> --- php-src/ext/spl/spl_functions.c:1.34      Sun Jan  1 13:09:54 2006
>> +++ php-src/ext/spl/spl_functions.c   Thu Mar  9 11:44:05 2006
>> @@ -16,7 +16,7 @@
>>     +----------------------------------------------------------------------+
>>   */
>>  
>> -/* $Id: spl_functions.c,v 1.34 2006/01/01 13:09:54 sniper Exp $ */
>> +/* $Id: spl_functions.c,v 1.35 2006/03/09 11:44:05 sebastian Exp $ */
>>  
>>  #ifdef HAVE_CONFIG_H
>>       #include "config.h"
>> @@ -50,7 +50,7 @@
>>  /* }}} */
>>  
>>  /* {{{ spl_register_std_class */
>> -void spl_register_std_class(zend_class_entry ** ppce, char * class_name, 
>> void * obj_ctor, zend_function_entry * function_list TSRMLS_DC)
>> +PHPAPI void spl_register_std_class(zend_class_entry ** ppce, char * 
>> class_name, void * obj_ctor, zend_function_entry * function_list TSRMLS_DC)
>>  {
>>       zend_class_entry ce;
>>       
>> @@ -66,7 +66,7 @@
>>  /* }}} */
>>  
>>  /* {{{ spl_register_sub_class */
>> -void spl_register_sub_class(zend_class_entry ** ppce, zend_class_entry * 
>> parent_ce, char * class_name, void *obj_ctor, zend_function_entry * 
>> function_list TSRMLS_DC)
>> +PHPAPI void spl_register_sub_class(zend_class_entry ** ppce, 
>> zend_class_entry * parent_ce, char * class_name, void *obj_ctor, 
>> zend_function_entry * function_list TSRMLS_DC)
>>  {
>>       zend_class_entry ce;
>>       
>> 




Best regards,
 Marcus

-- 
PHP CVS Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to