summaryrefslogtreecommitdiff
path: root/ext/spl/spl_array.c
diff options
context:
space:
mode:
authorMarcus Boerger <helly@php.net>2005-09-15 03:33:04 +0000
committerMarcus Boerger <helly@php.net>2005-09-15 03:33:04 +0000
commitb4dd030782ae49646cdefa8435e6c8acbbf17745 (patch)
treef87f19c742634a48ee644d58a6913cab13ada4d9 /ext/spl/spl_array.c
parenta5f0cbed448d9a057c8cf451074b870e27a335fd (diff)
downloadphp-git-b4dd030782ae49646cdefa8435e6c8acbbf17745.tar.gz
MFH:
- Add SplObjectStorage - Add RecursiveFilterIterator - 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 077e4fedc4..a1d40b62df 100755
--- a/ext/spl/spl_array.c
+++ b/ext/spl/spl_array.c
@@ -1220,6 +1220,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;
}
/* }}} */