Dmitry Stogov
be4c37919b
Added test
2006-05-15 16:44:54 +00:00
Dmitry Stogov
963c7fa016
Optimized require_once/include_once (eliminated fopen() on second usage)
2006-05-15 15:31:27 +00:00
Dmitry Stogov
14cad8fdc3
Optimized shutdown sequence to iterate only over modified ini directives
2006-05-15 14:52:35 +00:00
Marcus Boerger
0c40fb7ef2
- Readd that E_RECOVERABLE_ERROR, dropping it is a bad idea
2006-05-14 18:50:02 +00:00
Marcus Boerger
3fd2c5e217
- Do not include E_RECOVERABLE_ERROR to the default mode E_ALL
2006-05-14 18:45:10 +00:00
Marcus Boerger
d45250a058
- MFH code layout for __toString() use in parameter parsing api
2006-05-13 10:37:45 +00:00
Derick Rethans
07d0f0cf01
- MFH: Tests for BC breaking changes.
2006-05-12 10:02:31 +00:00
Sebastian Bergmann
ec7b8e2b1c
Bump version.
2006-05-12 05:36:09 +00:00
Marcus Boerger
b3c3c6de14
- Missing __toString() pieces
2006-05-12 00:21:00 +00:00
Antony Dovgal
7412202c43
no need to destroy the zval here
2006-05-11 22:41:37 +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
b636a534c1
- Drop second superflous zval_ptr_dtor in string arg parsing
2006-05-11 21:03:14 +00:00
Antony Dovgal
085e0fc51f
fix segfault when passing objects where strings are expected
2006-05-11 15:10:36 +00:00
Antony Dovgal
bc4e9efef7
add new test
2006-05-11 14:18:34 +00:00
Marcus Boerger
38ff4bba17
- MFH Add missing ZEND_API declarations
2006-05-11 08:11:45 +00:00
Antony Dovgal
37ed02b199
change it to be consistent with the others
2006-05-10 22:57:50 +00:00
Marcus Boerger
288da2242e
- Fix tests
2006-05-10 22:46:16 +00:00
Marcus Boerger
d76c516176
- Missing __ToString() sync
2006-05-10 21:13:22 +00:00
Marcus Boerger
f16bdce284
- Enforece rule of disallowing throw in __toString()
2006-05-10 21:12:48 +00:00
Marcus Boerger
0dacd6d5c0
- ze1 cleanup (bjori) /thx
2006-05-10 19:41:34 +00:00
Marcus Boerger
848c5c7695
- Missing __tostring() conversion snippets
2006-05-10 19:36:47 +00:00
Antony Dovgal
f7eec29f84
fix tests
2006-05-10 14:04:52 +00:00
Antony Dovgal
8a03fc5ef3
add missing parts of E_RECOVERABLE merge
2006-05-10 14:04:18 +00:00
Antony Dovgal
0f93228cb7
add missing ZEND_API to the implementation
2006-05-10 14:00:36 +00:00
Antony Dovgal
4f37b2f354
nuke extra semi-colon
2006-05-10 13:49:27 +00:00
Marcus Boerger
edfe649c6b
- MFH Constructors in interfaces
2006-05-10 01:23:55 +00:00
Marcus Boerger
43217a3225
i- ZE1_compat tests are no longer necessary
2006-05-10 00:41:23 +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
Dmitry Stogov
ab5a8b2ae3
Fixed possible crash in highlight_string() (proper place)
2006-05-02 15:49:26 +00:00
Dmitry Stogov
8d1cc50067
Fixed ossible crash in highlight_string().
2006-05-02 07:19:00 +00:00
Antony Dovgal
32872b157e
there is no %v in 5_1
2006-04-20 22:49:20 +00:00
Dmitry Stogov
bdef85af21
Fixed bug #37138 (__autoload tries to load callback'ed self and parent)
2006-04-20 07:30:38 +00:00
Antony Dovgal
29254a477d
fix #37062 (compile failure on ARM architecture)
...
if ARM is big endian - don't define IEEE_LITTLE_ENDIAN
2006-04-15 12:54:14 +00:00
Antony Dovgal
f233299f96
make it consistent with the other ones =)
2006-04-14 21:06:11 +00:00
Dmitry Stogov
67abcb58c3
Fixed bug #36513 (comment will be outputed in last line)
2006-04-13 13:48:28 +00:00
Dmitry Stogov
851801a795
Fixed test
2006-04-13 06:04:28 +00:00
Dmitry Stogov
f23d01ad4d
Fixed bug #37046 (foreach breaks static scope)
2006-04-12 11:37:50 +00:00
Dmitry Stogov
6e762e648c
Fixed bug #37002 (Have to quote literals in INI when concatenating with vars)
2006-04-12 09:51:54 +00:00
Marcus Boerger
6ea747d8e4
- MFH Iterators from overloaded objects are allowed to not have keys...
2006-04-10 23:16:29 +00:00
Marcus Boerger
6c89fd2d63
- MFH Coverity fix 49
2006-04-10 22:49:29 +00:00
Dmitry Stogov
64e7be9b5a
Fixed possible crash in interactive mode
2006-04-10 12:26:53 +00:00
Dmitry Stogov
6624682dff
MFH:
...
- Allowed storing NULL pointers in HashTable
- Optimized zend_hash_reverse_apply()
2006-04-07 10:06:21 +00:00
Andrei Zmievski
d288f66c7c
Fix a bug that would not fill in the fifth argument to preg_replace()
...
properly, if the variable was not declared previously.
2006-04-06 21:10:45 +00:00
Antony Dovgal
e25a1dccac
fix #36944 (strncmp & strncasecmp do not return false on negative string length)
2006-04-05 11:36:13 +00:00
Antony Dovgal
0fab5aacce
fix compilation on AIX
2006-03-30 21:39:01 +00:00
Antony Dovgal
59b8592c8c
fix bug #36898 (__set() leaks in classes extending internal ones)
...
Added:
ZEND_API void zend_object_std_init(zend_object *object, zend_class_entry *ce TSRMLS_DC)
ZEND_API void zend_object_std_dtor(zend_object *object TSRMLS_DC)
to initialize and destroy zend_object structs
2006-03-29 14:28:43 +00:00
Antony Dovgal
1fa58ec003
initialize bucket #0 with nulls (normally it shouldn't be used at all, but if it is - we don't want any memory issues, do we?)
2006-03-28 21:58:01 +00:00
Antony Dovgal
cfbcb43d63
fix #36897 (debug_print_backtrace() doesn't return void but array(0) {})
2006-03-28 19:43:21 +00:00
Antony Dovgal
a93bd9d493
fix #36878 (error messages are printed even though an exception has been thrown)
2006-03-27 22:07:38 +00:00
Dmitry Stogov
cde55c9223
Fixed meory leak in case of unknown pragma
2006-03-27 08:09:18 +00:00