Marcus Boerger
fdf95a00dc
- CS/WS
2008-02-04 16:48:06 +00:00
Sebastian Bergmann
d1dded8751
MFH: Bump copyright year, 2 of 2.
2007-12-31 07:17:19 +00:00
Ilia Alshanetsky
31fb02db2e
Kill unused vars
2007-12-17 19:00:07 +00:00
Marcus Boerger
aabb1c3097
- Fix folding
2007-12-17 13:46:27 +00:00
Hannes Magnusson
bfad3071cd
Fix typo
2007-12-16 18:31:07 +00:00
David Coallier
7c1087f0aa
- Nitpicking, using same code (without unicode handling) than in HEAD
...
just removed useless } else {
2007-12-12 03:29:31 +00:00
Rob Richards
d4cbb77c90
fix win build
2007-12-07 13:33:10 +00:00
Marcus Boerger
cd77dc1242
- Fix for #41528 (Classes extending ArrayObject do not serialize correctly)
2007-12-06 16:04:17 +00:00
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
2007-12-05 15:56:41 +00:00
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.
2007-11-02 19:40:39 +00:00
Marcus Boerger
56f9d57091
- Fix #42654 (maybe also a bunch of others)
2007-10-18 03:55:43 +00:00
Yiduo (David) Wang
4b4d634cb9
MFH: Added macros for managing zval refcounts and is_ref statuses
2007-10-07 05:22:07 +00:00
Dmitry Stogov
6c810b0d4c
Improved memory usage by movig constants to read only memory. (Dmitry, Pierre)
2007-09-27 18:00:48 +00:00
Antony Dovgal
bfed3520c9
MFH: fix #41691 (ArrayObject::exchangeArray hangs Apache)
2007-07-20 10:53:56 +00:00
Antony Dovgal
f132df4f66
MFH: fix #41692 (ArrayObject shows weird behaviour in respect to inheritance)
2007-06-27 12:30:28 +00:00
Marcus Boerger
515f4f6e6f
- Fix 40442
2007-04-06 17:57:10 +00:00
Marcus Boerger
eceb7faee0
- MFH Drop double variable declaration
2007-03-24 16:28:53 +00:00
Marcus Boerger
4c1c431a38
- MFH Fix Bug #40872 (inconsistency in offsetSet, offsetExists treatment
...
of string enclosed integers)
2007-03-20 20:28:08 +00:00
Marcus Boerger
ac3b5ebbde
- MFH Rearrange code: mode Countable from spl_array.c to spl_iterator.c
2007-02-08 22:17:40 +00:00
Ilia Alshanetsky
5068511748
Fixed bug #40036 (empty() does not work correctly with ArrayObject when
...
using ARRAY_AS_PROPS).
2007-01-07 03:52:44 +00:00
Sebastian Bergmann
4223aa4d5e
MFH: Bump year.
2007-01-01 09:36:18 +00:00
Hannes Magnusson
5006fb2ceb
MFH: Fix double "wrong param count" messages
2006-11-03 15:13:17 +00:00
Sara Golemon
3042386549
MFH(r-1.114) Can't use real arrays held by ArrayObjects in write context
2006-10-20 02:11:19 +00:00
Nuno Lopes
c45c9748dc
fix #38402 : wrong proto for Array*::offsetGet()
2006-08-11 17:05:23 +00:00
Marcus Boerger
ac3c882bb6
- Use of E_RECOVERABLE_ERROR
2006-05-11 08:06:22 +00:00
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
2006-05-10 00:03:38 +00:00
Antony Dovgal
e8270edf9d
fix memory corruptions and leaks when cloning ArrayObjects and ArrayIterators
2006-04-07 22:53:23 +00:00
Marcus Boerger
c58e1fa5be
- MFH
...
. Fixed bug #36941 (ArrayIterator does not clone itself)
. Fixed SEGV when ArrayObject/Iterator use reference to self
. Added tests
2006-04-04 19:53:21 +00:00
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)
2006-04-01 19:13:04 +00:00
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
2006-03-29 14:28:43 +00:00
Dmitry Stogov
87ae2460d1
Fixed possible memory corruption
2006-03-23 11:42:32 +00:00
Antony Dovgal
1ce8546cd1
fix leak
2006-03-22 23:12:03 +00:00
Antony Dovgal
32f611097f
fix #36825 (Exceptions thrown in ArrayObject::offsetGet cause segfault)
...
fix similar issue in offsetExists()
remove redundant semicolons
2006-03-22 21:56:40 +00:00
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
2006-03-05 17:39:49 +00:00
Marcus Boerger
4b2b9461d4
- MFH No more old parameter api usage
2006-02-12 16:44:36 +00:00
Marcus Boerger
a31f337c24
- MFH Fix ArrayIterator::seek() edge cases
2006-02-02 22:17:42 +00:00
foobar
5bd93221a8
bump year and license version
2006-01-01 12:51:34 +00:00
Antony Dovgal
241aa9a59d
MFH: fix #35197 (Destructor is not called) and similar issues in other extensions
2005-11-14 22:03:02 +00:00
Marcus Boerger
de03dd6387
- MFH Fix potential SEGV with overloaded objects
2005-10-09 14:42:08 +00:00
Marcus Boerger
061ff97f69
- MFH Throw an exception if an illegal string value is being used in
...
ArrayObject::offsetSet()
2005-10-03 17:59:56 +00:00
Marcus Boerger
184309c2e9
- MFH Fix issue with RecursiveArrayIterator::getChildren()
2005-10-03 09:14:30 +00:00
Marcus Boerger
7d918fae4c
- Synch naming/move changes with HEAD
...
- Update tests/docu
# New functionality in CachingIterator/RecursiveIteratorIterator not MFHed
2005-09-18 17:15:04 +00:00
Marcus Boerger
b4dd030782
MFH:
...
- Add SplObjectStorage
- Add RecursiveFilterIterator
- Rename Observer to SplObserver
- Rename Subject to SplSubject
- Move SPL constants to class constants
- Update docu
2005-09-15 03:33:04 +00:00
foobar
23e671a51e
- Bumber up year
2005-08-03 14:08:58 +00:00
Marcus Boerger
74a63cc1b2
- Fixed #33136 :
...
- Allow ArrayObject::offsetSet(NULL, $value) as replacement for [] = $value
- Fix memleaks with overloading ArrayObject
2005-06-20 03:02:52 +00:00
Marcus Boerger
6a67d06c26
- Fix handling of ArrayObject/ArrayIterator flags and provide test
2005-06-20 00:19:18 +00:00
Marcus Boerger
309025e8c1
- Small fix (found by joerg)
2005-05-24 17:59:42 +00:00
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
2005-05-19 15:52:02 +00:00
Marcus Boerger
041524feee
- Fix Bug #32394 offsetUnset() segfaults in a foreach
2005-03-21 20:07:33 +00:00
Marcus Boerger
dd54f36d49
- Fix signature definition
2005-03-13 16:35:01 +00:00