diff options
| author | Marcus Boerger <helly@php.net> | 2005-09-15 03:31:37 +0000 |
|---|---|---|
| committer | Marcus Boerger <helly@php.net> | 2005-09-15 03:31:37 +0000 |
| commit | 8aa7f36a3bb2a682568dbfe75ca2d0326f3c361e (patch) | |
| tree | 77832661688a737204830acd161723cc7b86b0fb /ext/spl/spl_array.c | |
| parent | 868c4b72dfc37cc6ac78a5f06df0656ff481512d (diff) | |
| download | php-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-x | ext/spl/spl_array.c | 5 |
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; } /* }}} */ |
