summaryrefslogtreecommitdiff
path: root/ext/spl/spl_array.c
diff options
context:
space:
mode:
authorMarcus Boerger <helly@php.net>2005-09-15 03:31:37 +0000
committerMarcus Boerger <helly@php.net>2005-09-15 03:31:37 +0000
commit8aa7f36a3bb2a682568dbfe75ca2d0326f3c361e (patch)
tree77832661688a737204830acd161723cc7b86b0fb /ext/spl/spl_array.c
parent868c4b72dfc37cc6ac78a5f06df0656ff481512d (diff)
downloadphp-git-8aa7f36a3bb2a682568dbfe75ca2d0326f3c361e.tar.gz
- Rename Observer to SplObserver
- Rename Subject to SplSubject - Move SPL constants to class constants - Update docu
Diffstat (limited to 'ext/spl/spl_array.c')
-rwxr-xr-xext/spl/spl_array.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/ext/spl/spl_array.c b/ext/spl/spl_array.c
index 04386ec949..9c80841afa 100755
--- a/ext/spl/spl_array.c
+++ b/ext/spl/spl_array.c
@@ -1236,6 +1236,11 @@ PHP_MINIT_FUNCTION(spl_array)
REGISTER_SPL_IMPLEMENTS(ArrayObject, Countable);
REGISTER_SPL_IMPLEMENTS(ArrayIterator, Countable);
+ REGISTER_SPL_CLASS_CONST_LONG(ArrayObject, "STD_PROP_LIST", SPL_ARRAY_STD_PROP_LIST);
+ REGISTER_SPL_CLASS_CONST_LONG(ArrayObject, "ARRAY_AS_PROPS", SPL_ARRAY_ARRAY_AS_PROPS);
+
+ REGISTER_SPL_CLASS_CONST_LONG(ArrayIterator, "STD_PROP_LIST", SPL_ARRAY_STD_PROP_LIST);
+ REGISTER_SPL_CLASS_CONST_LONG(ArrayIterator, "ARRAY_AS_PROPS", SPL_ARRAY_ARRAY_AS_PROPS);
return SUCCESS;
}
/* }}} */