Marcus Boerger
fdf95a00dc
- CS/WS
19 years ago
Sebastian Bergmann
d1dded8751
MFH: Bump copyright year, 2 of 2.
19 years ago
Ilia Alshanetsky
31fb02db2e
Kill unused vars
19 years ago
Marcus Boerger
aabb1c3097
- Fix folding
19 years ago
Hannes Magnusson
bfad3071cd
Fix typo
19 years ago
David Coallier
7c1087f0aa
- Nitpicking, using same code (without unicode handling) than in HEAD
just removed useless } else {
19 years ago
Rob Richards
d4cbb77c90
fix win build
19 years ago
Marcus Boerger
cd77dc1242
- Fix for #41528 (Classes extending ArrayObject do not serialize correctly)
19 years ago
Marcus Boerger
d71b3de7f4
- Fixing #38618 by:
- [DOC] ArrayIterator::CHILD_ARRAYS_ONLY, ArrayObject::CHILD_ARRAYS_ONLY
Passing this flag in the ctor prevents ArrayIterator from following
objects in ArrayObject::getIterator(), ArrayIterator::hasChildren(),
ArrayIterator::getChildren().
The exact behavior might change:
- should the flag be set by default
- should the flag be changed to have a negative effect
19 years ago
Jani Taskinen
b489251177
- MFH from HEAD:
. Folding tags
. Parameter parsing
. SPL debug info
. array function improvements (not all yet)
. Improvements to function calling with call_user_* functions
. Improvements to debugging info in var_dump/print_r
# I propably forgot already something but this all was pretty close tied
# to each other so it wasn't possible to do it in parts.
19 years ago
Marcus Boerger
56f9d57091
- Fix #42654 (maybe also a bunch of others)
19 years ago
Yiduo (David) Wang
4b4d634cb9
MFH: Added macros for managing zval refcounts and is_ref statuses
19 years ago
Dmitry Stogov
6c810b0d4c
Improved memory usage by movig constants to read only memory. (Dmitry, Pierre)
19 years ago
Antony Dovgal
bfed3520c9
MFH: fix #41691 (ArrayObject::exchangeArray hangs Apache)
19 years ago
Antony Dovgal
f132df4f66
MFH: fix #41692 (ArrayObject shows weird behaviour in respect to inheritance)
19 years ago
Marcus Boerger
515f4f6e6f
- Fix 40442
19 years ago
Marcus Boerger
eceb7faee0
- MFH Drop double variable declaration
19 years ago
Marcus Boerger
4c1c431a38
- MFH Fix Bug #40872 (inconsistency in offsetSet, offsetExists treatment
of string enclosed integers)
19 years ago
Marcus Boerger
ac3b5ebbde
- MFH Rearrange code: mode Countable from spl_array.c to spl_iterator.c
20 years ago
Ilia Alshanetsky
5068511748
Fixed bug #40036 (empty() does not work correctly with ArrayObject when
20 years ago
Sebastian Bergmann
4223aa4d5e
MFH: Bump year.
20 years ago
Hannes Magnusson
5006fb2ceb
MFH: Fix double "wrong param count" messages
20 years ago
Sara Golemon
3042386549
MFH(r-1.114) Can't use real arrays held by ArrayObjects in write context
20 years ago
Nuno Lopes
c45c9748dc
fix #38402 : wrong proto for Array*::offsetGet()
20 years ago
Marcus Boerger
ac3c882bb6
- Use of E_RECOVERABLE_ERROR
20 years ago
Marcus Boerger
9afb3e041b
- Update after api changes
- MFH
. ArrayIterator/ArrayObject: function lookup caches and array functions
. Added RegExIterator, RecursiveRegExIterator
. Added (full) caching support for CachingIterator
20 years ago
Antony Dovgal
e8270edf9d
fix memory corruptions and leaks when cloning ArrayObjects and ArrayIterators
20 years ago
Marcus Boerger
c58e1fa5be
- MFH
. Fixed bug #36941 (ArrayIterator does not clone itself)
. Fixed SEGV when ArrayObject/Iterator use reference to self
. Added tests
20 years ago
Antony Dovgal
9a59df13cc
fix segfault when assigning value by ref and add test
(I consider it's wrong that we can't do it, but we shouldn't segfault anyway)
20 years ago
Antony Dovgal
59b8592c8c
fix bug #36898 (__set() leaks in classes extending internal ones)
Added:
ZEND_API void zend_object_std_init(zend_object *object, zend_class_entry *ce TSRMLS_DC)
ZEND_API void zend_object_std_dtor(zend_object *object TSRMLS_DC)
to initialize and destroy zend_object structs
20 years ago
Dmitry Stogov
87ae2460d1
Fixed possible memory corruption
20 years ago
Antony Dovgal
1ce8546cd1
fix leak
20 years ago
Antony Dovgal
32f611097f
fix #36825 (Exceptions thrown in ArrayObject::offsetGet cause segfault)
fix similar issue in offsetExists()
remove redundant semicolons
20 years ago
Marcus Boerger
7dc322754a
- Fix issues with not/double calling of constructors of SPL iterators
- Fix issues with info-class/file-class in SPL directory handling classes
- Add SimpleXMLElement::count()
- Drop erroneous RecursiveDirectoryIterator::getSubPathInfo()
- Drop dead code
- Add tests
- Update docu
21 years ago
Marcus Boerger
4b2b9461d4
- MFH No more old parameter api usage
21 years ago
Marcus Boerger
a31f337c24
- MFH Fix ArrayIterator::seek() edge cases
21 years ago
foobar
5bd93221a8
bump year and license version
21 years ago
Antony Dovgal
241aa9a59d
MFH: fix #35197 (Destructor is not called) and similar issues in other extensions
21 years ago
Marcus Boerger
de03dd6387
- MFH Fix potential SEGV with overloaded objects
21 years ago
Marcus Boerger
061ff97f69
- MFH Throw an exception if an illegal string value is being used in
ArrayObject::offsetSet()
21 years ago
Marcus Boerger
184309c2e9
- MFH Fix issue with RecursiveArrayIterator::getChildren()
21 years ago
Marcus Boerger
7d918fae4c
- Synch naming/move changes with HEAD
- Update tests/docu
# New functionality in CachingIterator/RecursiveIteratorIterator not MFHed
21 years ago
Marcus Boerger
b4dd030782
MFH:
- Add SplObjectStorage
- Add RecursiveFilterIterator
- Rename Observer to SplObserver
- Rename Subject to SplSubject
- Move SPL constants to class constants
- Update docu
21 years ago
foobar
23e671a51e
- Bumber up year
21 years ago
Marcus Boerger
74a63cc1b2
- Fixed #33136 :
- Allow ArrayObject::offsetSet(NULL, $value) as replacement for [] = $value
- Fix memleaks with overloading ArrayObject
21 years ago
Marcus Boerger
6a67d06c26
- Fix handling of ArrayObject/ArrayIterator flags and provide test
21 years ago
Marcus Boerger
309025e8c1
- Small fix (found by joerg)
21 years ago
Marcus Boerger
b45fb630d9
- Add ability to reference the object itself
- Add ability to exchange the refrenced object
- Add ArrayObject::getFlags/setFlags and 2nd param to __construct to
control operation modes
21 years ago
Marcus Boerger
041524feee
- Fix Bug #32394 offsetUnset() segfaults in a foreach
22 years ago
Marcus Boerger
dd54f36d49
- Fix signature definition
22 years ago