Commit Graph

219 Commits

Author SHA1 Message Date
Marcus Boerger
7f01ec57bf SPL is meant to be in uppercase letters, do it now it works 2004-04-29 23:02:11 +00:00
Marcus Boerger
a9bdb2ed88 - Fix protos and add notes to the docs
- Reorder func prototypes to show what is common and what is specific
2004-04-29 22:52:49 +00:00
Marcus Boerger
74f21310e3 - ArrayObject::append() must not be called when it refers to an object 2004-04-29 22:25:45 +00:00
Marcus Boerger
bf5f758c93 - Remove unused variable
- Respect visibility in count() and add a test for that
2004-04-29 07:22:02 +00:00
Marcus Boerger
1721e5d44e - More examples 2004-04-28 21:52:51 +00:00
Marcus Boerger
69e792ee7b Count() was missing 2004-04-28 21:45:41 +00:00
Marcus Boerger
1e264fc509 - Add tests for the examples 2004-04-28 20:10:21 +00:00
Marcus Boerger
4cdc3117c7 - DOS 2 UNIX 2004-04-28 19:58:47 +00:00
Marcus Boerger
e44c06c14e - More examples 2004-04-27 18:15:00 +00:00
Marcus Boerger
11690da164 - Some pretection against out-of-memory situations 2004-04-27 17:12:11 +00:00
Marcus Boerger
c56ca79733 Fix test 2004-04-27 15:48:20 +00:00
Marcus Boerger
7a5380297b - Fix ArrayIterator iteration
- Make it seekable
2004-04-27 15:42:45 +00:00
Marcus Boerger
7f37b3f651 Fix LimitIterator by using new handler 2004-04-27 15:41:26 +00:00
Marcus Boerger
c896fa34a8 Fix documentation 2004-04-27 15:39:33 +00:00
Marcus Boerger
b526220462 Complete implementation 2004-04-26 22:01:12 +00:00
Marcus Boerger
5ffeb236f4 Update 2004-04-26 21:34:45 +00:00
Marcus Boerger
e058626c66 Add new iterator example AppendIterator and use it in findfile.php example.
# The initial idea came from a request by Sebastian
2004-04-25 13:06:15 +00:00
Marcus Boerger
9238d1bbbc With the new inheritance rules we need an explicit append method. 2004-04-25 13:04:36 +00:00
Marcus Boerger
5b755c40ea Fix several issues
- bugfix #27063
- bugfix #27929
- bugfix #28099
- bugfix #28125
# The amount of code is needed to solve the return by reference problem.
# dual_it and derived also need their own iterator handlers to be able
# to return by reference.
2004-04-25 11:14:11 +00:00
Marcus Boerger
00da44519c Bugfix #27997 2004-04-14 23:26:56 +00:00
Marcus Boerger
27aee6b1dd Update error messages in tests 2004-04-13 19:08:54 +00:00
Marcus Boerger
f0c91bac50 New tests (and ordering of tests) 2004-04-13 19:06:39 +00:00
Marcus Boerger
ad2471cbbb Bugfix #27979 2004-04-13 19:06:16 +00:00
Stanislav Malyshev
3c84c9c4bd fix bug #27979 2004-04-13 16:21:24 +00:00
Marcus Boerger
33cdc9ed36 Fix order of macro parameter (synch with other macros) 2004-04-12 13:02:54 +00:00
Marcus Boerger
6e3b81e385 Add new test 2004-04-08 22:47:13 +00:00
Marcus Boerger
42370213f7 Fix toString() issue again 2004-04-08 22:46:43 +00:00
Marcus Boerger
dce131ebcd Add agrument type info 2004-03-28 17:04:11 +00:00
Marcus Boerger
9f4be8d2cd Fix test 2004-03-20 16:13:37 +00:00
Marcus Boerger
af9788eb32 Fix return value to match std array func behavior 2004-03-20 16:09:42 +00:00
Marcus Boerger
851c254ef8 Fix CachingIterator's ability to cache string conversion results.
Add a test for that.
2004-03-17 19:58:32 +00:00
Marcus Boerger
b967853eb3 Go with implicit call 2004-03-17 19:14:15 +00:00
Marcus Boerger
8cdd2ed319 Explicit cast needed for now 2004-03-17 19:00:44 +00:00
Marcus Boerger
426649067c Make use of zend_make_printable_zval() instead of 'manually' calling
__toString().
2004-03-16 10:17:59 +00:00
Marcus Boerger
cde333aca6 This workaround is no longer needed 2004-03-16 10:16:52 +00:00
Marcus Boerger
0763dfa16f Update test with check for [] assignment 2004-03-13 20:07:22 +00:00
Marcus Boerger
96cb40a072 Check for ext/spl being available 2004-03-13 20:03:02 +00:00
Marcus Boerger
462bb8b83a Add new test 2004-03-13 20:01:23 +00:00
Marcus Boerger
b95d8d14d5 Bugfix #27586 ArrayObject::getIterator crashes with [] assignment 2004-03-13 20:01:00 +00:00
Marcus Boerger
5f5a8172be Update 2004-03-09 17:47:28 +00:00
Marcus Boerger
bf2cf5041c Drop copydoc and add more classes/methods 2004-03-09 17:36:32 +00:00
Marcus Boerger
1b060f3614 Access to inner iterator was missing 2004-03-09 17:35:18 +00:00
Marcus Boerger
56834c958d Update 2004-03-09 17:01:21 +00:00
Marcus Boerger
50ee116f08 Clearify the different method/class flags (as discussed with Andi). 2004-03-09 16:38:37 +00:00
Marcus Boerger
6b0f57ee50 Rename hasMore() to valid() as discussed. (Part II) 2004-03-08 18:05:41 +00:00
Marcus Boerger
b6b7c9eb65 Rename hasMore() to valid() as discussed. (Part I) 2004-03-08 17:33:31 +00:00
Marcus Boerger
8be7457b6c Temp fix for ctor signature until inheritance fix is complete 2004-02-25 20:38:56 +00:00
Ard Biesheuvel
81f05c18f5 Wordsize fixes 2004-02-25 20:16:27 +00:00
Zeev Suraski
bec3adb801 Fix signature
Marcus - please make sure that this is ok.  Generally you are no longer
allowed to override a method and with an incompatible signature
2004-02-25 14:58:47 +00:00
Ard Biesheuvel
29053cc6d5 64-bit fix 2004-02-23 01:53:39 +00:00