Commit Graph

159 Commits

Author SHA1 Message Date
Arnaud Le Blanc
085b11a8cb CS 2008-11-19 17:54:24 +00:00
Arnaud Le Blanc
629c74a10a Improved ArrayObject performance (made spl_hash_verify_pos() an O(1)
and removed some spl_array_get_hash_table() calls). Fixes #46039
2008-11-19 14:42:27 +00:00
Etienne Kneuss
8251921307 Fix #46241 (stacked error_handlers, error_handling in general) 2008-11-19 01:59:07 +00:00
Felipe Pena
43791516db - Added 'static' into ZEND_BEGIN_ARG_INFO_EX macro (again!) 2008-11-17 11:26:25 +00:00
Felipe Pena
e006a89e71 - Revert ZEND_BEGIN_ARG_INFO change 2008-11-02 21:10:13 +00:00
Felipe Pena
7eb2715464 - Added 'static' into ZEND_BEGIN_ARG_INFO_EX macro 2008-10-24 14:34:17 +00:00
Etienne Kneuss
78325e3f94 Link to spl iterator 2008-10-19 17:59:39 +00:00
Antony Dovgal
ac589d8084 fix memleak 2008-10-17 22:09:35 +00:00
Etienne Kneuss
002e17d501 Fix #46222 (Allow indirect modifications of Arrays inside ArrayObject + fix EG(uninitialized_zval_ptr) overwrite) 2008-10-05 14:19:55 +00:00
Etienne Kneuss
41493606e6 Fix #46192 (Serialization of ArrayObject with objects as storage) 2008-09-29 22:42:49 +00:00
Dmitry Stogov
063c29f9ce Fixed bug #46115 (Memory leak when calling a method using Reflection) 2008-09-19 12:48:45 +00:00
Jani Taskinen
c66533a789 - Fix CS, folding tags..etc. PLEASE do not invent your own coding styles. Or commit something as fubar as this.. 2008-08-25 19:07:12 +00:00
Etienne Kneuss
b2dd15897a Fix #45826 (Custom serialization) 2008-08-25 18:38:23 +00:00
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