Antony Dovgal
80d7ac0e9e
there is no %v in 5.2
2006-05-18 21:24:04 +00:00
Marcus Boerger
7a5240e846
- MFH missing bits and pieces of the partial sync with head
...
# This time i added:
# ZEND_FE_RESET_VARIABLE
# ZEND_FE_RESET_REFERENCE
# and dapted parser,compiler,executor,interfaces to handle these flags
# their purpose is to be able to pass whetehr foreach is done by ref to
# the current() handler so that it can error out in case it is not capable
# to comply to the requested return signature/protocol/semantics (weyp).
2006-05-11 21:07:39 +00:00
Marcus Boerger
637a40423c
- MFH as discussed
...
. zend_exception_get_default() -> zend_exception_get_default(TSRMLS_D)
. zend_get_error_exception() -> zend_get_error_exception(TSRMLS_D)
. added E_RECOVERABLE_ERROR
. added ZEND_TOSTRING_FUNC_NAME
. added __tostring function cache to zend_class_entry
. added ZEND_NAMED_ME
. modified ZEND_ME_MAPPING to support method flags
. added ZEND_MN
. method entries now use prefix "zim_" instead of "zif_"
. drop EG(ze1_compatibility_mode)
. changed cast handler, now without (int should_free):
typedef int (*zend_object_cast_t)(zval *readobj, zval *retval, int type TSRMLS_DC);
. changed get_iterator, now receives whether value is by ref:
zend_object_iterator *(*get_iterator)(zend_class_entry *ce, zval *object, int by_ref TSRMLS_DC);
. added zend_objects_store_add_ref_by_handle
. added zend_objects_store_del_ref_by_handle
. convert_to_explicit_type(pzv, type)
2006-05-09 23:53:23 +00:00
Marcus Boerger
6c89fd2d63
- MFH Coverity fix 49
2006-04-10 22:49:29 +00:00
Marcus Boerger
5a69b29082
- Warning fixes by Steph
2006-02-26 10:57:00 +00:00
Andi Gutmans
61e93ccfe8
- Update copyright notices to 2006
2006-01-04 23:53:05 +00:00
Marcus Boerger
48d9adc3f0
- MFH Allow uncached global functions
2005-10-03 12:36:36 +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
Marcus Boerger
64c7645009
#where has my bracket been gone?
2004-01-17 16:50:54 +00:00
Marcus Boerger
3edabd01bb
Fix inheritance rule for interface Traversable
2004-01-17 16:38:25 +00:00
foobar
ccfc46b0aa
- Happy new year and PHP 5 for rest of the files too..
...
# Should the LICENSE and Zend/LICENSE dates be updated too?
2004-01-08 17:33:29 +00:00
Marcus Boerger
4dba05d9cc
Add new interface ArrayAccess to use objects as Arrays
2003-11-24 20:57:54 +00:00
Marcus Boerger
c978cc2ae8
Use correct order
2003-11-18 00:18:48 +00:00
Marcus Boerger
b29834a5be
Use correct macro/function
2003-11-18 00:01:34 +00:00
Marcus Boerger
39df192788
Correct destruction
2003-11-17 00:36:41 +00:00
Marcus Boerger
58246412a7
IteratorAggregate::getIterator() cannot return anythingy else than objects
2003-11-13 08:23:49 +00:00
Marcus Boerger
da6d68d919
Little iterator improvement: ability to store index in iterator
2003-11-10 16:13:38 +00:00
Marcus Boerger
f9d13098e7
Prevent some SEGV's when Exceptions are thorown inside iterators.
2003-11-04 22:07:59 +00:00
Marcus Boerger
851a02e87f
Give some freedon to c iterators but not in userspace.
2003-10-28 18:46:37 +00:00
Marcus Boerger
8abb3bd448
Impement userspace iterator interfaces and tests. See tests for details
...
on the names.
2003-10-22 20:04:48 +00:00