Commit Graph

1066 Commits

Author SHA1 Message Date
Etienne Kneuss
c856710706 Fix #47231 (offsetGet error using incorrect offset) 2009-03-19 03:00:44 +00:00
Etienne Kneuss
24835e7fb1 Add test covering for #47671 2009-03-19 02:46:41 +00:00
Etienne Kneuss
47aa4817f3 Fix #47671 (cloning SplObjectStorage instances) 2009-03-19 02:44:04 +00:00
Marcus Boerger
d4f5b3f0a9 - This is PHP 6 - if this ... ever gets out 2009-03-10 23:40:06 +00:00
Marcus Boerger
b43851b7aa - Safer flag handling as requested by Greg 2009-03-10 23:27:59 +00:00
Etienne Kneuss
a9b3bfce52 Fix #47031 (Fix constants in example) 2009-02-03 12:40:00 +00:00
Pierre Joye
4395ea2faf - MFB: fix build 2009-01-28 10:33:14 +00:00
Etienne Kneuss
6d6d3233c1 Improve spl_object_hash() 2009-01-26 11:37:46 +00:00
Felipe Pena
d86a33a6fc - Added missing "return;" 2009-01-20 00:40:16 +00:00
Etienne Kneuss
eed64ece65 Add tests for addAll/RemoveAll 2009-01-17 01:30:43 +00:00
Etienne Kneuss
1dd3d05426 Implement SplObjectStorage::addAll/removeAll 2009-01-16 22:20:00 +00:00
Etienne Kneuss
1752a8a4c6 Fix #47045 (Correctly compare splobjectstorages with ==) 2009-01-14 15:51:54 +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
Etienne Kneuss
4e5c7990ce Fix #46646 (Implement zend functions to restrict serialization or internal classes) 2008-12-22 13:50:43 +00:00
Marcus Boerger
215167f7e9 - Remove more dead code 2008-12-06 15:24:33 +00:00
Marcus Boerger
d106e3a33e - Drop dead code 2008-12-06 15:14:46 +00:00
Hannes Magnusson
ff413c2304 Fix arginfo 2008-11-30 00:22:52 +00:00
Hannes Magnusson
6221154fed Fixed proto 2008-11-30 00:12:11 +00:00
Dmitry Stogov
e5454b359a Fixed bug #46409 (__invoke method called outside of object context when using array_map) 2008-11-27 19:02:45 +00:00
David Coallier
a3a0dbe923 - Return the key - 1
- Bug #46615
2008-11-22 14:18:15 +00:00
David Coallier
84020c1560 - Added tests for bug #46615 (Adjustments) 2008-11-22 14:17:40 +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
Etienne Kneuss
933e2eb4dd Fix #46421 (Take care about /) 2008-11-06 01:07:05 +00:00
Etienne Kneuss
6e2845f377 Fix #45976 (Move SXE from SPL to SimpleXML) 2008-11-06 00:36:29 +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
Arnaud Le Blanc
5ef7ecafc1 initialize optional vars 2008-10-21 22:06:49 +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
Zoe Slattery
868c69b72b Replacing explicit object ID with %d 2008-10-17 15:05:31 +00:00
Zoe Slattery
75fcb938c5 Committing for Robin Fernandes 2008-10-17 14:40:13 +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
Felipe Pena
4a0956cf09 - Fixed bug #46160 (SPL - Memory leak when exception is throwed in offsetSet method) 2008-09-23 12:05:02 +00:00
Felipe Pena
ac5d2bd5f0 - Fixed bug #46088 (RegexIterator::accept - segfault) 2008-09-22 13:06:29 +00:00
Dmitry Stogov
063c29f9ce Fixed bug #46115 (Memory leak when calling a method using Reflection) 2008-09-19 12:48:45 +00:00
Etienne Kneuss
4396e6ec11 Fix #45656 (new Class silenting exceptions in autoloaders) 2008-09-15 10:19:15 +00:00
Felipe Pena
4768abe05f - Missing argument to type "t" 2008-09-12 16:24:12 +00:00
Arnaud Le Blanc
962cc9d9c8 Fix test 2008-09-11 15:47:56 +00:00
Arnaud Le Blanc
8483399c08 Fix invalid free 2008-09-11 15:45:29 +00:00
Arnaud Le Blanc
f49c3c98bc Fixed #46053 (SplFileObject::seek - Endless loop) 2008-09-11 15:31:48 +00:00
Arnaud Le Blanc
f327994df3 Fixed #46051 (SplFileInfo::openFile - memory overlap) 2008-09-11 15:22:17 +00:00
Arnaud Le Blanc
cee365dbf0 Fixed bug #46031 (Segfault in AppendIterator::next) 2008-09-09 19:43:52 +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
Marcus Boerger
2b929abc84 - Add new test 2008-08-24 16:46:17 +00:00
Felipe Pena
be5df04540 - Removed unused variable 2008-08-24 04:18:22 +00:00
Jani Taskinen
4c1e90066f fix skipif 2008-08-14 23:46:12 +00:00
Jani Taskinen
955d49d3fb - Skipif: as long as it is an extension, it can be disabled.. 2008-08-14 23:27:38 +00:00
Marcus Boerger
75b08f4adf - Improved exception linking 2008-08-14 10:06:39 +00:00
Marcus Boerger
de87bc2d27 - EXPECT rather than EXPECTF 2008-08-11 17:30:22 +00:00
Etienne Kneuss
b8aa44644d Fix error_handling usage in various extensions 2008-08-08 22:06:42 +00:00
Etienne Kneuss
f3ca0282f2 Test the catching of chains of exceptions 2008-08-08 14:09:15 +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
Etienne Kneuss
1c23174d9d Fix clone + add tests 2008-08-03 19:07:22 +00:00
Etienne Kneuss
7aa5e4ab32 Remove cast and fix mem errors 2008-08-03 18:15:18 +00:00
Felipe Pena
611ecc5111 - Added parameter TSRMLS_DC in zend_is_callable() 2008-08-02 04:40:45 +00:00
Dmitry Stogov
03ebd36385 Fixed memory leak 2008-07-29 14:27:31 +00:00
Dmitry Stogov
21f41b06f3 Removed warning 2008-07-29 11:50:23 +00:00
Etienne Kneuss
03de75498d Increase coverage a bit 2008-07-28 14:24:35 +00:00
Dmitry Stogov
bdf7981e28 Fixed is_callable/call_user_func mess that had done different things for very similar arguments e.g. array("A","B") and "A::B" 2008-07-26 13:14:56 +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
Dmitry Stogov
013059c247 Fixed uninitialized data 2008-07-25 08:53:11 +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
Dmitry Stogov
72dfe66661 LSB parent/self forwarding 2008-07-24 10:14:01 +00:00
Steph Fox
64a04a58a6 - Make test x-platform 2008-07-24 08:53:56 +00:00
Steph Fox
32b474b730 - Introduce SPL_FILE_DIR_UNIXPATHS. 2008-07-24 08:52:24 +00:00
Marcus Boerger
abe24e95fa - MFH [DOC] Add FilesystemIterator::SKIP_DOTS (flag to skip '.' and '..' in iteration) 2008-07-23 06:12:44 +00:00
Marcus Boerger
eb6333be1c - Add new classes 2008-07-23 06:07:55 +00:00
Marcus Boerger
32f51050bc - Add MultipleIterator (Arnaud, Marcus) 2008-07-22 22:54:15 +00:00
Rob Richards
c2eb3ea158 Sync with 5_3 changes 2008-07-21 16:12:28 +00:00
Etienne Kneuss
f493ef90e1 Iterator methods overwriting optimisations 2008-07-20 17:31:36 +00:00
Etienne Kneuss
f388db74f5 Fix build for solaris 2008-07-20 16:32:43 +00:00
Etienne Kneuss
4254ef3891 Complete the ZTS build fix 2008-07-19 19:45:25 +00:00
Derick Rethans
14d348c9ec - Fixed ZTS build. 2008-07-19 19:23:54 +00:00
Marcus Boerger
28a325bc0f - Add MultipleIterator (http://blog.somabo.de/2008/01/multipleiterator-for-php.html) 2008-07-19 15:56:00 +00:00
Marcus Boerger
f765f8e99f - added missing @since tag 2008-07-19 15:48:07 +00:00
Marcus Boerger
1223c085b0 - Move RecursiveTreeIterator from PHP to C code (Arnaud, Marcus)
[DOC] Added RecursiveTreeIterator
      Documentation in ext/spl/internal/recursivetreeiterator.inc
2008-07-19 15:43:35 +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
8ee084b365 Implement DirectoryIterator::seek 2008-07-19 11:20:04 +00:00
Antony Dovgal
7c16cfd85b minor speedup - convert offset to long only when needed 2008-07-14 08:08:39 +00:00
Antony Dovgal
8c96f79ca5 fix test 2008-07-14 08:05:58 +00:00
Marcus Boerger
e3944720b5 - Use new helper 2008-07-13 21:38:58 +00:00
Marcus Boerger
7c3726c907 - Fix test 2008-07-13 21:38:19 +00:00
Antony Dovgal
05028ba6d3 improve code coverage 2008-07-13 19:47:27 +00:00
Etienne Kneuss
b111b673e6 Implement toArray,fromArray and get_properties (Thanks Tony for the patches) 2008-07-13 15:59:38 +00:00
Marcus Boerger
059e4f06ef - Allow multiple exceptions in spl's autoload 2008-07-12 14:58:07 +00:00
Etienne Kneuss
ad3cd911ac Forgot to remove the count method here 2008-07-10 13:16:01 +00:00
Etienne Kneuss
4362c16f6a Test extended iterators methods 2008-07-09 20:34:36 +00:00
Etienne Kneuss
8cab636c24 Woopsy 2008-07-08 22:49:35 +00:00
Etienne Kneuss
c621d4f63f - Fix filename in debug_info
- Fix #45345 (getPathInfo on the file instead of the dir)
- Remove trailing / on input
2008-07-08 22:40:30 +00:00
Etienne Kneuss
b6c53b8c73 Remove .htaccess file(??) 2008-07-07 00:06:05 +00:00
Etienne Kneuss
e6fe25f589 Add missing test 2008-07-06 23:52:44 +00:00
Etienne Kneuss
e8cbf4c663 First part of count/handlers related fixes 2008-07-06 23:45:38 +00:00
Felipe Pena
4b50d12a48 - MFB: Added arginfo (functions) 2008-07-03 12:21:25 +00:00
Antony Dovgal
6c94aa02ab fix test 2008-07-02 12:24:45 +00:00