Sebastian Bergmann
4223aa4d5e
MFH: Bump year.
2007-01-01 09:36:18 +00:00
Dmitry Stogov
4480c5eb5d
Fixed bug #39825 (foreach produces memory error)
2006-12-25 19:23:03 +00:00
Dmitry Stogov
e57a60698b
Fixed bug #39944 (References broken)
2006-12-25 14:16:27 +00:00
Dmitry Stogov
7ff822ee49
Fixed bug #39304 (Segmentation fault with list unpacking of string offset)
2006-10-30 11:05:00 +00:00
Dmitry Stogov
9875fe44e2
Fixed bug #39017 (foreach(($obj = new myClass) as $v); echo $obj; segfaults)
2006-10-03 09:05:14 +00:00
Dmitry Stogov
9dcdfd993f
Fixed memory leak (Nuno)
2006-10-03 07:30:46 +00:00
Dmitry Stogov
c3272ab020
Fixed bug #38808 ("maybe ref" issue for current() and others)
2006-09-26 10:30:51 +00:00
Dmitry Stogov
cd6537ed6d
Fixed bugs #34065 and #38623 (throw in foreach/switch causes memory leaks)
2006-09-19 21:36:54 +00:00
Dmitry Stogov
8982cc0472
Small optimization of ZEND_INIT_ARRAY/ZEND_ADD_ARRAY_ELEMENT. (Nuno, Dmitry)
2006-09-18 14:23:52 +00:00
Dmitry Stogov
afb8af1f5f
Reverted last Ilia's patch (for bug #38579 ).
...
The patch didn't fix the bug and made new one.
2006-09-06 06:37:42 +00:00
Ilia Alshanetsky
229137cad4
Fixed bug #38579 require_once/include_once optimization causes files to be
...
loaded multiple times.
2006-09-05 15:50:07 +00:00
Dmitry Stogov
87eaaf494b
Removed unreachable handlers
2006-09-04 13:58:54 +00:00
Marcus Boerger
05206b42d8
- Speling
2006-08-08 00:40:19 +00:00
Marcus Boerger
c1c2a0d294
- MFH Fixed Bug #38064 ignored constructor visibility
2006-08-07 23:24:33 +00:00
Dmitry Stogov
f5543a428d
Fixed bug #38287 (static variables mess up global vars)
2006-08-07 15:15:22 +00:00
Antony Dovgal
bc8f1bc4f0
make it consistent
2006-08-03 10:57:41 +00:00
Antony Dovgal
c173c26b64
MFH: improve error message
2006-08-03 10:53:15 +00:00
Dmitry Stogov
a98e5c674f
Fixed bug #38234 (Exception in __clone makes memory leak)
2006-07-27 10:44:03 +00:00
Dmitry Stogov
e447baafa1
Fixed bug #38211 (variable name and cookie name match breaks script execution)
2006-07-26 09:24:26 +00:00
Marcus Boerger
519ed8e13b
- Better fix for #34505 and related, drop zend_unmangle_property_name_ex()
2006-07-24 17:58:32 +00:00
Dmitry Stogov
9a98904ddd
Fixed wrong "type" argument to read_property() handler
2006-07-21 08:39:30 +00:00
Dmitry Stogov
f7c99da2fe
Fixed bug #37144 (PHP crashes trying to assign into property of dead object)
2006-07-19 09:55:19 +00:00
Antony Dovgal
a9469060e5
MFH: init variables and get rid of annoying warnings
2006-07-12 21:17:30 +00:00
Dmitry Stogov
631a00a0a0
Fixed memory leak in case of exception in iterator callbacks in 'foreach(new Iterator()...' (spl/tests/iterator_047.phpt).
2006-07-11 08:52:28 +00:00
Sara Golemon
86bbbbdce4
MFH (def.h rev:1.121, execute.h rev:1.120)
...
Silence FETCH_OBJ_IS / undefined notices
2006-07-06 15:32:07 +00:00
Stefan Esser
7bbf35320d
MFH: Added hook for compile_string()
2006-06-13 12:57:48 +00:00
Dmitry Stogov
2a7d16f8fd
Proper fix for bug #37707 ("clone $x" must call __clone() enven if result value is not used)
2006-06-08 08:56:27 +00:00
Dmitry Stogov
6e24feb80d
Wrap "wrong" unreachable code with "#if 0"
2006-06-08 08:37:51 +00:00
Ilia Alshanetsky
8d4bb9ca74
Fixed bug #37707 clone without assigning leaks memory
...
# Based on a patch by Nuno
2006-06-07 13:41:49 +00:00
Marcus Boerger
5cdefd07cd
- MFH Fix issue with interfaces being inherited multiple times
2006-06-07 09:21:06 +00:00
Zeev Suraski
51d495850a
Restore ZE1 compatibility mode (Zend Engine part - the modules patches
...
will follow later today)
2006-06-05 13:58:52 +00:00
Marcus Boerger
1be624e7ba
- MFH Sync vm generation with head
...
- Regenerate vm
2006-05-21 18:00:14 +00:00
Dmitry Stogov
963c7fa016
Optimized require_once/include_once (eliminated fopen() on second usage)
2006-05-15 15:31:27 +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
Dmitry Stogov
f23d01ad4d
Fixed bug #37046 (foreach breaks static scope)
2006-04-12 11:37:50 +00:00
Marcus Boerger
6ea747d8e4
- MFH Iterators from overloaded objects are allowed to not have keys...
2006-04-10 23:16:29 +00:00
Dmitry Stogov
6f76b17079
Added E_STRICT warning in case of calling non-static method from incompatible context (this feature is staying for BC with php-4).
2006-03-15 11:12:45 +00:00
Dmitry Stogov
056bea6de7
Fixed "zend_vm_gen.php --without-specializer"
2006-03-15 08:06:28 +00:00
Marcus Boerger
5a69b29082
- Warning fixes by Steph
2006-02-26 10:57:00 +00:00
Marcus Boerger
941b0651dc
- MFH: Function deprecation flag
2006-02-25 18:25:45 +00:00
Dmitry Stogov
38409e944c
Fixed bug #36303 (foreach on error_zval produces segfault)
2006-02-06 11:45:56 +00:00
Andi Gutmans
61e93ccfe8
- Update copyright notices to 2006
2006-01-04 23:53:05 +00:00
Dmitry Stogov
02aad34c43
Fixed bug #35470 (Assigning global using variable name from array doesn't function)
2005-11-30 10:09:37 +00:00
Dmitry Stogov
14594953d2
Fixed bug #35393 (changing static protected members from outside the class, one more reference issue)
2005-11-28 14:33:03 +00:00
Dmitry Stogov
681405fc4a
Fixed bug #35017 (Exception thrown in error handler may cause unexpected behavior)
2005-10-31 19:25:14 +00:00
Dmitry Stogov
844cb82c45
$id:$ tatgs are removed from generated files to avoid committing of Zend/zend_vm_opcodes.h without real changes.
2005-10-28 06:05:57 +00:00
Dmitry Stogov
8212034254
Fixed SIGSEGV
2005-10-27 19:25:52 +00:00
Dmitry Stogov
ad1f706fda
Removed unnecesary local variable
2005-10-20 11:31:41 +00:00
Dmitry Stogov
c095e20ca8
Fixed bug #31177 (menory leaks and corruption because of incorrect refcounting)
2005-10-20 07:23:26 +00:00