2006-08-09 Andrei Zmievski * zend_API.c: Make params API sound less like Raymond Babbitt. 2006-08-08 Andrei Zmievski * zend_API.c: Adjust zend_get_unified_string_type() to give correct types. * zend_unicode.h: Should be slightly faster to use U16_NEXT here. 2006-08-08 Antony Dovgal * zend.c zend_API.h zend_exceptions.c zend_hash.c zend_language_scanner.l zend_unicode.c zend_unicode.h: implement zend_unicode_to_string() and zend_string_to_unicode() part #1 (of 2) * zend_operators.h zend_operators.h: there is no realiable way to detect memrchr() presence because of a mess in glibc so let's use our own implementation * zend_vm_def.h zend_vm_execute.h: %s -> %v ce names are in Unicode 2006-08-08 Derick Rethans * (PHP_5_2) zend_operators.h: - Added some docs here so that nobody needs to figure it out once more. 2006-08-08 Antony Dovgal * zend_operators.h zend_operators.h: add zend_memrchr() 2006-08-08 Marcus Boerger * zend_vm_def.h zend_vm_def.h zend_vm_execute.h zend_vm_execute.h: - Speling 2006-08-07 Marcus Boerger * (PHP_5_2) zend_vm_def.h zend_vm_execute.h: - MFH Fixed Bug #38064 ignored constructor visibility * zend_vm_def.h zend_vm_execute.h: - Fixed Bug #38064 ignored constructor visibility 2006-08-07 Dmitry Stogov * zend.h zend.h zend_objects_API.c zend_objects_API.c zend_objects_API.h zend_objects_API.h zend_vm_def.h zend_vm_def.h zend_vm_execute.h zend_vm_execute.h tests/bug38287.phpt: Fixed bug #38287 (static variables mess up global vars) * tests/bug38287.phpt tests/bug38287.phpt: file bug38287.phpt was initially added on branch PHP_5_2. 2006-08-04 Andrei Zmievski * zend_API.c zend_API.h: Add add_assoc_zstr_ex() and related. * zend_API.h: Add macros to be able to initialize/return values based on zstr. * zend_API.c: One fewer walks needed. * zend_API.c: Scan through all the modifiers at once, setting flags. * zend_API.c: Fix '&' handling. (patch by Rob R) 2006-08-04 Derick Rethans * acinclude.m4: - MFB: Bison 2.3 is working as well. * (PHP_5_1) acinclude.m4 acinclude.m4: - There is a 2.3 now as well. 2006-08-03 Antony Dovgal * zend_vm_def.h zend_vm_def.h zend_vm_execute.h zend_vm_execute.h: make it consistent * zend_vm_def.h zend_vm_execute.h: improve error message 2006-08-02 Andrei Zmievski * zend_operators.c: Make string comparison functions conver to unicode or printable strings depending on unicode.semantics and do the right thing. * zend_API.c: Add '&' modifier (for 's' type) that will apply the specified converter during conversion of Unicode strings. 2006-08-01 Andrei Zmievski * zend_unicode.c: Fix off-by-one error in zend_case_fold_string(). * zend_operators.c: Rewrite IS_LONG, IS_DOUBLE, and IS_RESOURCE to IS_UNICODE conversion to use custom functions instead of u_sprintf() which is terribly slow at the moment (for numbers). Now long-to-unicode is only 8% slower than long-to-binary and double-to-unicode is actually 6% faster. 2006-07-27 Dmitry Stogov * zend_vm_def.h zend_vm_def.h zend_vm_execute.h zend_vm_execute.h tests/bug38234.phpt: Fixed bug #38234 (Exception in __clone makes memory leak) * tests/bug38234.phpt tests/bug38234.phpt: file bug38234.phpt was initially added on branch PHP_5_2. * zend_vm_def.h zend_vm_execute.h: Fixed mess with semantic of zend_normalize_identifier()'s return value (SUCCESS != 1) * zend_builtin_functions.c zend_builtin_functions.c tests/bug38047.phpt: Fixed bug #38047 ("file" and "line" sometimes not set in backtrace from inside error handler) * tests/bug38047.phpt tests/bug38047.phpt: file bug38047.phpt was initially added on branch PHP_5_2. 2006-07-26 Dmitry Stogov * zend_object_handlers.c zend_object_handlers.c zend_objects.c zend_objects.c tests/bug38220.phpt: Fixed bug #38220 (Crash on some object operations) * tests/bug38220.phpt tests/bug38220.phpt: file bug38220.phpt was initially added on branch PHP_5_2. * zend_vm_def.h zend_vm_def.h zend_vm_execute.h zend_vm_execute.h tests/bug38211.phpt: Fixed bug #38211 (variable name and cookie name match breaks script execution) * tests/bug38211.phpt tests/bug38211.phpt: file bug38211.phpt was initially added on branch PHP_5_2. * zend_alloc.c zend_alloc.c: Fixed crash of DEBUG version on SPARC CPU because of unaligned pointers. 2006-07-25 Dmitry Stogov * zend_alloc.c zend_alloc.c zend_alloc.h zend_alloc.h: Changed memory_get_usage() and memory_get_peak_usage(). Optional boolean argument allows get memory size allocated by emalloc() (by default) or real size of memory allocated from system. 2006-07-25 Derick Rethans * zend_API.c: - MFB: Fixed typo * (PHP_5_2) zend_API.c: - Fixed typo. 2006-07-25 Marcus Boerger * zend_compile.c: - Fix off by one copy'n'paste error 2006-07-24 Marcus Boerger * (PHP_5_2) zend_compile.c: - MFH Yet another problematic case with mangled properties * zend_compile.c: - Yet another rproblematic case with mangled properties * (PHP_5_2) zend.c zend_builtin_functions.c zend_compile.c zend_compile.h zend_object_handlers.c zend_object_handlers.h zend_vm_def.h zend_vm_execute.h: - Better fix for #34505 and related, drop zend_unmangle_property_name_ex() * zend.c zend_builtin_functions.c zend_compile.c zend_compile.h zend_object_handlers.c zend_object_handlers.h zend_vm_def.h zend_vm_execute.h: - Fix for #34505 and repated (improved version of what is in 5.2, 5.1) 2006-07-24 Dmitry Stogov * zend_alloc.c zend_alloc.c: Fixed memory leaks detection * tests/bug38146.phpt: Test for bug #38146 (Cannot use array returned from foo::__get('bar') in write context) * tests/bug38146.phpt tests/bug38146.phpt: file bug38146.phpt was initially added on branch PHP_5_2. 2006-07-22 Jani Taskinen * (PHP_5_2) zend_API.c: MFH:- Fixed bug #38183 (disable_classes=Foobar causes disabled class to be called Foo) * zend_API.c: - Fixed bug #38183 (disable_classes=Foobar causes disabled class to be called Foo) 2006-07-21 Andrei Zmievski * zend.h: It's not legacy - it's binary. 2006-07-21 Dmitry Stogov * zend_vm_def.h zend_vm_execute.h tests/bug37144.phpt: MTH: Fixed bug #37144 (PHP craches trying to assign into property of dead object) * zend_object_handlers.c zend_object_handlers.c tests/bug32660.phpt tests/bug32660.phpt tests/bug37667.phpt tests/bug37667.phpt: Changed error message (E_ERROR -> E_NOTICE) in case of indirect modification of overloaded property. * zend_API.c zend_API.c zend_exceptions.c zend_exceptions.c zend_vm_def.h zend_vm_def.h zend_vm_execute.h zend_vm_execute.h: Fixed wrong "type" argument to read_property() handler 2006-07-20 Marcus Boerger * zend_API.c zend_API.h: - Add new unicode functions: add_u_assoc_*[_ex]() which allow to add values using a unicode key. 2006-07-20 Andrei Zmievski * zend_API.h zend_execute_API.c: Rewrite array_map() to use params API with fci cache and mark it with U. 2006-07-20 Antony Dovgal * zend_builtin_functions.c: no need to return bool and false in the same time =) 2006-07-19 Andrei Zmievski * zend_API.c: Fix usage of 'return_null' option in parameter parsing. * zend_API.c: Make 't' and 'T' use zstr for storage type. * zend_API.c: Add '+' varargs specifier that requires at least one arg. 2006-07-19 Jani Taskinen * (PHP_5_2) README.ZEND_MM: Missing file.. 2006-07-19 Dmitry Stogov * (PHP_5_2) zend_vm_def.h zend_vm_execute.h tests/bug37144.phpt: Fixed bug #37144 (PHP crashes trying to assign into property of dead object) 2006-07-19 Antony Dovgal * zend.c: MFB: fetch tsrm_ls, don't use it uninitialized * (PHP_5_2) zend.c: fetch tsrm_ls, don't use it uninitialized 2006-07-19 Andrei Zmievski * zend_API.c: Initialize some vars. 2006-07-18 Andrei Zmievski * zend_API.c: Implement varargs parameter parsing. See README for examples. * zend_API.c zend_builtin_functions.c zend_compile.h zend_execute.c zend_execute.h zend_execute_API.c zend_language_scanner.l zend_operators.c zend_unicode.c: Callable checks and class fetching and lookup should support identifer normalization now. (Marcus, Andrei) 2006-07-18 Andi Gutmans * README.ZEND_MM: - Capture Dmitry's Zend MM email for later reference 2006-07-18 Antony Dovgal * (PHP_5_2) zend_alloc.c: MFH: fix build on platforms without mremap() * zend_alloc.c: fix build on platforms without mremap() 2006-07-18 Dmitry Stogov * Zend.m4 Zend.m4 zend.c zend.c zend_API.h zend_API.h zend_alloc.c zend_alloc.c zend_alloc.h zend_alloc.h zend_compile.c zend_compile.c zend_config.w32.h zend_config.w32.h zend_execute.c zend_execute.c zend_fast_cache.h zend_fast_cache.h zend_globals.h zend_globals.h zend_globals_macros.h zend_globals_macros.h zend_mm.c zend_mm.c zend_mm.h zend_mm.h zend_operators.c zend_operators.c: New memory manager 2006-07-18 Antony Dovgal * zend_operators.c zend_operators.c: fix logic * (PHP_5_2) zend_operators.c: MFH: fix DVAL_TO_LVAL() on AIX with old gcc * zend_operators.c: fix DVAL_TO_LVAL() macro, which doesn't seem to work correctly on AIX & GCC < 3.5 2006-07-17 Andrei Zmievski * zend_API.c zend_API.h zend_execute_API.c: - Upgrade usort() to support Unicode (including valid Unicode callbacks). - Make usort() use 'f' specifier for function call info/cache. 2006-07-15 Marcus Boerger * zend_builtin_functions.c: - Provide defined value for autoload flag 2006-07-14 Antony Dovgal * zend_unicode.h: add USTR_VAL() access zstr value 2006-07-13 Andrei Zmievski * zend_API.c: - Let the caller output a warning instead of having zend_get_unified_string_type() do it. - Mark a few more functions are Unicode compatible. 2006-07-12 Antony Dovgal * (PHP_5_2) zend_vm_def.h zend_vm_execute.h: MFH: init variables and get rid of annoying warnings * zend_vm_def.h zend_vm_execute.h: get rid of more "might be uninitialized" warnings * zend_vm_def.h zend_vm_execute.h: make sure return_value_used is always initialized * zend.c: initialize EG(exit_status) 2006-07-12 Andrei Zmievski * zend_operators.c: No need for TSRMLS_FETCH(). 2006-07-12 Antony Dovgal * (PHP_5_2) zend.c: MFH: initialize EG(exit_status) in ZTS mode 2006-07-12 Andrei Zmievski * zend_operators.c zend_unicode.c zend_unicode.h: Implement convert_to_unicode_with_converter() and adjust zval_* APIs. * zend.c zend.h zend_vm_def.h zend_vm_execute.h: Commit Sara's patch for supporting filesystem enccoding in include/require. 2006-07-12 Antony Dovgal * zend_API.c: fix argument parsing utilities test before commit? 2006-07-12 Dmitry Stogov * zend_execute_API.c tests/bug36759.phpt: Fixed bug #36759 (Objects destructors are invoked in wrong order when script is finished) * (PHP_5_2) zend_execute_API.c tests/bug36759.phpt tests/bug36759.phpt: Fixed bug #36759 (Objects destructors are invoked in wrong order when script is finished). 2006-07-12 Sara Golemon * zend_API.c: Fix typo/Syntax error 2006-07-11 Andrei Zmievski * zend_API.c: Remove unused 'y' specifier. * zend_API.c: Rename to a more explanatory macro. 2006-07-11 Antony Dovgal * (PHP_5_2) tests/bug28444.phpt tests/bug30791.phpt: there is no Unicode in 5_2 2006-07-11 Dmitry Stogov * zend_vm_def.h zend_vm_def.h zend_vm_execute.h zend_vm_execute.h: Fixed memory leak in case of exception in iterator callbacks in 'foreach(new Iterator()...' (spl/tests/iterator_047.phpt). 2006-07-10 Andrei Zmievski * zend_API.c: Optimize zero-arg case for parameter parsing. No more need for manual checks. * zend_unicode.h: Include uclean.h header. 2006-07-10 Antony Dovgal * zend_unicode.c: nuke unused variable 2006-07-10 Marcus Boerger * (PHP_5_2) zend_exceptions.c zend_execute.c zend_object_handlers.c tests/bug37667.phpt: - MFH Fixed Bug #37667 (Object is not added into array returned by __get) * tests/bug37667.phpt tests/bug37667.phpt: - Add missing test name prefix * zend_execute.c: - Drop unused var * tests/bug37667.phpt: - Add new test * zend_exceptions.c zend_execute.c zend_object_handlers.c: - Fix issues with __get() returning arrays (might need to be revised) 2006-07-09 Marcus Boerger * zend_builtin_functions.c zend_builtin_functions.c tests/bug37811.phpt tests/bug37811.phpt tests/bug37811.phpt: - Fixed Bug #37811 define not using toString on objects * (PHP_5_2) zend_operators.c: - MFH Fix issue with comparing objects with objects * zend_operators.c: - Reword comment * zend_operators.c: - Fix issue with comparing objects with objects * zend_operators.c: - Drop dead code * tests/objects_015.phpt tests/objects_015.phpt: - Add new test * (PHP_5_2) zend_operators.c: - MFH: . Fix comparision edgecases involving objects (Tony, Marcus) . Use ZVAL_LONG() where appropriate * zend_operators.c: - Fix comparision edgecases involving objects (Tony, Marcus) - Use ZVAL_LONG() where appropriate * tests/abstract-static.phpt: - Fix test 2006-07-06 Antony Dovgal * tests/016.phpt: add test * tests/016.phpt tests/016.phpt: file 016.phpt was initially added on branch PHP_5_2. 2006-07-06 Sara Golemon * (PHP_5_1) zend_vm_def.h zend_vm_def.h zend_vm_execute.h zend_vm_execute.h: MFH (def.h rev:1.121, execute.h rev:1.120) Silence FETCH_OBJ_IS / undefined notices * zend_vm_def.h zend_vm_execute.h: Silence FETCH_OBJ_IS / undefined notices 2006-07-05 Antony Dovgal * (PHP_5_2) zend_object_handlers.c: oops.. fix copy/paste typo * zend_object_handlers.c zend_object_handlers.h: export zend_std_get_constructor() * zend_object_handlers.c: improve error messages 2006-06-28 Andrei Zmievski * zend.c: Rename unicode_semantics to unicode.semantics. 2006-06-27 Antony Dovgal * (PHP_5_2) tests/001.phpt tests/002.phpt tests/003.phpt tests/004.phpt tests/005.phpt tests/006.phpt tests/007.phpt tests/008.phpt tests/009.phpt tests/010.phpt tests/011.phpt tests/012.phpt tests/013.phpt tests/014.inc tests/014.phpt tests/015.phpt: add new tests * tests/001.phpt tests/001.phpt tests/002.phpt tests/002.phpt tests/003.phpt tests/003.phpt tests/004.phpt tests/004.phpt tests/005.phpt tests/005.phpt tests/006.phpt tests/006.phpt tests/007.phpt tests/007.phpt tests/008.phpt tests/008.phpt tests/009.phpt tests/009.phpt tests/010.phpt tests/010.phpt tests/011.phpt tests/011.phpt tests/012.phpt tests/012.phpt tests/013.phpt tests/013.phpt tests/014.inc tests/014.inc tests/014.phpt tests/014.phpt tests/015.phpt tests/015.phpt: add new tests * zend_builtin_functions.c: no need to throw E_ERROR here, E_WARNING is more than enough 2006-06-22 Antony Dovgal * zend_modules.h zend_modules.h: fix typo 2006-06-21 Andrei Zmievski * zend_constants.c zend_unicode.c zend_unicode.h: Implement user conversion error handler support. Works as normal error handler, in that it can return false to make the default one take over. Handler signature is: user_handler($direction, $encoding, $char_byte, $offset, $message) Also removed support for using exceptions in default error handler. 2006-06-20 Andrei Zmievski * zend.c zend_execute_API.c zend_globals.h: Implement unicode_set_error_handler() / unicode_restore_error_handler(). The error handler doesn't do anything yet. (vaporware) * zend_builtin_functions.c: Plug memory leak in set_exception_handler(). 2006-06-20 Antony Dovgal * zend_API.c: init variables * (PHP_5_2) tests/objects_013.phpt: fix test * tests/objects_013.phpt tests/objects_014.phpt: fix tests 2006-06-19 Antony Dovgal * (PHP_5_2) tests/bug33732.phpt tests/objects_014.phpt: fix tests 2006-06-15 Dmitry Stogov * (PHP_5_2) zend_API.c zend_API.h zend_modules.h: MFH: Added automatic module globals management. 2006-06-13 Marcus Boerger * zend_exceptions.c: - Arginfo fix (Hannes) 2006-06-13 Dmitry Stogov * zend_API.c zend_API.h zend_modules.h: Added automatic module globals management. 2006-06-13 Stefan Esser * zend.c zend_compile.c zend_compile.h zend_execute_API.c zend_vm_def.h zend_vm_execute.h: Added hook for compile_string() 2006-06-12 Marcus Boerger * zend.c: - Fix memleaks (by nuno) 2006-06-12 Andrei Zmievski * zend.h zend_language_scanner.l: Be more explicit. 2006-06-11 Ilia Alshanetsky * (PHP_5_2) zend.c zend.h: Make zend_print_zval_r_ex() use the write callback function. 2006-06-08 Dmitry Stogov * zend_vm_def.h zend_vm_def.h zend_vm_execute.h zend_vm_execute.h tests/bug37707.phpt tests/bug37707.phpt: Proper fix for bug #37707 ("clone $x" must call __clone() enven if result value is not used) * zend_vm_def.h zend_vm_def.h zend_vm_execute.h zend_vm_execute.h zend_vm_gen.php zend_vm_gen.php: Wrap "wrong" unreachable code with "#if 0" 2006-06-07 Ilia Alshanetsky * zend_vm_def.h zend_vm_execute.h tests/bug37707.phpt: MFB: Fixed bug #37707 clone without assigning leaks memory * tests/bug37707.phpt tests/bug37707.phpt: file bug37707.phpt was initially added on branch PHP_5_2. * (PHP_5_2) zend_vm_def.h zend_vm_execute.h: Fixed bug #37707 clone without assigning leaks memory 2006-06-07 Marcus Boerger * (PHP_5_2) zend_API.c zend_API.h: - MFH zend_fcall_info_*() and parameter parsing option 'f' * zend_vm_execute.h zend_vm_execute.h: - Regenerated after zend_vm_def.h change * (PHP_5_2) zend_API.c zend_compile.c zend_vm_def.h: - MFH Fix issue with interfaces being inherited multiple times * zend_API.c zend_compile.c zend_compile.c zend_vm_def.h: - Fix issue with interfaces being inherited multiple times 2006-06-06 Antony Dovgal * zend_compile.c zend_compile.c: revert by Andi's request * tests/bug33732.phpt tests/bug33732.phpt: fix test * (PHP_5_2) zend_compile.c tests/objects_012.phpt tests/objects_013.phpt tests/objects_014.phpt: MFH: do not allow to implement the same interface twice add tests * zend_compile.c tests/objects_012.phpt tests/objects_012.phpt tests/objects_013.phpt tests/objects_013.phpt tests/objects_014.phpt tests/objects_014.phpt: do not allow to implement the same interface twice add tests 2006-06-05 Zeev Suraski * (PHP_5_2) zend.c zend_API.c zend_execute.c zend_execute.h zend_execute_API.c zend_globals.h zend_objects.c zend_operators.c zend_vm_def.h zend_vm_execute.h tests/bug30332.phpt tests/bug31828.phpt tests/bug32080.phpt tests/bug32852.phpt tests/bug33243.phpt tests/bug34712.phpt tests/bug34767.phpt: Restore ZE1 compatibility mode (Zend Engine part - the modules patches will follow later today) 2006-06-04 Stanislav Malyshev * (PHP_5_2) ZendTS.dsp: fix .dsp build 2006-06-04 Marcus Boerger * zend_API.c zend_API.c: - Fix function flag check 2006-06-03 Marcus Boerger * zend.c: - Revert - Needs further discussing * zend.c: - Printable is supposed to return nativ/unicode depending on ini setting 2006-06-02 Sebastian Bergmann * (PHP_5_1) acinclude.m4: MFH: Add bison 2.2 to the list of supported versions. 2006-06-02 Dmitry Stogov * (BEFORE_NEW_OUTPUT_API) zend.c: SAPI globals are destroied at this point and reporting errors about memory leaks can cause crash. * (PHP_5_2) zend.c: SAPI globals are destroied at this point and reporting errors about memory leaks can cause crash. 2006-06-01 Antony Dovgal * (PHP_5_2) tests/offset_array.phpt tests/offset_bool.phpt tests/offset_long.phpt tests/offset_null.phpt tests/offset_object.phpt tests/offset_string.phpt: add new tests * tests/offset_array.phpt tests/offset_array.phpt tests/offset_bool.phpt tests/offset_bool.phpt tests/offset_long.phpt tests/offset_long.phpt tests/offset_null.phpt tests/offset_null.phpt tests/offset_object.phpt tests/offset_object.phpt tests/offset_string.phpt tests/offset_string.phpt: add new tests * (PHP_5_2) zend_execute.c: MFH: throw a warning when using invalid offset types with strings * zend_execute.c: throw a warning when using invalid offset types with strings 2006-05-31 Antony Dovgal * zend_interfaces.c: fix error message in Unicode mode * tests/objects_010.phpt tests/objects_011.phpt tests/strict_001.phpt tests/strict_002.phpt: add more tests * tests/objects_010.phpt tests/objects_010.phpt tests/objects_011.phpt tests/objects_011.phpt tests/strict_001.phpt tests/strict_001.phpt tests/strict_002.phpt tests/strict_002.phpt: file objects_010.phpt was initially added on branch PHP_5_2. * tests/objects_001.phpt tests/objects_002.phpt tests/objects_003.phpt tests/objects_004.phpt tests/objects_005.phpt tests/objects_006.phpt tests/objects_007.phpt tests/objects_008.phpt tests/objects_009.phpt: add tests for new E_FATALs * tests/objects_002.phpt tests/objects_002.phpt tests/objects_003.phpt tests/objects_003.phpt tests/objects_004.phpt tests/objects_004.phpt tests/objects_005.phpt tests/objects_005.phpt tests/objects_006.phpt tests/objects_006.phpt tests/objects_007.phpt tests/objects_007.phpt tests/objects_008.phpt tests/objects_008.phpt tests/objects_009.phpt tests/objects_009.phpt: file objects_002.phpt was initially added on branch PHP_5_2. 2006-05-31 Dmitry Stogov * zend_builtin_functions.c zend_builtin_functions.c zend_execute.h zend_execute.h: Keeping consistent arg_stack during arguments freeing (Exception from destructor may use inconsistent arg_stack for backtrace). * zend_objects.c zend_objects.c zend_objects_API.c zend_objects_API.c: Support for nested exceptions and fatal errors in destructors 2006-05-30 Marcus Boerger * zend_compile.c: - Fix test logic * (PHP_5_2) zend_compile.c: - Switch back to old severities and still keep bugfix for * zend_compile.c: - WS 2006-05-29 Antony Dovgal * (PHP_5_2) zend_compile.c: MFH: there is no ce at this point, revert this line to its previous state * zend_compile.c: there is no ce at this point, revert this line to its previous state See also: http://news.php.net/php.zend-engine.cvs/4931 2006-05-29 Marcus Boerger * (PHP_5_2) zend_compile.c zend_object_handlers.c tests/bug37632.phpt: - MFH Bugfix #37632 (Protected method access problem) * zend_compile.c zend_object_handlers.c tests/bug37632.phpt tests/bug37632.phpt: - Bugfix #37632 (Protected method access problem) 2006-05-28 Johannes Schlüter * zend_vm_def.h zend_vm_execute.h: - Fix printf modifier 2006-05-27 Marcus Boerger * (PHP_5_2) zend_API.c: - Revert until there is an ok for the full patch * zend_API.c zend_API.h: - Take care of refcounting in zend_fcall_info_*() functions - Add docu * zend_API.c zend_API.c zend_compile.c zend_object_handlers.c: - WS * (PHP_5_2) zend_API.c zend_compile.h zend_object_handlers.c tests/bug37212.phpt: - MFH: Fix bug #37212 (Access to protected property of common base class) By adding "zend_class_entry *ce" to struct zend_property_info; 2006-05-27 Johannes Schlüter * (PHP_5_2) zend_compile.c: - MFH Fix #37614 (Class name lowercased in error message) 2006-05-27 Marcus Boerger * (PHP_5_2) zend_execute.c: - WS/CS 2006-05-27 Johannes Schlüter * zend_compile.c: - Fix #37614 (Class name lowercased in error message) 2006-05-27 Marcus Boerger * zend_API.c zend_compile.h zend_object_handlers.c tests/bug37212.phpt tests/bug37212.phpt: - Fix bug #37212 (Access to protected property of common base class) By adding "zend_class_entry *ce" to struct zend_property_info; * tests/abstract-static.phpt: - There are no abstract static methods in classes, use interfaces 2006-05-26 Sara Golemon * zend_API.c: Fix ZTS build, call with TSRMLS_CC not DC 2006-05-26 Marcus Boerger * (PHP_5_2) zend_execute.c tests/bug33996.phpt: - MFH Sync error messages and simplify error message generation code * zend_execute.c tests/bug33996.phpt: - Sync error messages and simplify error message generation code 2006-05-25 Marcus Boerger * zend_API.c zend_API.h: - Ease writing functions that deal with php function 'pointers' 2006-05-25 Antony Dovgal * zend_API.c zend_API.h zend_operators.c: MFB: fix error messages when converting objects to other types * (PHP_5_2) zend_API.c zend_API.h zend_operators.c: fix error messages when converting objects to other types add new function MFB will follow soon 2006-05-25 Dmitry Stogov * zend_execute_API.c zend_execute_API.c: Fixed bug #37558 (timeout functionality doesn't work after a second PHP starup on the same thread). (p dot desarnaud at wanadoo dot fr) 2006-05-23 Marcus Boerger * (PHP_5_2) zend_API.c: - MFH Handle NULL in C argument parsing correct * zend_API.c: - Handle NULL in C argument parsing correct * (PHP_5_2) zend_API.c: - Fix double error raising issue 2006-05-23 Sebastian Bergmann * (PHP_5_2) acinclude.m4: MFH: Add bison 2.2 to the list of supported versions. * acinclude.m4: Add bison 2.2 to the list of supported versions. 2006-05-21 Marcus Boerger * (PHP_5_2) zend_vm_def.h zend_vm_execute.h zend_vm_gen.php: - MFH Sync vm generation with head - Regenerate vm * zend_API.c: - Improve error messages (missing unicode todo) * zend_execute.c: - Improve error messages (part 2) * zend_execute.c tests/array_type_hint_001.phpt tests/bug33996.phpt: - Improved error messages 2006-05-20 Marcus Boerger * zend_objects.c: - Z_LVAL is a long so use %ld 2006-05-20 Antony Dovgal * zend_objects_API.c zend_objects_API.h: fix the typo before everybody forgets about it 2006-05-20 Marcus Boerger * zend_objects.c: - Better error message in case of an exception from a dtor while an exception is already pending * zend_vm_def.h zend_vm_execute.h zend_vm_gen.php: - Fix warning * zend_objects.c: - Do not use the protection at this place, we would need another object shutdown state (e.g. destructed == 2). That's probbaly too much. * zend_objects.c zend_objects_API.c zend_objects_API.h: - Destructors must not be called twice * tests/catch_004.phpt: - Should be static and be called (comitted wrong version) * tests/catch_002.phpt tests/catch_002.phpt tests/catch_003.phpt tests/catch_003.phpt tests/catch_004.phpt tests/catch_004.phpt: - Add new tests 2006-05-19 Dmitry Stogov * zend_ini.c zend_ini.c: Fixed random crashes in ZTS mode becouse of uninitialized EG(modified_ini_directives). * zend.c zend.c zend.h zend.h zend_extensions.h zend_extensions.h zend_globals.h zend_globals.h: Optimized zend_try/zend_catch macroses (eliminated memcpy()) 2006-05-18 Antony Dovgal * (PHP_5_2) zend_exceptions.c zend_interfaces.c: there is no %v in 5.2 2006-05-18 Marcus Boerger * zend_object_handlers.c: - Fix error message in unicode mode 2006-05-17 Antony Dovgal * (PHP_5_2) tests/error_reporting01.phpt tests/error_reporting05.phpt tests/error_reporting06.phpt tests/error_reporting07.phpt tests/error_reporting10.phpt: fix tests 2006-05-17 Marcus Boerger * (PHP_5_2) zend_errors.h: - Fix oversight and drop E_STRICT in 5.x series 2006-05-17 Antony Dovgal * zend_object_handlers.h zend_object_handlers.h: change argument name, it should be "object" not "property" 2006-05-17 Ilia Alshanetsky * zend.c: Fixed bug #35512 (Lack of read permission on main script results in E_WARNING rather then E_ERROR). * (PHP_5_2) zend.c: Fixed bug #35512 (Lack of read permission on main script results in E_WARNING rather then E_ERROR). 2006-05-15 Dmitry Stogov * (PHP_5_2) tests/bug37144.phpt: Added test * (PHP_5_1) tests/bug37144.phpt: -** empty log message *** * tests/bug37144.phpt tests/bug37144.phpt: Added test * tests/bug37144.phpt tests/bug37144.phpt: file bug37144.phpt was initially added on branch PHP_5_1. * zend_execute.c zend_execute.c zend_vm_def.h zend_vm_def.h zend_vm_execute.h zend_vm_execute.h: Optimized require_once/include_once (eliminated fopen() on second usage) * zend_globals.h zend_ini.c: Optimized request shutdown sequence to iterate only over modified ini directives * (PHP_5_2) zend_globals.h zend_ini.c: Optimized shutdown sequence to iterate only over modified ini directives 2006-05-14 Marcus Boerger * (PHP_5_2) zend_errors.h: - Readd that E_RECOVERABLE_ERROR, dropping it is a bad idea * (PHP_5_2) zend_errors.h: - Do not include E_RECOVERABLE_ERROR to the default mode E_ALL 2006-05-13 Marcus Boerger * (PHP_5_2) zend_API.c: - MFH code layout for __toString() use in parameter parsing api * zend_API.c: - Support __tostring() in argument parsing 2006-05-12 Derick Rethans * tests/abstract-static.phpt tests/abstract-static.phpt tests/abstract-static.phpt tests/object-null.phpt tests/object-null.phpt tests/object-null.phpt: 1.1.4; - Added tests for BC breaking changes. 2006-05-12 Sebastian Bergmann * (PHP_5_2) zend.h: Bump version. 2006-05-12 Marcus Boerger * (PHP_5_2) zend.c zend_API.c: - Missing __toString() pieces 2006-05-11 Antony Dovgal * (PHP_5_2) zend.c: no need to destroy the zval here 2006-05-11 Marcus Boerger * zend_vm_execute.h: - Drop a few superflous if conditions (now the generated file) * zend_interfaces.c zend_vm_def.h: - Drop a few superflous if conditions * (PHP_5_2) zend_compile.c zend_compile.h zend_execute.c zend_interfaces.c zend_language_parser.y zend_vm_def.h zend_vm_execute.h: - MFH missing bits and pieces of the partial sync with head * (PHP_5_2) zend_API.c: - Drop second superflous zval_ptr_dtor in string arg parsing 2006-05-11 Andrei Zmievski * zend_compile.h zend_language_scanner.l: Adjust API for scanning INI files as UTF-8. 2006-05-11 Antony Dovgal * (PHP_5_2) zend_API.c: fix segfault when passing objects where strings are expected * tests/objects_001.phpt tests/objects_001.phpt: file objects_001.phpt was initially added on branch PHP_5_2. 2006-05-10 Antony Dovgal * (PHP_5_2) tests/bug33771.phpt: change it to be consistent with the others 2006-05-10 Marcus Boerger * (PHP_5_2) tests/array_type_hint_001.phpt tests/bug26166.phpt tests/bug26166.phpt tests/bug28444.phpt tests/bug30791.phpt tests/bug33771.phpt tests/bug33996.phpt: - Fix tests * (PHP_5_2) zend.c: - Missing __ToString() sync * zend_object_handlers.c zend_object_handlers.c: - Enforece rule of disallowing throw in __toString() * zend_compile.c: - MFB missing initialization * (PHP_5_2) zend_execute.c: - ze1 cleanup (bjori) /thx * (PHP_5_2) zend.c zend_API.c: - Missing __tostring() conversion snippets 2006-05-10 Antony Dovgal * (PHP_5_2) tests/error_reporting01.phpt tests/error_reporting02.phpt tests/error_reporting03.phpt tests/error_reporting04.phpt tests/error_reporting05.phpt tests/error_reporting06.phpt tests/error_reporting07.phpt tests/error_reporting08.phpt tests/error_reporting09.phpt tests/error_reporting10.phpt: fix tests * (PHP_5_2) zend.c zend_constants.c: add missing parts of E_RECOVERABLE merge * (PHP_5_2) zend_compile.c: add missing ZEND_API to the implementation * (PHP_5_2) zend_API.c: nuke extra semi-colon 2006-05-10 Marcus Boerger * (PHP_5_2) tests/bug27641.phpt tests/bug30332.phpt tests/bug31828.phpt tests/bug32080.phpt tests/bug32852.phpt tests/bug33243.phpt tests/bug34712.phpt tests/bug34767.phpt: i- ZE1_compat tests are no longer necessary 2006-05-09 Marcus Boerger * (PHP_5_2) zend.c zend.h zend_API.c zend_API.h zend_arg_defs.c zend_builtin_functions.c zend_compile.c zend_compile.h zend_errors.h zend_exceptions.c zend_exceptions.h zend_execute.c zend_execute.h zend_execute_API.c zend_extensions.c zend_extensions.h zend_globals.h zend_globals_macros.h zend_interfaces.c zend_iterators.c zend_iterators.h zend_modules.h zend_object_handlers.c zend_object_handlers.h zend_objects.c zend_objects_API.c zend_objects_API.h zend_operators.c zend_operators.h zend_vm_def.h zend_vm_execute.h: - 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) * zend_API.h: - Methods have flags * zend_exceptions.c zend_exceptions.h: - zend_spprintf() is actually used elsewhere in the engine * zend.h zend_exceptions.c: - MFB WS/CS, zend_spprintf() must not be exported * zend_builtin_functions.c: - MFB Missing check * zend_API.h zend_execute.c zend_iterators.c zend_object_handlers.c: - MFB: WS 2006-05-05 Dmitry Stogov * zend_execute.c zend_vm_def.h zend_vm_execute.h tests/bug37251.phpt: Fixed bug #37251 (deadlock when custom error handler is to catch array type hint error). 2006-05-04 Andrei Zmievski * zend_language_scanner.l: Don't use fixed size buffer in zend_uchar_from_uname(); * zend.h: Oops again. * zend.c: Oops. * zend.c zend.h zend_API.h zend_globals.h zend_unicode.c zend_unicode.h: Add a global ASCII connverter, macros to return single codepoints (UCHAR32), and zend_unicode_to_ascii() function. 2006-05-02 Dmitry Stogov * zend_compile.c zend_compile.c: Fixed possible crash in highlight_string() (proper place) * (PHP_5_1) zend_compile.c: Fixed ossible crash in highlight_string(). 2006-04-21 Andrei Zmievski * zend_objects_API.c: Happy, Pierre? * zend_objects_API.c zend_objects_API.h: Add: * zend_objects_store_add_ref_by_handle() * zend_objects_store_del_ref_by_handle() * zend_objects_store_get_object_by_handle() 2006-04-20 Antony Dovgal * (PHP_5_1) zend_execute_API.c: there is no %v in 5_1 2006-04-20 Andrei Zmievski * zend.c zend_globals.h zend_operators.c zend_unicode.c zend_unicode.h: Move to refcounted implementation of collators. 2006-04-20 Dmitry Stogov * tests/bug37138.phpt: Test added * (PHP_5_1) zend_API.c tests/bug37138.phpt tests/bug37138.phpt: Fixed bug #37138 (__autoload tries to load callback'ed self and parent) 2006-04-19 Dmitry Stogov * zend.c: Fixed cleanup dependent on uninitialized value 2006-04-18 Sara Golemon * zend_API.c: Fix ZTS build 2006-04-18 Antony Dovgal * zend_API.c: binary strings exist only in unicode mode 2006-04-15 Antony Dovgal * zend_strtod.c: MF51: fix #37062 (compile failure on ARM architecture) * (PHP_5_1) zend_strtod.c: fix #37062 (compile failure on ARM architecture) if ARM is big endian - don't define IEEE_LITTLE_ENDIAN 2006-04-14 Antony Dovgal * tests/bug34873.phpt: make it consistent with the other ones * (PHP_5_1) tests/bug34873.phpt: make it consistent with the other ones =) 2006-04-13 Dmitry Stogov * zend_language_scanner.l zend_language_scanner.l tests/bug36513.phpt: Fixed bug #36513 (comment will be outputed in last line) * tests/bug36513.phpt tests/bug36513.phpt: file bug36513.phpt was initially added on branch PHP_5_1. * tests/bug37046.phpt tests/bug37046.phpt: Fixed test 2006-04-12 Dmitry Stogov * zend_vm_def.h zend_vm_def.h zend_vm_execute.h zend_vm_execute.h tests/bug37046.phpt: Fixed bug #37046 (foreach breaks static scope) * tests/bug37046.phpt tests/bug37046.phpt: file bug37046.phpt was initially added on branch PHP_5_1. * zend_ini_parser.y zend_ini_parser.y: Fixed bug #37002 (Have to quote literals in INI when concatenating with vars) 2006-04-10 Marcus Boerger * (PHP_5_1) zend_vm_def.h zend_vm_execute.h: - MFH Iterators from overloaded objects are allowed to not have keys... * zend_vm_def.h zend_vm_execute.h: - Iterators from overloaded objects are allowed to not have keys... * zend_interfaces.c: - Allowing to pass in ce as NULL has its charme, too * zend_interfaces.c: - 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 Dmitry Stogov * zend_opcode.c zend_opcode.c: Fixed possible crash in interactive mode 2006-04-07 Dmitry Stogov * (PHP_5_1) zend_hash.c: MFH: - Allowed storing NULL pointers in HashTable - Optimized zend_hash_reverse_apply() * zend_hash.c: - Fixed storing NULL pointers in HashTable - Optimized zend_hash_reverse_apply() 2006-04-06 Andrei Zmievski * zend_arg_defs.c zend_modules.h: MFB * (PHP_5_1) zend_arg_defs.c zend_modules.h: 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 Sara Golemon * zend_API.h: Overload 'duplicate' arg as applied to: add_((next_)?index|assoc)_(ascii|rt)_stringl?(_ex)? and (ZVAL|RETVAL|RETURN)_(ASCII|RT|U)_STRINGL? Duplicate keeps traditional value of '1', additional bit '2' tells unicode mode conversion to automatically free the original string in order to avoid leaks due to conversion on a value otherwise being "given" to the engine. /* Uses s as-is for non-unicode, or frees s after converting to unicode */ { char *s = estrdup("Hello"); ZVAL_RT_STRING(pzv, s, ZSTR_AUTOFREE); } /* Duplicates for non-unicode, or converts (but doesn't free original) */ { char *s = "Hello"; ZVAL_RT_STRING(pzv, s, ZSTR_DUPLICATE); } /* Uses as-is for non-unicode, or converts (but doesn't free original) */ { char *s = "Hello"; zval zv; ZVAL_RT_STRING(&zv, s, 0); /* use zv for some temporary purpose */ /* It's now necessary to manually free this generated value */ if (UG(unicode)) { zval_dtor(&zv); } } 2006-04-05 Antony Dovgal * zend_builtin_functions.c: MF51: fix #36944 (strncmp & strncasecmp do not return false on negative string length) * (PHP_5_1) zend_builtin_functions.c: fix #36944 (strncmp & strncasecmp do not return false on negative string length) 2006-03-31 Sara Golemon * zend.c zend_globals.h: Add API hooks and unicode.filesystem_encoding for handling unicode conversions of filename entries. Normal path conversions will simply use this converter, Certain other protocols (such as http) which specify a required character set (utf8), may override the conversion by defining a path_encode() and/or path_decode() wrapper ops method. 2006-03-30 Antony Dovgal * zend.c zend.h: MF51: fix compilation on AIX * (PHP_5_1) zend.c zend.h: fix compilation on AIX 2006-03-30 Dmitry Stogov * zend_objects.c: Unicode support 2006-03-29 Antony Dovgal * zend_objects.c zend_objects.h: MF51: 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) * (PHP_5_1) zend_objects.c zend_objects.h: 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-28 Antony Dovgal * zend_objects_API.c: initialize bucket #0 with nulls * (PHP_5_1) zend_objects_API.c: 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?) * zend_builtin_functions.c: MF51: fix #36897 (debug_print_backtrace() doesn't return void but array(0) {}) * (PHP_5_1) zend_builtin_functions.c: fix #36897 (debug_print_backtrace() doesn't return void but array(0) {}) 2006-03-28 Andrei Zmievski * zend_operators.c: Note 2006-03-27 Antony Dovgal * zend.c: MF51: fix #36878 (error messages are printed even though an exception has been thrown) * (PHP_5_1) zend.c: fix #36878 (error messages are printed even though an exception has been thrown) 2006-03-27 Andrei Zmievski * zend_unicode.c: Add UTODO. * zend_compile.c: Mark with UTODO instead of FIXME. 2006-03-27 Dmitry Stogov * tests/bug30791.phpt: Fixed test * zend_compile.c: Fixed bug during function/class declaration in unicode mode * zend_compile.c zend_compile.c: Fixed meory leak in case of unknown pragma * zend_unicode.c: Better but incomplete fix for bug #36840 * zend_exceptions.c zend_unicode.c zend_unicode.h: Fixed ZTS build 2006-03-27 Andrei Zmievski * zend_exceptions.c: Fix a case where we could have an encoding conversion exception thrown while building exception trace args! * zend_exceptions.c: Use (unsigned char) to make sure that only the control chars are replaced with '?'; * zend_unicode.c: Skip BOM for UTF-16/32 converters when setting subst char. * zend_API.c: Some functions may want to accept only Unicode or binary strings, without having auto-conversion from the other string type. Add 'U' and 'S' specifiers for this. Also, remove traces of 'native' strings. 2006-03-26 Andrei Zmievski * zend.c zend_globals.h zend_operators.c zend_unicode.c zend_unicode.h: Implement to-Unicode conversion error behavior. Note the adjusted APIs. * zend.c zend_constants.c zend_globals.h zend_unicode.c zend_unicode.h: - Remove unicode.from_error_mode and unicode.from_subst_char from INI settings. * Add unicode_set_error_mode() and unicode_set_subst_char() functions to manipulate these global settings. 2006-03-24 Andrei Zmievski * zend_unicode.c: Hey! Don't remove vim modeline completely! :) 2006-03-24 Antony Dovgal * zend_unicode.c: whitespaces -> tabs no other changes done 2006-03-24 Dmitry Stogov * zend_unicode.c: Fixed bug #36840 (Memory leak if cast operator throws an exception that is caught) 2006-03-24 Andrei Zmievski * zend_default_classes.c zend_operators.c zend_unicode.c zend_unicode.h: Support warning/exceptions flag for conversion errors. 2006-03-23 Andrei Zmievski * zend.c zend_constants.c zend_globals.h zend_unicode.c zend_unicode.h: Update conversion error behavior and add some new modes. * zend_language_parser.y zend_language_scanner.l: Add (binary) cast operator. * zend_operators.c: Allow conversion between binary/Unicode strings (based on runtime_encoding setting). 2006-03-23 Marcus Boerger * (PHP_5_1) zend_API.c: - Initialized callable_name if present * zend_API.c: - Initialize callable_name if requested 2006-03-23 Antony Dovgal * zend_compile.c zend_compile.h: implement correct fix for segfault on 64bit platform 2006-03-22 Antony Dovgal * zend_compile.c: don't segfault on 64bit platforms 2006-03-20 Dmitry Stogov * zend_compile.c zend_compile.c: Removed unreachable code 2006-03-17 Dmitry Stogov * zend_execute_API.c: FIX: For some reason SIGSEGV handler wasn't set, but was restoring. Now all SIGS EGV related code is commented. * (PHP_5_1) zend_execute_API.c: FIX: For some reason SIGSEGV handler wasn't set, but was restoring. Now all SIGSEGV related code is commented. * zend.c zend.c zend_API.c zend_API.c: Optimization of module unloading (temporary modules can be only in the end) 2006-03-16 Dmitry Stogov * zend_vm_def.h zend_vm_execute.h: typo * zend_compile.c: ws * zend_compile.c zend_compile.h zend_language_parser.y zend_vm_def.h zend_vm_execute.h: Return "new" by reference now throws an E_STRICT error * zend_errors.h tests/bug33771.phpt tests/error_reporting01.phpt tests/error_reporting05.phpt tests/error_reporting06.phpt tests/error_reporting07.phpt tests/error_reporting10.phpt: Added E_STRICT to E_ALL * zend.c zend_compile.c zend_globals.h: Dropped allow_call_time_pass_reference, the error is maden E_STRICT. * zend.c zend_API.c zend_execute.c zend_execute.h zend_execute_API.c zend_globals.h zend_objects.c zend_operators.c zend_vm_def.h zend_vm_execute.h tests/bug30332.phpt tests/bug31828.phpt tests/bug32080.phpt tests/bug32852.phpt tests/bug33243.phpt tests/bug34712.phpt tests/bug34767.phpt: Dropped zend.ze1_compatibility_mode * tests/unset_cv05.phpt: Dropped register_long_arrays, added E_CORE for all dropped setting 2006-03-15 Dmitry Stogov * (PHP_5_1) zend_constants.c: Fix: incorrect string length passed * zend_strtod.c: Fixed zend_u_strtod() that returned uninitialized value in case of empty string * zend_vm_def.h zend_vm_execute.h: Added E_STRICT warning in case of calling non-static method from incompatible context (this feature is staying for BC with php-4) * (PHP_5_1) zend_vm_def.h zend_vm_execute.h: Added E_STRICT warning in case of calling non-static method from incompatible context (this feature is staying for BC with php-4). * zend_compile.c zend_compile.c zend_constants.c zend_constants.c zend_constants.h zend_constants.h: Eliminated run-time constant fetching for TRUE, FALSE and NULL * zend_vm_def.h zend_vm_def.h zend_vm_execute.h zend_vm_execute.h zend_vm_gen.php zend_vm_gen.php: Fixed "zend_vm_gen.php --without-specializer" 2006-03-14 Dmitry Stogov * zend.h zend.h zend_config.w32.h zend_config.w32.h tests/bug36568.phpt: Fixed bug #36568 (memory_limit setting on win32 has no effect) * tests/bug36568.phpt tests/bug36568.phpt: file bug36568.phpt was initially added on branch PHP_5_1. * zend_constants.c zend_constants.c zend_execute_API.c zend_execute_API.c zend_opcode.c zend_opcode.c: zend_hash_apply() doesn't use ZEND_HASH_APPLY_... macros * zend_compile.c zend_language_scanner.l tests/jump01.phpt tests/jump02.phpt tests/jump03.phpt tests/jump04.phpt tests/jump05.phpt tests/jump06.phpt tests/jump07.phpt tests/jump08.phpt tests/jump09.phpt tests/jump10.phpt: "jump" -> "goto" 2006-03-13 Dmitry Stogov * zend_compile.h zend_compile.h zend_constants.c zend_constants.c zend_execute_API.c zend_execute_API.c zend_opcode.c zend_opcode.c: Optimized cleanup loops on request shutdown 2006-03-12 Ilia Alshanetsky * zend_language_parser.y: MFB51: As per agreement during PDM, remove the E_STRICT deprecation notice from "var". * (PHP_5_1) zend_language_parser.y: As per agreement during PDM, remove the E_STRICT deprecation notice from "var". 2006-03-10 Dmitry Stogov * zend_vm_def.h zend_vm_execute.h: Fixed compilation error (Rob) * zend_API.h: Added RETVAL_EMPTRY_TEXT() and RETURN_EMPTY_TEXT() macroses * zend_compile.c zend_compile.h zend_execute_API.c zend_globals.h zend_language_parser.y zend_language_scanner.l zend_opcode.c zend_vm_def.h zend_vm_execute.h zend_vm_opcodes.h tests/jump01.phpt tests/jump02.phpt tests/jump03.phpt tests/jump04.phpt tests/jump05.phpt tests/jump06.phpt tests/jump07.phpt tests/jump08.phpt tests/jump09.phpt tests/jump10.phpt: Implemented "jump label" operator (limited "goto") 2006-03-07 Dmitry Stogov * zend_compile.c zend_compile.h zend_globals.h zend_language_parser.y tests/break_label01.phpt tests/break_label02.phpt tests/break_label03.phpt tests/break_label04.phpt tests/break_label05.phpt tests/break_label06.phpt tests/break_label07.phpt tests/break_label08.inc tests/break_label08.phpt tests/break_label09.phpt tests/break_label10.phpt tests/break_label11.phpt: Reverted "break label" 2006-03-07 Andrei Zmievski * zend_builtin_functions.c: -** empty log message *** 2006-03-07 Derick Rethans * zend_builtin_functions.c: - Make this compile again 2006-03-07 Andrei Zmievski * zend_builtin_functions.c: Mark some functions as Unicode-safe and adjust UTODO notices for others. 2006-03-07 Sara Golemon * tests/unset_cv06.phpt: Remove register_globals regression test for Pierre 2006-03-06 Dmitry Stogov * bench.php: fixed compatibility with ext/hash * (PHP_5_1) bench.php: Fixed compatibility with ext/hash 2006-03-05 Marcus Boerger * zend_compile.c: - Fix comment, too * zend_compile.c: - Fix Bug #34019 by popular demand: Implementing interface with a __construct method strange behaviour * zend_API.c zend_API.c zend_API.h zend_API.h: - Add missing function for completeness 2006-03-04 Johannes Schlüter * zend_API.h: - Separate ZEND_METHOD from ZEND_FUNCTION 2006-03-03 Andrei Zmievski * zend_execute.h: Clean up after Marcus. 2006-03-03 Marcus Boerger * zend_API.c zend_execute.h zend_execute_API.c: - Make unicode handling portable (noted by andrei) * zend_API.c: - As expected (but told otherwise) unicode strings indeed need to be terminated by two \0. * zend_exceptions.c: - Fix issue with uncaught exceptions in unicode mode * tests/break_label10.phpt tests/break_label11.phpt: - Add new tests 2006-03-03 Dmitry Stogov * zend_vm_execute.h: Regenerated * zend_compile.c zend_compile.h zend_globals.h zend_language_parser.y tests/break_label01.phpt tests/break_label02.phpt tests/break_label03.phpt tests/break_label04.phpt tests/break_label05.phpt tests/break_label06.phpt tests/break_label07.phpt tests/break_label08.inc tests/break_label08.phpt tests/break_label09.phpt: Added support for "continue" and "break" operators with labels. Each loop or switch statement can be marked by label and then it is possible to write "break