Commit Graph

170 Commits

Author SHA1 Message Date
Sebastian Bergmann
22f4ef45fe sed -i "s#1997-2009#1997-2010#g" **/*.c **/*.h **/*.php 2010-01-03 09:23:27 +00:00
Dmitry Stogov
eedc39f4f3 Fixed ext/spl/tests/arrayObject_magicMethods2.phpt 2009-09-22 07:54:06 +00:00
Etienne Kneuss
642251da3c Fix several recursion problems when var_dump'ing self-referencing objects 2009-08-13 22:07:05 +00:00
Felipe Pena
19808909da - Added missing methods' arginfo (for void params)
- Fixed arginfos:
  - MultipleIterator::__construct
  - MultipleIterator::setFlags      (Thanks Philip!)
  - SplFixedArray::__construct
2009-07-04 20:28:16 +00:00
Felipe Pena
6d34e06a2f - Dropped *_TEXT* macros in favor of unicode macros direct usage 2009-05-25 14:32:15 +00:00
Arnaud Le Blanc
c176114acb Better fix for #45622 (patch by robinf at php do net) 2009-05-21 13:25:48 +00:00
Felipe Pena
8ecf8ede1f - Removed:
- UG(unicode) checks
       - pcre_cache_entry.unicode_mode
- Changed:
       - ZEND_STR_TYPE -> IS_UNICODE
       - convert_to_text -> convert_to_unicode
       - convert_to_text_ex -> convert_to_unicode_ex

(Felipe, Steph)
2009-03-26 20:02:53 +00:00
Etienne Kneuss
c856710706 Fix #47231 (offsetGet error using incorrect offset) 2009-03-19 03:00:44 +00:00
Marcus Boerger
d4f5b3f0a9 - This is PHP 6 - if this ... ever gets out 2009-03-10 23:40:06 +00:00
Sebastian Bergmann
7f4dc8702a Bump copyright year, 3 of 3. 2008-12-31 11:12:40 +00:00
Etienne Kneuss
040585ddfc Fix #45820 (Empty ArrayObject keys not allowed) 2008-12-30 23:32:50 +00:00
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