Commit Graph

952 Commits

Author SHA1 Message Date
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
Antony Dovgal
15e70c34e2 use zend_ascii_hash_find() and check its return value to prevent crash when function not found 2008-07-02 10:46:52 +00:00
Etienne Kneuss
422bc27588 Add some tests to increase code coverage 2008-06-22 16:23:33 +00:00
Etienne Kneuss
c6472bfd80 Rename everything from SplFastArray to SplFixedArray 2008-06-18 14:54:28 +00:00
Etienne Kneuss
6444ec388c Fix #45216 (Add a default size for fgetss) 2008-06-18 10:05:15 +00:00
Etienne Kneuss
53b6c68a90 Add tests for iterators when instanciated without argument (by Sebastian Schürmann) 2008-06-15 11:45:48 +00:00
Felipe Pena
7504d57043 - Fixed tests (unicode results, UEXPECT, line endings) 2008-06-13 00:18:57 +00:00
Etienne Kneuss
0e213d1628 Add tests from testfest 2008-06-12 20:51:25 +00:00
Etienne Kneuss
3dcd9ca7a2 Add tests from testfest 2008-06-12 20:46:00 +00:00
Antony Dovgal
5be006d48b avoid invalid reads when reached memory_limit during initialization 2008-06-12 12:40:07 +00:00
Etienne Kneuss
a917479c19 add get_Debug_info + fix proto 2008-06-09 17:29:09 +00:00
Antony Dovgal
b519f3c83e more checks and tests 2008-06-07 21:35:53 +00:00
Antony Dovgal
a5c08c6a6d more tests (by Felipe) 2008-06-07 14:10:21 +00:00
Antony Dovgal
b38279abf4 fix several memleaks and invalid reads 2008-06-07 14:08:59 +00:00
Antony Dovgal
67630e0cd7 disallow $a[] = value syntax 2008-06-07 12:46:54 +00:00