Commit Graph

54 Commits

Author SHA1 Message Date
Marcus Boerger
8e3a8b1e8e - Add interface Countable (PECL #30113) 2004-11-01 10:45:54 +00:00
Marcus Boerger
b9470609ad - Minor fixes
- Implement AppendIterator in C
2004-11-01 00:26:59 +00:00
Andi Gutmans
11bcaedfc8 - Rename delete_global_variable() to zend_delete_global_variable() 2004-10-04 20:17:06 +00:00
Andi Gutmans
db507dd153 - Commit the variable fetch optimization.
- Extensions which delete global variables need to use new special function
- delete_global_variable() (I'm about to rename it) to remove them.
- Will post to internals@ or via commit messages if there's anything else.
2004-10-04 19:54:35 +00:00
Marcus Boerger
819127b74b Fix seeking 2004-08-31 20:54:00 +00:00
Marcus Boerger
dc66fb1f10 Fixed bug #28822: ArrayObject::offsetExists() works inverted 2004-06-21 19:15:27 +00:00
Marcus Boerger
de8b457181 Fix 2nd issue of bug #28831 2004-06-20 16:46:27 +00:00
Marcus Boerger
bfc3e689de - Fix bug #28309 2004-05-07 06:13:21 +00:00
Marcus Boerger
635052875e Count support for ArrayIterator & ArrayObject 2004-05-06 08:57:20 +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
69e792ee7b Count() was missing 2004-04-28 21:45:41 +00:00
Marcus Boerger
7a5380297b - Fix ArrayIterator iteration
- Make it seekable
2004-04-27 15:42:45 +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
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
af9788eb32 Fix return value to match std array func behavior 2004-03-20 16:09:42 +00:00
Marcus Boerger
b95d8d14d5 Bugfix #27586 ArrayObject::getIterator crashes with [] assignment 2004-03-13 20:01:00 +00:00
Marcus Boerger
b6b7c9eb65 Rename hasMore() to valid() as discussed. (Part I) 2004-03-08 17:33:31 +00:00
Marcus Boerger
1507a4a677 Fix (thx Andi) 2004-02-12 21:43:10 +00:00
Marcus Boerger
ab1e2e7c06 Fix ArrayObject 2004-02-12 20:52:48 +00:00
Zeev Suraski
d89b7b23f9 API updates 2004-02-04 12:45:47 +00:00
Marcus Boerger
3b207ccb12 Add cvs tags 2004-01-20 20:59:45 +00:00
Marcus Boerger
0e5b87c5a2 Update copyright 2004-01-08 18:17:39 +00:00
Wez Furlong
8d011cba6d fix API exports 2003-12-23 01:57:26 +00:00
Marcus Boerger
0f2f745393 Cleanup 2003-11-26 23:28:35 +00:00
Marcus Boerger
06cdd3e4cc Remove interfaces implemented in engine now 2003-11-26 08:18:26 +00:00
Marcus Boerger
e3cbda9789 Disable interfaces ArrayRead and ArrayAccess 2003-11-22 20:44:44 +00:00
Marcus Boerger
5757ae3d24 Rename ArrayClass to ArrayObject 2003-11-17 05:32:43 +00:00
Marcus Boerger
b904d296c9 Fix ArrayClass and provide missing has_dimension handler. 2003-11-17 05:25:47 +00:00
Marcus Boerger
159c538bcf Major update:
- Remove all overloading hooks -> array_read/array_access must be rewritten
- Remove all basic iterators
- Remove all 'spl_' prefixing exposed to user level
- Add RecursiveIterator, RecursiveIteratorIterator
- Add DirectoryIterator, DirectoryTreeIterator
- Add some examples
2003-11-09 14:05:36 +00:00
Marcus Boerger
cd021cfb3a Go with studlyCaps 2003-09-18 16:26:29 +00:00
Marcus Boerger
0f91d8a4f6 Go with stdlyCaps 2003-09-04 14:44:55 +00:00
Marcus Boerger
1cf91a7ac5 Extensions that do opcode hooking must provide the removed functions/macros
themselves now.
2003-08-21 00:10:49 +00:00
Marcus Boerger
42cf1f8b97 Fix refcounting for $var = $obj[$idx] = $value; 2003-08-09 19:24:11 +00:00
Marcus Boerger
0040355af8 - Reduce number of c-functions/macros involved in function invocation
- Unify names of remaining c-function/macro names
2003-08-07 22:43:01 +00:00
Marcus Boerger
47a80fee58 Switch to use zend_call_function() what shortens spl code 2003-08-07 22:19:50 +00:00
Marcus Boerger
28dd8fcff2 Update documentation in source, reflection and docu itself 2003-08-04 23:00:57 +00:00
Marcus Boerger
b099670127 - Unset support for spl_array_access by method set($index)
- Parameter names for array interface methods
2003-08-04 21:56:05 +00:00
Marcus Boerger
c80e7329bd Fix comment 2003-08-04 20:25:41 +00:00
Marcus Boerger
91a882478f Unset support for spl_array 2003-08-04 20:17:53 +00:00
Marcus Boerger
d7b37fa96b Update due to Zeev's latest engine changes 2003-07-24 20:28:15 +00:00
Marcus Boerger
a68cb5129c - Add class spl_array_it which is the iterator returned by spl_array.
This class can also be used alone without spl_array but doesn't allow
  recursive foreach usage.
- Fix protos to new proto system.
- Add test for spl_array_it.
2003-07-20 01:22:03 +00:00
Marcus Boerger
173cb1436f Add class spl_array which is an array wrapper 2003-07-19 20:54:22 +00:00
Marcus Boerger
aa9bde9a34 Make array write stuff work again correct and fix tests 2003-07-16 10:41:43 +00:00
Marcus Boerger
15097151f4 Update and remove parts no longer possible 2003-07-16 09:48:36 +00:00
Marcus Boerger
f9477577a4 Fix array writing 2003-06-22 14:55:44 +00:00
Marcus Boerger
3a75403bac License update 2003-06-12 19:30:54 +00:00