summaryrefslogtreecommitdiff
path: root/ext/spl/php_spl.c
diff options
context:
space:
mode:
authorMarcus Boerger <helly@php.net>2003-05-02 15:39:12 +0000
committerMarcus Boerger <helly@php.net>2003-05-02 15:39:12 +0000
commit4701aaaa87c683867e99bfa72f4bcbac9c0a46ae (patch)
tree600e50aa80ce7cbfd754cee5ad060c263d0aef41 /ext/spl/php_spl.c
parentd6d17e510d01ba0dd1a284339fa85e0493963000 (diff)
downloadphp-git-4701aaaa87c683867e99bfa72f4bcbac9c0a46ae.tar.gz
Interfaces only implement interfaces
Diffstat (limited to 'ext/spl/php_spl.c')
-rwxr-xr-xext/spl/php_spl.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/ext/spl/php_spl.c b/ext/spl/php_spl.c
index b97c44f32c..84f86fa931 100755
--- a/ext/spl/php_spl.c
+++ b/ext/spl/php_spl.c
@@ -134,29 +134,29 @@ PHP_MINIT_FUNCTION(spl)
REGISTER_SPL_INTERFACE(spl, sequence);
REGISTER_SPL_INTF_FUNC(spl, sequence, rewind);
- REGISTER_SPL_PARENT_CE(spl, sequence, forward);
+ REGISTER_SPL_IMPLEMENT(spl, sequence, forward);
REGISTER_SPL_INTERFACE(spl, assoc);
REGISTER_SPL_INTF_FUNC(spl, assoc, key);
REGISTER_SPL_INTERFACE(spl, forward_assoc);
- REGISTER_SPL_PARENT_CE(spl, forward_assoc, forward);
REGISTER_SPL_IMPLEMENT(spl, forward_assoc, assoc);
+ REGISTER_SPL_IMPLEMENT(spl, forward_assoc, forward);
REGISTER_SPL_INTERFACE(spl, sequence_assoc);
- REGISTER_SPL_PARENT_CE(spl, sequence_assoc, sequence);
REGISTER_SPL_IMPLEMENT(spl, sequence_assoc, forward_assoc);
+ REGISTER_SPL_IMPLEMENT(spl, sequence_assoc, sequence);
REGISTER_SPL_INTERFACE(spl, array_read);
REGISTER_SPL_INTF_FUNC(spl, array_read, get);
REGISTER_SPL_INTF_FUNC(spl, array_read, exists);
REGISTER_SPL_INTERFACE(spl, array_access);
- REGISTER_SPL_PARENT_CE(spl, array_access, array_read);
+ REGISTER_SPL_IMPLEMENT(spl, array_access, array_read);
REGISTER_SPL_INTF_FUNC(spl, array_access, set);
REGISTER_SPL_INTERFACE(spl, array_access_ex);
- REGISTER_SPL_PARENT_CE(spl, array_access_ex, array_access);
+ REGISTER_SPL_IMPLEMENT(spl, array_access_ex, array_access);
REGISTER_SPL_INTF_FUNC(spl, array_access_ex, new_writer);
REGISTER_SPL_INTERFACE(spl, array_writer);