Commit Graph

146 Commits

Author SHA1 Message Date
Etienne Kneuss
b8aa44644d Fix error_handling usage in various extensions 2008-08-08 22:06:42 +00:00
Robin Fernandes
4ef68b9627 Improve ArrayObject::exchangeArray() behaviour with objects and CoW references (see http://turl.ca/exarr ). 2008-08-04 11:45:15 +00:00
Arnaud Le Blanc
a3f0f90dfd Fix bug #45622 (isset($arrayObject->p) misbehaves with ArrayObject::ARRAY_AS_PROPS set) 2008-07-26 12:33:34 +00:00
Arnaud Le Blanc
2db33d3d7f Fixed bug #45614 (ArrayIterator::current(), ::key() can show 1st private prop of wrapped object) 2008-07-24 15:51:14 +00:00
Etienne Kneuss
f388db74f5 Fix build for solaris 2008-07-20 16:32:43 +00:00
Etienne Kneuss
b0623e09d0 Fix valgrind errors in array_method, and possibly #45349 (Thanks tony for the patch) 2008-07-19 13:13:44 +00:00
Etienne Kneuss
e8cbf4c663 First part of count/handlers related fixes 2008-07-06 23:45:38 +00:00
Antony Dovgal
24cc4b72c3 nuke unused variables 2008-05-20 12:04:37 +00:00
Etienne Kneuss
17bce65262 Add a flag that defines whether the objects should get iterated through or not 2008-05-06 22:59:59 +00:00
Marcus Boerger
3c7c97303d - Fix ArrayObject serializing
- Fix test expectations
2008-02-04 16:47:06 +00:00
Sebastian Bergmann
9b620d50b4 Bump copyright year, 2 of 2. 2007-12-31 07:12:20 +00:00
Marcus Boerger
2501e574b9 - Fix folding (again)
- Fix clone mask
2007-12-17 13:47:09 +00:00
David Coallier
4c7266904d - MFB: Bug #41528
- Added possibility to serialize and unserialize classes that extend to ArrayObject
- See ext/spl/tests/array_023.phpt and ext/spl/tests/bug41528.php for references
- Put a folding for all SPL_ARRAY_METHOD() def
2007-12-15 01:18:28 +00:00
Etienne Kneuss
d6259bc207 Fix folding 2007-12-14 22:52:53 +00:00
Marcus Boerger
caa99d8436 - Missing piece 2007-10-18 05:19:13 +00:00
Marcus Boerger
2e9b0225b8 - MFB #42654, #42704 2007-10-18 04:49:54 +00:00
Yiduo (David) Wang
95da0dc570 Added macros for managing zval refcounts and is_ref statuses 2007-10-07 05:15:07 +00:00
Dmitry Stogov
8146078f7b Improved memory usage by movig constants to read only memory. (Dmitry, Pierre) 2007-09-27 18:28:44 +00:00
Antony Dovgal
c771e2bf44 fix #41691 (ArrayObject::exchangeArray hangs Apache) 2007-07-20 10:53:45 +00:00
Antony Dovgal
145c29a96d apply corrected fix
fix tests
2007-06-27 12:38:20 +00:00
Antony Dovgal
a77541ebc2 fix #41692 (ArrayObject shows weird behaviour in respect to inheritance) 2007-06-27 12:17:30 +00:00
Marcus Boerger
d7c50ff9a9 - Fix unicode issue 2007-04-06 21:15:44 +00:00
Marcus Boerger
aba41d889a - Fix #40442 2007-04-06 15:32:29 +00:00
Marcus Boerger
714e95d2e8 - Drop double variable declaration 2007-03-24 16:28:45 +00:00
Marcus Boerger
a4ee3cbff7 - Fix Bug #40872 (inconsistency in offsetSet, offsetExists treatment of string enclosed integers) 2007-03-20 20:21:39 +00:00
Marcus Boerger
496c1db1b5 - Moving Countable from spl_array.c to spl_iterator.c
allows CachingIterator to implement Countable
2007-02-08 20:13:49 +00:00
Marcus Boerger
ab2c4ffe54 - Mode debug info 2007-01-20 16:19:20 +00:00
Marcus Boerger
512f5dafb8 - Drop left-over 2007-01-20 14:41:04 +00:00
Marcus Boerger
c6ccbf32fb - Make use of get_debug_info() handler in ArrayObject/Iterator 2007-01-20 14:03:59 +00:00
Marcus Boerger
54917a290b - MFH (Ilia's changes) 2007-01-09 18:38:38 +00:00
Marcus Boerger
4562ab4d4a - Make Andrei happy - spread some U's 2007-01-02 18:15:22 +00:00
Sebastian Bergmann
3717df72ae Bump year. 2007-01-01 09:29:37 +00:00
Sara Golemon
631b9b016e Fix working with ArrayObjects which contain arrays. 2006-10-19 22:20:44 +00:00
Hannes Magnusson
32d1b3ad55 Remove duplicate 'wrong param count' warning 2006-10-08 10:50:19 +00:00
Nuno Lopes
70923e7011 MFB5.2: fix #38402 (wrong proto for Array*::offsetGet()) 2006-08-11 17:06:19 +00:00
Marcus Boerger
a677ab81f3 - Micro optimization 2006-05-20 19:47:18 +00:00
Antony Dovgal
7cf30db27e MF51: fix memory corruptions and leaks when cloning ArrayObjects and ArrayIterators 2006-04-07 22:53:34 +00:00
Marcus Boerger
f2004b6f28 - WS 2006-04-03 19:58:03 +00:00
Marcus Boerger
091360caa1 - Fix issue related to #36941 (when referencing itself) 2006-04-03 19:52:02 +00:00
Marcus Boerger
8e97252506 - Behavior fix for #36941 2006-04-02 15:04:04 +00:00
Marcus Boerger
ac099ca676 - Bugfix #36941 (ArrayIterator does not clone itself) 2006-04-01 22:39:42 +00:00
Antony Dovgal
1160f87d1d MF51: fix segfault when assigning value by ref and add test 2006-04-01 19:14:01 +00:00
Antony Dovgal
6a53a49c8b MF51: 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)
2006-03-29 15:08:52 +00:00
Dmitry Stogov
7983262579 Fixed possible memory corruption 2006-03-23 11:42:41 +00:00
Antony Dovgal
c2e7761de4 fix leak, add test 2006-03-22 23:12:38 +00:00
Antony Dovgal
e0cd1b87a8 MFH: fix #36825 (Exceptions thrown in ArrayObject::offsetGet cause segfault)
fix similar issue in offsetExists()
remove redundant semicolons
2006-03-22 21:57:10 +00:00
Marcus Boerger
aae51ab2ed - WS/CS 2006-03-04 16:45:45 +00:00
Dmitry Stogov
0f1209ab3d Portable unicode string API:
- use the same type (int) for zval.value.usr.len and zval.value.str.len
  - use union "zstr" as char*/UChar* mixture instead of void*
  - Z_UNISTR() and Z_UNILEN() no longer check for Z_TYPE()
  - nuke int32_t from ZE (not finisned)
2006-02-21 20:12:43 +00:00
Dmitry Stogov
09ca61c125 Made server wide switch for unicode on/off (according to PDM). 2006-02-13 10:23:59 +00:00
Marcus Boerger
887d1202f4 - No more old parameter api usage 2006-02-12 16:43:30 +00:00