Sebastian Bergmann
3717df72ae
Bump year.
2007-01-01 09:29:37 +00:00
Marcus Boerger
9103d6b5fe
- Implement ezstrndup()
2006-12-22 00:56:59 +00:00
Marcus Boerger
7acd10fb2c
- Make custom serializing work with zstr (as discussed with andrei)
2006-12-22 00:29:11 +00:00
Marcus Boerger
063fe11d25
-Serialization doesn't work with unicode data
2006-12-21 22:54:20 +00:00
Marcus Boerger
dcc6a0e511
- Changed macro once again
2006-12-19 22:27:15 +00:00
Marcus Boerger
745b01794f
- Fix macro param order
2006-12-19 22:20:16 +00:00
Marcus Boerger
0caec1601a
- Implement zend_u_call_method to deal with situations where the function
...
name type is already known
2006-12-19 22:14:35 +00:00
Antony Dovgal
dd9165d60a
fix #38624 (Strange warning when incrementing an object property and exception is thrown from __get method)
2006-08-28 10:25:49 +00:00
Antony Dovgal
3a4028c39e
fix error message in Unicode mode
2006-05-31 18:59:42 +00:00
Marcus Boerger
623df04877
- Drop a few superflous if conditions
2006-05-11 21:11:54 +00:00
Marcus Boerger
b967992116
- Allowing to pass in ce as NULL has its charme, too
2006-04-10 22:49:09 +00:00
Marcus Boerger
36b3b8ef63
- Fix coverity issue 49: ce might be forwarded as NULL without an exception
...
being thrown in case the Zend API is being used wrong (in custom exts for
instance).
2006-04-10 22:37:55 +00:00
Dmitry Stogov
e3b7f3fd0d
Unicode support: MS Visual C compatibility
2006-02-26 11:57:14 +00:00
Dmitry Stogov
0f1209ab3d
Portable unicode string API:
...
- use the same type (int) for zval.value.usr.len and zval.value.str.len
- use union "zstr" as char*/UChar* mixture instead of void*
- Z_UNISTR() and Z_UNILEN() no longer check for Z_TYPE()
- nuke int32_t from ZE (not finisned)
2006-02-21 20:12:43 +00:00
Dmitry Stogov
2e5d0a3a9d
WS
2006-02-21 08:00:39 +00:00
Dmitry Stogov
b424a32610
Preparation for portable string API (use macroses to access zval).
2006-02-20 19:03:43 +00:00
Dmitry Stogov
09ca61c125
Made server wide switch for unicode on/off (according to PDM).
2006-02-13 10:23:59 +00:00
Marcus Boerger
50b243babb
- Missed one to be public
2006-02-06 01:58:45 +00:00
Marcus Boerger
1630242347
- The next get_iterator() call is supposed to do the check itself
2006-02-06 01:40:42 +00:00
Marcus Boerger
dcf5862221
- Make all default implementations public
2006-02-06 00:49:33 +00:00
Marcus Boerger
2fba438e06
- Need one more thing exported
2006-02-05 23:42:53 +00:00
Marcus Boerger
c8d78028b5
- Disallow foreach($v as &$ref) when $v is an object that implements
...
interface Iterator. The signature of Iterator::current() doesn't allow
that. Maybe ppl also want IteratorByReference or similar. Unfortunatley
this comes with an API change but there is no easier way.
2006-02-05 23:26:55 +00:00
Dmitry Stogov
227295a4f1
Unicode stuff is changed according to decision maden on PDM.
...
Now IS_BINRAY data type is removed and IS_STRING starts behave as IS_BINARY in unicode mode. IS_STRING is incompatible with IS_UNICODE, so ALL functions should be improved to support unicode mode.
2006-01-17 12:18:53 +00:00
Andi Gutmans
5de7cc3194
- Update copyright notices to 2006
2006-01-04 23:54:12 +00:00
Marcus Boerger
12dbad3a5c
- Fix warnings
2005-10-05 18:57:40 +00:00
Marcus Boerger
4d09d0b819
- Allow uncached global functions too
2005-10-03 12:34:57 +00:00
Dmitry Stogov
48def9a6ad
Unicode support
2005-08-17 13:10:04 +00:00
Dmitry Stogov
21c1109e0c
Unicode support
2005-08-12 11:29:33 +00:00
Andrei Zmievski
b80cb7bd2f
Unicode support
2005-08-11 23:35:03 +00:00
foobar
916815b779
Bump up the year
2005-08-03 13:30:58 +00:00
Marcus Boerger
897090c01e
- Dont't warn in case an exception is pending - in this case it'd superflous
2005-07-19 19:46:21 +00:00
Marcus Boerger
d77945ef78
- Just return FAILURE & allow NULL without emmidiate error
2005-04-05 09:16:27 +00:00
Andi Gutmans
e9dbeabd38
- Fix typos
2005-03-19 01:11:48 +00:00
Marcus Boerger
c6e39471de
- More exact signatures (even though complete correct not possible atm)
2005-03-13 16:34:37 +00:00
Marcus Boerger
757da1eed5
- New Interface Serializeable
...
- Change signature of unserialize() callback to ease inheritance and
support code reuse of handlers
2005-03-07 22:23:14 +00:00
Marcus Boerger
0b3ed59fb6
- Support statuc methods/functions
2005-03-01 23:41:49 +00:00
Marcus Boerger
72c1baa9d8
- Allow to convert Traversable into Aggregate
2005-02-23 01:09:10 +00:00
Marcus Boerger
82193adc09
- Bugfix #26229 (getIterator() segfaults when it returns arrays or scalars)
2005-01-25 10:40:51 +00:00
Marcus Boerger
5206e9c9cf
- Allow getIterator() to fail
2005-01-24 19:18:37 +00:00
Marcus Boerger
01af2c3f73
Fix warnign
2004-09-27 08:33:11 +00:00
Stanislav Malyshev
46455027fc
quick fix for #29382
2004-07-26 17:12:17 +00:00
Marcus Boerger
11ce65aeaf
- Fix warnings
2004-04-27 15:47:55 +00:00
Marcus Boerger
e1cd098925
- no unneccessary retval initialization
...
- new c-level iterator handler invalidate_current that is optionally
used to clear internal caching like in implementation of Iterator
2004-04-27 15:38:07 +00:00
Marcus Boerger
c5abb9b24c
Capture potential problem by error message
2004-04-25 11:25:25 +00:00
Stanislav Malyshev
1cc4a69bbe
preserve ZEND_API in definition
2004-03-28 14:32:32 +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
Zeev Suraski
e7e0f7d4b4
- Check return-by-reference bit when implementing interface prototypes
...
- Add infrastructure for built-in functions to hint whether they
return by reference or not. It is NOT currently used for anything,
except for interface prototypes (you can use it to request that the
function that implements your prototype returns by reference or
doesn't return by reference).
For downwards compatibility - by default, interface prototypes are
agnostic as to whether the function that implements them returns
by reference or not. Use ZEND_BEGIN_ARG_INFO_EX() with
ZEND_RETURN_VALUE/ZEND_RETURN_REFERENCE to change that.
- Fix ArrayAccess::getOffset() to conduct additional checks.
If your getOffset() should work with multidimensional arrays - it
must return by reference.
2004-02-12 13:49:55 +00:00
Marcus Boerger
6186617571
- Export struct zend_user_iterator
...
- Ad 'it' to function prefix to prevent naming clashes
- Export zend_user_it_free_current
2004-01-26 22:33:52 +00:00