| 6e8aa09 |
|
27-Mar-2013 |
Dmitry Stogov <dmitry@zend.com> |
Merge branch 'PHP-5.4' into PHP-5.5 * PHP-5.4: Fixed bug #64529 (Ran out of opcode space) Conflicts: NEWS Zend/zend_execute_API.c Zend/zend_language_scanner.c Zend/zend_language_scanner_defs.h
|
| 85e5e60 |
|
27-Mar-2013 |
Dmitry Stogov <dmitry@zend.com> |
Fixed bug #64529 (Ran out of opcode space)
/php-src/Zend/zend_execute_API.c
|
| a666285 |
|
01-Jan-2013 |
Xinchen Hui <laruence@php.net> |
Happy New Year
/php-src/Zend/zend_execute_API.c
|
| 0a7395e |
|
01-Jan-2013 |
Xinchen Hui <laruence@php.net> |
Happy New Year
/php-src/Zend/zend_execute_API.c
|
| 438cd86 |
|
13-Dec-2012 |
Dmitry Stogov <dmitry@zend.com> |
Removed unnecessary checks
/php-src/Zend/zend_execute_API.c
|
| ff1e1d7 |
|
13-Dec-2012 |
Dmitry Stogov <dmitry@zend.com> |
Removed redundand checks from release build
/php-src/Zend/zend_execute_API.c
|
| 7651d64 |
|
04-Dec-2012 |
Dmitry Stogov <dmitry@zend.com> |
Optimized access to temporary and compiled VM variables
/php-src/Zend/zend_execute_API.c
|
| 70f83f3 |
|
30-Nov-2012 |
Dmitry Stogov <dmitry@zend.com> |
. The VM stacks for passing function arguments and syntaticaly nested calls were merged into a single stack. The stack size needed for op_array execution is calculated at compile time and preallocated at once. As result all the stack push operatins don't require checks for stack overflow any more. . Generators implementation was improved using the new VM stack. Now it's a bit more clear and faster.
/php-src/Zend/zend_execute_API.c
|
| 531e253 |
|
05-Oct-2012 |
Stanislav Malyshev <stas@php.net> |
Use zend_execute_internal always to call internal functions
/php-src/Zend/zend_execute_API.c
|
| bda93f5 |
|
22-Jul-2012 |
Stanislav Malyshev <stas@php.net> |
use zend_execute_internal
/php-src/Zend/zend_execute_API.c
|
| 526db7d |
|
16-Sep-2012 |
Nikita Popov <nikic@php.net> |
Replace code with zend_clean_and_cache_symbol_table() call I replaced other instances of this code with the function call, but missed this one.
/php-src/Zend/zend_execute_API.c
|
| c9709bf |
|
19-Jul-2012 |
Nikita Popov <nikic@php.net> |
Remove asterix modifier (*) for generators Generators are now automatically detected by the presence of a `yield` expression in their body. This removes the ZEND_SUSPEND_AND_RETURN_GENERATOR opcode. Instead additional checks for ZEND_ACC_GENERATOR are added to the fcall_common helper and zend_call_function. This also adds a new function zend_generator_create_zval, which handles the actual creation of the generator zval from an op array. I feel like I should deglobalize the zend_create_execute_data_from_op_array code a bit. It currently changes EG(current_execute_data) and EG(opline_ptr) which is somewhat confusing (given the name).
/php-src/Zend/zend_execute_API.c
|
| a38ffd5 |
|
11-Mar-2012 |
Xinchen Hui <laruence@php.net> |
Fixed bug #61273 (call_user_func_array with more than 16333 arguments leaks / crashes)
/php-src/Zend/zend_execute_API.c
|
| b7ae5e0 |
|
11-Mar-2012 |
Xinchen Hui <laruence@php.net> |
Fixed bug #61273 (call_user_func_array with more than 16333 arguments leaks / crashes)
/php-src/Zend/zend_execute_API.c
|
| 5f99d78 |
|
02-Mar-2012 |
Xinchen Hui <laruence@php.net> |
MFH: Fixed bug #60978 (exit code incorrect)
/php-src/Zend/zend_execute_API.c
|
| 27df8b6 |
|
08-Feb-2012 |
Xinchen Hui <laruence@php.net> |
Revert -r319102 and -r322922 in 5.4 branch since they introduce #60978 Fixed #60978 in trunk without reverting previous fix #see http://news.php.net/php.internals/57789
/php-src/Zend/zend_execute_API.c
|
| ff63c09 |
|
08-Feb-2012 |
Xinchen Hui <laruence@php.net> |
Revert -r319102 and -r322922 in 5.4 branch since they introduce #60978 Fixed #60978 in trunk without reverting previous fix #see http://news.php.net/php.internals/57789
/php-src/Zend/zend_execute_API.c
|
| 33863b2 |
|
29-Jan-2012 |
Derick Rethans <derick@php.net> |
- Reinstated correct return values after David's fix for #60218.
/php-src/Zend/zend_execute_API.c
|
| 2c1285a |
|
29-Jan-2012 |
Derick Rethans <derick@php.net> |
- Reinstated correct return values after David's fix for #60218.
/php-src/Zend/zend_execute_API.c
|
| b515bfb |
|
17-Jan-2012 |
Dmitry Stogov <dmitry@php.net> |
Improved traits implementation. Now to support __CLASS__ constant in traits php doesn't have to copy the complete compiled method, but can reuse the same code. The resolution of __CLASS__ constants in methods defined in traits are delayed till run-time. This approach also made possible to use __CLASS__ constant as default value for traits properties and method arguments.
/php-src/Zend/zend_execute_API.c
|
| 032d140 |
|
17-Jan-2012 |
Dmitry Stogov <dmitry@php.net> |
Improved traits implementation. Now to support __CLASS__ constant in traits php doesn't have to copy the complete compiled method, but can reuse the same code. The resolution of __CLASS__ constants in methods defined in traits are delayed till run-time. This approach also made possible to use __CLASS__ constant as default value for traits properties and method arguments.
/php-src/Zend/zend_execute_API.c
|
| 8775a37 |
|
01-Jan-2012 |
Felipe Pena <felipe@php.net> |
- Year++
/php-src/Zend/zend_execute_API.c
|
| 4e19825 |
|
01-Jan-2012 |
Felipe Pena <felipe@php.net> |
- Year++
/php-src/Zend/zend_execute_API.c
|
| ce06b43 |
|
12-Nov-2011 |
David Soria Parra <dsp@php.net> |
Fix #60218 (instantiating unknown class leads to memory leak in cli)
/php-src/Zend/zend_execute_API.c
|
| c4d5231 |
|
12-Nov-2011 |
David Soria Parra <dsp@php.net> |
Fix #60218 (instantiating unknown class leads to memory leak in cli)
/php-src/Zend/zend_execute_API.c
|
| ea5a61e |
|
18-Oct-2011 |
Arnaud Le Blanc <lbarnaud@php.net> |
Improved ternary operator performance when returning arrays
/php-src/Zend/zend_execute_API.c
|
| 07b7ba8 |
|
18-Oct-2011 |
Arnaud Le Blanc <lbarnaud@php.net> |
Improved ternary operator performance when returning arrays
/php-src/Zend/zend_execute_API.c
|
| 4a25a77 |
|
13-Sep-2011 |
Dmitry Stogov <dmitry@php.net> |
Fixed ZE specific compile warnings (Bug #55629)
/php-src/Zend/zend_execute_API.c
|
| e43ff13 |
|
13-Sep-2011 |
Dmitry Stogov <dmitry@php.net> |
Fixed ZE specific compile warnings (Bug #55629)
/php-src/Zend/zend_execute_API.c
|
| d566f0c |
|
08-Sep-2011 |
Pierre Joye <pajoye@php.net> |
- fix build when no zend signal support
/php-src/Zend/zend_execute_API.c
|
| f20e705 |
|
08-Sep-2011 |
Pierre Joye <pajoye@php.net> |
- fix build when no zend signal support
/php-src/Zend/zend_execute_API.c
|
| ca2234d |
|
07-Sep-2011 |
Rasmus Lerdorf <rasmus@php.net> |
Make timeouts work again for shutdown functions. Fixes the faling lang/045 test
/php-src/Zend/zend_execute_API.c
|
| 2af36bd |
|
07-Sep-2011 |
Rasmus Lerdorf <rasmus@php.net> |
Make timeouts work again for shutdown functions. Fixes the faling lang/045 test
/php-src/Zend/zend_execute_API.c
|
| 80931fe |
|
07-Aug-2011 |
Rasmus Lerdorf <rasmus@php.net> |
Since we have fci_cache = &fci_cache_local inside that block and fci_cache is then later used outside the block, fci_cache_local can't be block-scoped here
/php-src/Zend/zend_execute_API.c
|
| c44c049 |
|
07-Aug-2011 |
Rasmus Lerdorf <rasmus@php.net> |
Since we have fci_cache = &fci_cache_local inside that block and fci_cache is then later used outside the block, fci_cache_local can't be block-scoped here
/php-src/Zend/zend_execute_API.c
|
| 34d93f0 |
|
22-Jun-2011 |
Ilia Alshanetsky <iliaa@php.net> |
Zend Signal Handling
/php-src/Zend/zend_execute_API.c
|
| 9398751 |
|
02-Jun-2011 |
Ilia Alshanetsky <iliaa@php.net> |
Zend Signal Handling (see RFC: https://wiki.php.net/rfc/zendsignals) This needs to go into 5.4 as well, but will wait for Pierre to review win32 situation # Patch by Lucas Nealan, Arnaud Le Blanc, Brian Shire & Ilia Alshanetsky
/php-src/Zend/zend_execute_API.c
|
| 50ce16d |
|
15-Apr-2011 |
Dmitry Stogov <dmitry@php.net> |
Fixed bug #54268 (Double free when destroy_zend_class fails)
/php-src/Zend/zend_execute_API.c
|
| 0203cc3 |
|
01-Jan-2011 |
Felipe Pena <felipe@php.net> |
- Year++
/php-src/Zend/zend_execute_API.c
|
| f4173a8 |
|
13-Oct-2010 |
Dmitry Stogov <dmitry@php.net> |
Fixed bug #52939 (zend_call_function does not respect ZEND_SEND_PREFER_REF)
/php-src/Zend/zend_execute_API.c
|
| d3b6fbe |
|
01-Oct-2010 |
Dmitry Stogov <dmitry@php.net> |
Fixed bug #52940 (call_user_func_array still allows call-time pass-by-reference). (cataphract@php.net)
/php-src/Zend/zend_execute_API.c
|
| f2df6a4 |
|
15-Sep-2010 |
Dmitry Stogov <dmitry@php.net> |
- Improved memory usage . zend_function.pass_rest_by_reference is replaced by ZEND_ACC_PASS_REST_BY_REFERENCE in zend_function.fn_flags . zend_function.return_reference is replaced by ZEND_ACC_RETURN_REFERENCE in zend_function.fn_flags . zend_arg_info.required_num_args removed. it was needed only for internal functions. Now the first arg_info for internal function (which has special meaning) is represented by zend_internal_function_info structure. . zend_op_array.size, size_var, size_literal, current_brk_cont, backpatch_count moved into CG(context), because they are used only during compilation. . zend_op_array.start_op is moved into EG(start_op), because it's used only for 'interactive' execution of single top-level op-array. . zend_op_array.done_pass_two is replaced by ZEND_ACC_DONE_PASS_TWO in zend_op_array.fn_flags. . op_array.vars array is trimmed (reallocated) during pass_two. . zend_class_entry.constants_updated is replaced by ZEND_ACC_CONSTANTS_UPDATED in zend_class_entry.ce_flags . the size of zend_class_entry is reduced by sharing the same memory space by different information for internal and user classes. See zend_class_inttry.info union.
/php-src/Zend/zend_execute_API.c
|
| f0c8366 |
|
08-Jul-2010 |
Dmitry Stogov <dmitry@php.net> |
- use interned strings for auto globals - $GLOBALS became a JIT autoglobal, so it's initialized only if used (this may affect opcode caches)
/php-src/Zend/zend_execute_API.c
|
| 1a1178a |
|
06-Jul-2010 |
Dmitry Stogov <dmitry@php.net> |
eliminated unnecessary iterations during request startup/shutdown
/php-src/Zend/zend_execute_API.c
|
| 79d2aaf |
|
26-May-2010 |
Felipe Pena <felipe@php.net> |
- Fixed bug #51905 (ReflectionParameter fails if default value is an array with an access to self::)
/php-src/Zend/zend_execute_API.c
|
| 3c17943 |
|
26-Apr-2010 |
Dmitry Stogov <dmitry@php.net> |
Fixed crash in Zend/tests/unset_cv09.phpt
/php-src/Zend/zend_execute_API.c
|
| a9a55f7 |
|
23-Apr-2010 |
Antony Dovgal <tony2001@php.net> |
fix WS
/php-src/Zend/zend_execute_API.c
|
| f06d839 |
|
23-Apr-2010 |
Dmitry Stogov <dmitry@php.net> |
Use fast class fetch function
/php-src/Zend/zend_execute_API.c
|
| cd6415f |
|
22-Apr-2010 |
Stefan Marr <gron@php.net> |
Implemented Traits for PHP as proposed in the RFC [TRAITS] # RFC http://wiki.php.net/rfc/horizontalreuse#traits_-_reuse_of_behavior # Ok, here we go, I guess that will result in more discussion, which is fine # by me. But now, the patch is here, and properly archived. # # See below a list of notes to the patch, it also includes a list of # points which should be fixed # # Internals of the Traits Patch # ----------------------------- # # Open TODOs # """""""""" # # - Reflection API # - support for traits for internal classes # - currently destroy_zend_class does not handle that case # # Introduced Structures # """"""""""""""""""""" # # Data structures to encode the composition information specified in the # source: # - zend_trait_method_reference # - zend_trait_precedence # - zend_trait_alias # # Changes # """"""" # # zend_class_entry # - uses NULL terminated lists of pointers for # - trait_aliases # - trait_precedences # - do you prefer an explicit counter? # - the information is only necessary during class composition # but might be interesting for reflection # - did not want to blow up class further with not really necessary length counters # # added keywords # - trait # - insteadof # # Added opcodes # ZEND_ADD_TRAIT # - similar to ZEND_ADD_INTERFACE # - adds the trait to the list of traits of a class, no actual composition done # ZEND_BIND_TRAITS # - emitted in zend_do_end_class_declaration # - concludes the class definition and will initiate the trait composition # when the class definition is encountered during runtime # # Added Flags # ZEND_ACC_TRAIT = 0x120 # ZEND_ACC_IMPLEMENT_TRAITS = 0x400000 # ZEND_FETCH_CLASS_TRAIT = 14 # # zend_vm_execute.h # - not sure whether the handler initialization (ZEND_ADD_TRAIT_SPEC_HANDLER, # ZEND_BIND_TRAITS_SPEC_HANDLER) is correct, maybe it should be more selective # # zend_compile.c # - refactored do_inherit_method_check # split into do_inherit_method_check and do_inheritance_check_on_method # - added helper functions use a '_' as prefix and are not mentioned in the # headers # - _copy_functions # prepare hash-maps of functions which should be merged into a class # here the aliases are handled # - _merge_functions # builds a hash-table of the methods which need to be added to a class # does the conflict detection # - reused php_runkit_function_copy_ctor # - it is not identical with the original code anymore, needed to update it # think I fixed some bugs, not sure whether all have been reported back to runkit # - has to be renamed, left the name for the moment, to make its origin obvious # - here might be optimization potential # - not sure whether everything needs to be copied # - copying the literals might be broken # - added it since the literals array is freed by efree and gave problems # with doubled frees # - all immutable parts of the zend_op array should not be copied # - am not sure which parts are immutable # - and not sure how to avoid doubled frees on the same arrays on shutdown # - _merge_functions_to_class # does the final merging with the target class to handle inherited # and overridden methods # - small helper for NULL terminated lists # zend_init_list, zend_add_to_list # # zend_language_parser.y # - reused class definition for traits # - there should be something with regard to properties # - if they get explicitly defined, it might be worthwhile to # check that there are no collisions with other traits in a composition # (however, I would not introduce elaborate language features to control that # but a notice for such conflicts might be nice to the developers)
/php-src/Zend/zend_execute_API.c
|
| 453b49e |
|
20-Apr-2010 |
Dmitry Stogov <dmitry@php.net> |
Added a number of small performance tweaks and optimizations . ZEND_RECV now always has IS_CV as its result . ZEND_CATCH now has to be used only with constant class names . ZEND_FETCH_DIM_? may fetch array and dimension operans in a different order
/php-src/Zend/zend_execute_API.c
|
| dd5c478 |
|
20-Apr-2010 |
Dmitry Stogov <dmitry@php.net> |
Added concept of interned strings. All strings constants known at compile time are allocated in a single copy and never changed.
/php-src/Zend/zend_execute_API.c
|
| 94dd837 |
|
20-Apr-2010 |
Dmitry Stogov <dmitry@php.net> |
Changed the structure of op_array.opcodes. The constant values are moved from opcode operands into a separate literal table
/php-src/Zend/zend_execute_API.c
|
| cf4ea31 |
|
01-Apr-2010 |
Stanislav Malyshev <stas@php.net> |
fix #51394 - try harder to find script lineno when exception happens
/php-src/Zend/zend_execute_API.c
|
| c302509 |
|
03-Mar-2010 |
Felipe Pena <felipe@php.net> |
- Fixed bug #50731 (Inconsistent namespaces sent to functions registered with spl_autoload_register)
/php-src/Zend/zend_execute_API.c
|
| 5eb4db5 |
|
25-Jan-2010 |
Pierre Joye <pajoye@php.net> |
- Ensure that stderr output are not buffered, portability for tests
/php-src/Zend/zend_execute_API.c
|
| d2281d1 |
|
05-Jan-2010 |
Sebastian Bergmann <sebastian@php.net> |
sed -i "s#1998-2009#1998-2010#g" **/*.c **/*.h **/*.php
/php-src/Zend/zend_execute_API.c
|
| fc1e17e |
|
18-Dec-2009 |
Stanislav Malyshev <stas@php.net> |
fix regression bug #50394: Reference argument converted to value in __call
/php-src/Zend/zend_execute_API.c
|
| 10b30b5 |
|
05-Nov-2009 |
Dmitry Stogov <dmitry@php.net> |
Fixed unnecessary invokation of setitimer when timeouts have been disabled (Arvind Srinivasan)
/php-src/Zend/zend_execute_API.c
|
| b91e3db |
|
15-Sep-2009 |
Moriyoshi Koizumi <moriyoshi@php.net> |
- WS fix (spaces to tabs)
/php-src/Zend/zend_execute_API.c
|
| d6ba6c6 |
|
18-Aug-2009 |
Stanislav Malyshev <stas@php.net> |
fix crash when unexpectedly passed by-ref parameter is modified
/php-src/Zend/zend_execute_API.c
|
| 9fd8469 |
|
30-Jul-2009 |
Stanislav Malyshev <stas@php.net> |
fix for bug #49000
/php-src/Zend/zend_execute_API.c
|
| d553002 |
|
05-Jun-2009 |
Matt Wilmas <mattwil@php.net> |
MFH: Added zend_eval_stringl and made create_function(), etc. binary-safe
/php-src/Zend/zend_execute_API.c
|
| b907aa4 |
|
04-Jun-2009 |
Matt Wilmas <mattwil@php.net> |
MFH: Restored double->long conversion behavior to that of PHP 5.2 (on most platforms) and prior: * Out-of-range numbers overflow/preserve least significant bits (no LONG_MAX/MIN limit) * See bug #42868 (presumably-rare platform with different results in 5.2) * On 32-bit platforms with 64-bit long type, a zend_long64 cast has been added, otherwise it's the same as 5.2 * Use this conversion method everywhere instead of some plain (long) casts Added 'L' parameter parsing specifier to ensure a LONG_MAX/MIN limit: * Essentially what 5.3's new conversion was doing in most cases * Functions with "limit" or "length" type params could be updated to use this, and prevent confusing overflow behavior with huge numbers (*also* in 5.2) - See bug #47854, for example; or even #42868 again # Test updates coming
/php-src/Zend/zend_execute_API.c
|
| c8e5bc5 |
|
08-Apr-2009 |
Dmitry Stogov <dmitry@php.net> |
Calculate hash value once
/php-src/Zend/zend_execute_API.c
|
| 021e5d1 |
|
19-Mar-2009 |
Matt Wilmas <mattwil@php.net> |
MFH: Removed extra space from eval string
/php-src/Zend/zend_execute_API.c
|
| c6e55db |
|
18-Mar-2009 |
Dmitry Stogov <dmitry@php.net> |
Forgotten include
/php-src/Zend/zend_execute_API.c
|
| 31c0af2 |
|
18-Mar-2009 |
Dmitry Stogov <dmitry@php.net> |
Fixed floating point mathematic speed degradation (Christian)
/php-src/Zend/zend_execute_API.c
|
| 2bc612b |
|
05-Mar-2009 |
Felipe Pena <felipe@php.net> |
- Fixed typo
/php-src/Zend/zend_execute_API.c
|
| c43b935 |
|
05-Mar-2009 |
Felipe Pena <felipe@php.net> |
- MFH: Fixed bug #47572 (zval_update_constant_ex: Segmentation fault)
/php-src/Zend/zend_execute_API.c
|
| c277ebc |
|
09-Feb-2009 |
Dmitry Stogov <dmitry@php.net> |
Fixed bug #47320 ($php_errormsg out of scope in functions)
/php-src/Zend/zend_execute_API.c
|
| 2aba368 |
|
02-Jan-2009 |
Marcus Boerger <helly@php.net> |
- MFH Catch exceptions in cli -a
/php-src/Zend/zend_execute_API.c
|
| 08659c2 |
|
31-Dec-2008 |
Sebastian Bergmann <sebastian@php.net> |
MFH: Bump copyright year, 3 of 3.
/php-src/Zend/zend_execute_API.c
|
| 7d4fd3f |
|
27-Nov-2008 |
Dmitry Stogov <dmitry@php.net> |
Fixed bug #46409 (__invoke method called outside of object context when using array_map)
/php-src/Zend/zend_execute_API.c
|
| 8f32490 |
|
25-Nov-2008 |
Felipe Pena <felipe@php.net> |
- Fixed bug #46665 (Triggering autoload with a variable classname causes truncated autoload param)
/php-src/Zend/zend_execute_API.c
|
| 3919b16 |
|
19-Nov-2008 |
Etienne Kneuss <colder@php.net> |
MFH: Fix #46241 (stacked error_handlers, error_handling in general)
/php-src/Zend/zend_execute_API.c
|
| 512b812 |
|
12-Nov-2008 |
Antony Dovgal <tony2001@php.net> |
make sure the slash is actually thre before reading past it
/php-src/Zend/zend_execute_API.c
|
| 1b4134c |
|
11-Nov-2008 |
Stanislav Malyshev <stas@php.net> |
Namespace resolution streamlining patch [DOC] new resolution rules should be documented soon
/php-src/Zend/zend_execute_API.c
|
| 2f26deb |
|
05-Nov-2008 |
Felipe Pena <felipe@php.net> |
- Fixed Windows build
/php-src/Zend/zend_execute_API.c
|
| 7126de4 |
|
04-Nov-2008 |
Marcus Boerger <helly@php.net> |
- Next step in namespaces, using / as namespace separator.
/php-src/Zend/zend_execute_API.c
|
| b879459 |
|
02-Oct-2008 |
Etienne Kneuss <colder@php.net> |
MFH: Use enum alternative instead of explicit value
/php-src/Zend/zend_execute_API.c
|
| f5b09f1 |
|
01-Oct-2008 |
Antony Dovgal <tony2001@php.net> |
MFH: initialize variable
/php-src/Zend/zend_execute_API.c
|
| e46d328 |
|
17-Sep-2008 |
Dmitry Stogov <dmitry@php.net> |
Fixed bug #46106 (Memory leaks when using global statement)
/php-src/Zend/zend_execute_API.c
|
| 6ebc3a8 |
|
15-Sep-2008 |
Etienne Kneuss <colder@php.net> |
MFH: Fix #45656 (new Class silenting exceptions in autoloaders)
/php-src/Zend/zend_execute_API.c
|
| 03f4121 |
|
26-Aug-2008 |
Dmitry Stogov <dmitry@php.net> |
Fixed bug #45910 (Cannot declare self-referencing constant)
/php-src/Zend/zend_execute_API.c
|
| 32f9d0e |
|
14-Aug-2008 |
Marcus Boerger <helly@php.net> |
- MFH Improve exception linking
/php-src/Zend/zend_execute_API.c
|
| f87d453 |
|
12-Aug-2008 |
Nuno Lopes <nlopess@php.net> |
mark empty_fcall_info and empty_fcall_info_cache as constant. a few less bytes in the dirty page :P
/php-src/Zend/zend_execute_API.c
|
| 3053a62 |
|
11-Aug-2008 |
Marcus Boerger <helly@php.net> |
- MFH Fix shutdown order
/php-src/Zend/zend_execute_API.c
|
| 3f7a4b7 |
|
08-Aug-2008 |
Marcus Boerger <helly@php.net> |
- MFH error handling, now with save, replace, restore
/php-src/Zend/zend_execute_API.c
|
| 5a59d41 |
|
08-Aug-2008 |
Marcus Boerger <helly@php.net> |
- MFH store error handling mode on stack when executing internal or overloaded functions and methods. [...]
/php-src/Zend/zend_execute_API.c
|
| 37a7693 |
|
01-Aug-2008 |
Dmitry Stogov <dmitry@php.net> |
Fixed bug #44100 (Inconsistent handling of static array declarations with duplicate keys).
/php-src/Zend/zend_execute_API.c
|
| 64c721e |
|
26-Jul-2008 |
Dmitry Stogov <dmitry@php.net> |
*** empty log message ***
/php-src/Zend/zend_execute_API.c
|
| 8ee5b58 |
|
26-Jul-2008 |
Dmitry Stogov <dmitry@php.net> |
Added checks for destroied objects
/php-src/Zend/zend_execute_API.c
|
| b25f9f6 |
|
26-Jul-2008 |
Dmitry Stogov <dmitry@php.net> |
Added support for overloaded functions (e.g. COM) in call_user_func().
/php-src/Zend/zend_execute_API.c
|
| af05ce0 |
|
26-Jul-2008 |
Dmitry Stogov <dmitry@php.net> |
Fixed is_callable/call_user_func mess that had done different things for very similar arguments e.g. array("A","B") and "A::B"
/php-src/Zend/zend_execute_API.c
|
| 691d4a6 |
|
25-Jul-2008 |
Dmitry Stogov <dmitry@php.net> |
Fixed uninitialised data
/php-src/Zend/zend_execute_API.c
|
| feb8580 |
|
24-Jul-2008 |
Dmitry Stogov <dmitry@php.net> |
LSB parent/self forwarding
/php-src/Zend/zend_execute_API.c
|
| d5ef2f4 |
|
14-Jul-2008 |
Dmitry Stogov <dmitry@php.net> |
Added support for lambda functions and closures
/php-src/Zend/zend_execute_API.c
|
| 2af92fa |
|
05-Jun-2008 |
Felipe Pena <felipe@php.net> |
- Fixed bug #45180 ('class::method' works differently than array('class', 'method'))
/php-src/Zend/zend_execute_API.c
|
| cc23d3b |
|
03-Jun-2008 |
Felipe Pena <felipe@php.net> |
- Fixed bug #45089 (__callStatic $name case sensitivity)
/php-src/Zend/zend_execute_API.c
|
| 5521912 |
|
07-May-2008 |
Dmitry Stogov <dmitry@php.net> |
Use IS_CV for dirrent access to $this variable
/php-src/Zend/zend_execute_API.c
|
| 0639a84 |
|
06-May-2008 |
Dmitry Stogov <dmitry@php.net> |
Use lazy symbol table initialization for op_arrays called from internal php functions
/php-src/Zend/zend_execute_API.c
|
| 833e013 |
|
06-May-2008 |
Dmitry Stogov <dmitry@php.net> |
GC fix
/php-src/Zend/zend_execute_API.c
|
| 3a86a06 |
|
29-Apr-2008 |
Dmitry Stogov <dmitry@php.net> |
Added missing lazy initialization
/php-src/Zend/zend_execute_API.c
|
| 2ecf4bb |
|
29-Apr-2008 |
Dmitry Stogov <dmitry@php.net> |
Lazy EG(active_symbol_table) initialization
/php-src/Zend/zend_execute_API.c
|
| d9dd1b9 |
|
11-Apr-2008 |
Dmitry Stogov <dmitry@php.net> |
Optimized ZEND_RETURN opcode to not allocate and copy return value if it is not used.
/php-src/Zend/zend_execute_API.c
|
| f66f55e |
|
28-Mar-2008 |
Felipe Pena <felipe@php.net> |
MFH: Implemented "jump label" operator (limited "goto") [DOC]
/php-src/Zend/zend_execute_API.c
|
| ea790ce |
|
19-Mar-2008 |
Rasmus Lerdorf <rasmus@php.net> |
On Windows I guess there is no point starting the timeout thread until we actually have a timeout value.
/php-src/Zend/zend_execute_API.c
|
| d2f23db |
|
19-Mar-2008 |
Rasmus Lerdorf <rasmus@php.net> |
Make sure we set the signal handler when reset_signals is true, regardless of the actual timeout value.
/php-src/Zend/zend_execute_API.c
|
| 6c15837 |
|
18-Mar-2008 |
Rasmus Lerdorf <rasmus@php.net> |
exit_on_timeout patch After the sigsetjmp change, this is patch #2 in an effort to get some sanity restored to signal handling in PHP. This patch does two things. First, it makes it possible to reset the timeout without resetting the signal handlers. This is important for cases where an extension may have deferred signals in its MINIT in order to implement critical sections. It also lays the groundwork for cleaning up our signal handling and perhaps eventually implementing our own signal deferring mechanism so we can have true critical sections. The second thing this does is to make it possible to terminate the current child process (only for Apache1 at the moment) on a timeout. There are a number of extensions that are unhappy about being longjmp'ed out of and when this happens on a timeout they are left in an inconsistent state. By turning on exit_on_timeout you can now force the process to terminate on a timeout which will clean up any hanging locks and/or memory left hanging after the longjmp.
/php-src/Zend/zend_execute_API.c
|
| 2b10c53 |
|
18-Mar-2008 |
Felipe Pena <felipe@php.net> |
MFH: Dropped zend.ze1_compatibility_mode [DOC]
/php-src/Zend/zend_execute_API.c
|
| 8c885b8 |
|
18-Mar-2008 |
Dmitry Stogov <dmitry@php.net> |
Implemented concept of "delayed early binding" that allows opcode caches to perform class declaration (early and/or run-time binding) in exactly the same order as vanila php. The following pseudo-code explains how it should be used in opcode cache. function cache_compile_file($filename) { if (!is_cached($filename)) { ... orig_compiler_options = CG(compiler_optins); CG(compiler_options) |= ZEND_COMPILE_IGNORE_INTERNAL_CLASSES | ZEND_COMPILE_DELAYED_BINDING; $op_array = orig_compile_file($filename); CG(compiler_options) = orig_copiler_options; ... } else { $op_array = restore_from_cache($filename); } zend_do_delayed_early_binding($op_array); }
/php-src/Zend/zend_execute_API.c
|
| 1f3b8cc |
|
09-Mar-2008 |
Antony Dovgal <tony2001@php.net> |
%v -> %s, this is 5_3
/php-src/Zend/zend_execute_API.c
|
| 430e54d |
|
04-Mar-2008 |
Dmitry Stogov <dmitry@php.net> |
Fixed shared memory corruption of opcode caches
/php-src/Zend/zend_execute_API.c
|
| d3e5026 |
|
23-Feb-2008 |
Marcus Boerger <helly@php.net> |
- MFH Add E_DEPRECATED (Lars Strojny, Felipe Pena, Marcus) [DOC] Finally added deprecation messages
/php-src/Zend/zend_execute_API.c
|
| da5b979 |
|
02-Feb-2008 |
Marcus Boerger <helly@php.net> |
- MFH Add comment that explains why we need E_ERROR in those cases
/php-src/Zend/zend_execute_API.c
|
| 95a3ccc |
|
02-Feb-2008 |
Marcus Boerger <helly@php.net> |
- Fix flag handling in message generation
/php-src/Zend/zend_execute_API.c
|
| 9770b3c |
|
29-Jan-2008 |
Dmitry Stogov <dmitry@php.net> |
Fixed bug #43323 (Wrong count abstract methods). (Felipe, Dmitry)
/php-src/Zend/zend_execute_API.c
|
| 0b68251 |
|
24-Jan-2008 |
Dmitry Stogov <dmitry@php.net> |
Changed EG(argument_stack) implementation.
/php-src/Zend/zend_execute_API.c
|
| 71592ce |
|
22-Jan-2008 |
Dmitry Stogov <dmitry@php.net> |
Added garbage collector
/php-src/Zend/zend_execute_API.c
|
| fa47e90 |
|
21-Jan-2008 |
Dmitry Stogov <dmitry@php.net> |
Changed exception handling. Now each op_array doesn't contain ZEND_HANDLE_EXCEPTION opcode in the end
/php-src/Zend/zend_execute_API.c
|
| ba8acfd |
|
15-Jan-2008 |
Marcus Boerger <helly@php.net> |
- Fix the fix
/php-src/Zend/zend_execute_API.c
|
| 22221de |
|
14-Jan-2008 |
Marcus Boerger <helly@php.net> |
- Fix memleak (found by colder)
/php-src/Zend/zend_execute_API.c
|
| ed8e2fa |
|
10-Jan-2008 |
Dmitry Stogov <dmitry@php.net> |
Added missing warning message
/php-src/Zend/zend_execute_API.c
|
| d1dded8 |
|
31-Dec-2007 |
Sebastian Bergmann <sebastian@php.net> |
MFH: Bump copyright year, 2 of 2.
/php-src/Zend/zend_execute_API.c
|
| 43f6392 |
|
25-Dec-2007 |
Dmitry Stogov <dmitry@php.net> |
Fixed bug #43651 (is_callable() with one or more nonconsecutive colons crashes)
/php-src/Zend/zend_execute_API.c
|
| 6484b3c |
|
07-Dec-2007 |
Dmitry Stogov <dmitry@php.net> |
Fixed bug #43344 (Wrong error message for undefined namespace constant)
/php-src/Zend/zend_execute_API.c
|
| 648fbe9 |
|
22-Nov-2007 |
Dmitry Stogov <dmitry@php.net> |
Fixed bug #43128 (Very long class name causes segfault)
/php-src/Zend/zend_execute_API.c
|
| 45f6b4c |
|
21-Nov-2007 |
Johannes Schlüter <johannes@php.net> |
- MFH Improved version of ternary shortcut (Marcus)
/php-src/Zend/zend_execute_API.c
|
| c3ab6bd |
|
20-Nov-2007 |
Dmitry Stogov <dmitry@php.net> |
Fixed bug #43136 (possible crash on script execution timeout. The EG(function_state_ptr) is completely removed, EG(current_execute_data)->function_state must be used instead)
/php-src/Zend/zend_execute_API.c
|
| b489251 |
|
02-Nov-2007 |
Jani Taskinen <jani@php.net> |
- MFH from HEAD: . Folding tags . Parameter parsing . SPL debug info . array function improvements (not all yet) . Improvements to function calling with call_user_* functions . Improvements to debugging info in var_dump/print_r # I propably forgot already something but this all was pretty close tied # to each other so it wasn't possible to do it in parts.
/php-src/Zend/zend_execute_API.c
|
| f10766f |
|
02-Nov-2007 |
Dmitry Stogov <dmitry@php.net> |
Reimplemented support for namespaces in indexes id constant arrays (removed zval.idx_type)
/php-src/Zend/zend_execute_API.c
|
| 4b4d634 |
|
07-Oct-2007 |
Yiduo (David) Wang <davidw@php.net> |
MFH: Added macros for managing zval refcounts and is_ref statuses
/php-src/Zend/zend_execute_API.c
|
| eb0c56a |
|
03-Oct-2007 |
Dmitry Stogov <dmitry@php.net> |
Fixed bug #42820 (defined() on constant with namespace prefixes tries to load class).
/php-src/Zend/zend_execute_API.c
|
| 220641a |
|
02-Oct-2007 |
Dmitry Stogov <dmitry@php.net> |
Fixed bug #42819 (namespaces in indexes of constant arrays)
/php-src/Zend/zend_execute_API.c
|
| 3a3a7e7 |
|
01-Oct-2007 |
Dmitry Stogov <dmitry@php.net> |
Fixed bug #42798 (__autoload() not triggered for classes used in method signature).
/php-src/Zend/zend_execute_API.c
|
| 72d0454 |
|
29-Sep-2007 |
Dmitry Stogov <dmitry@php.net> |
Added support for __callstatic() magic method (missing part). (Sara)
/php-src/Zend/zend_execute_API.c
|
| 166266d |
|
29-Sep-2007 |
Dmitry Stogov <dmitry@php.net> |
Added support for Late Static Binding. (Dmitry, Etienne Kneuss)
/php-src/Zend/zend_execute_API.c
|
| f32ffe9 |
|
28-Sep-2007 |
Dmitry Stogov <dmitry@php.net> |
Namespaces
/php-src/Zend/zend_execute_API.c
|
| 6c810b0 |
|
27-Sep-2007 |
Dmitry Stogov <dmitry@php.net> |
Improved memory usage by movig constants to read only memory. (Dmitry, Pierre)
/php-src/Zend/zend_execute_API.c
|
| 226c56f |
|
21-Jul-2007 |
Jani Taskinen <jani@php.net> |
MFH: Fixed compiler warnings
/php-src/Zend/zend_execute_API.c
|
| 1c7fa8f |
|
13-Jun-2007 |
Dmitry Stogov <dmitry@php.net> |
Fixed bug #41633 (Crash instantiating classes with self-referencing constants)
/php-src/Zend/zend_execute_API.c
|
| 28bc395 |
|
13-Jun-2007 |
Dmitry Stogov <dmitry@php.net> |
Fixed some class constant issues related to bug #41633
/php-src/Zend/zend_execute_API.c
|
| 04aefb4 |
|
21-May-2007 |
Antony Dovgal <tony2001@php.net> |
MFH
/php-src/Zend/zend_execute_API.c
|
| d7b30e4 |
|
18-May-2007 |
Antony Dovgal <tony2001@php.net> |
MFH: fix #41421 (Uncaught exception from a stream wrapper segfaults)
/php-src/Zend/zend_execute_API.c
|
| de4f300 |
|
27-Apr-2007 |
Antony Dovgal <tony2001@php.net> |
MFH: initialize retval_ptr_ptr before returning FAILURE this fixes invalid read in #41209
/php-src/Zend/zend_execute_API.c
|
| e1814f0 |
|
16-Apr-2007 |
Dmitry Stogov <dmitry@php.net> |
WIN64 support
/php-src/Zend/zend_execute_API.c
|
| 79ed194 |
|
15-Mar-2007 |
Antony Dovgal <tony2001@php.net> |
fix #40815 (using strings like "class::func" and static methods in set_exception_handler() might result in crash)
/php-src/Zend/zend_execute_API.c
|
| b15d1f2 |
|
03-Mar-2007 |
Marcus Boerger <helly@php.net> |
- Catch empty class name error earlier
/php-src/Zend/zend_execute_API.c
|
| 0291ad5 |
|
15-Feb-2007 |
Dmitry Stogov <dmitry@php.net> |
Fixed bug #40236 (php -a function allocation eats memory)
/php-src/Zend/zend_execute_API.c
|
| 4223aa4 |
|
01-Jan-2007 |
Sebastian Bergmann <sebastian@php.net> |
MFH: Bump year.
/php-src/Zend/zend_execute_API.c
|
| 96d9d6f |
|
28-Dec-2006 |
Ilia Alshanetsky <iliaa@php.net> |
Avoid strcpy() & strcat()
/php-src/Zend/zend_execute_API.c
|
| bed14f8 |
|
21-Dec-2006 |
Antony Dovgal <tony2001@php.net> |
MFH
/php-src/Zend/zend_execute_API.c
|
| 011e0cd |
|
10-Nov-2006 |
Dmitry Stogov <dmitry@php.net> |
Start timiout thread on Windows only if necessary
/php-src/Zend/zend_execute_API.c
|
| 6841110 |
|
18-Oct-2006 |
Johannes Schlüter <johannes@php.net> |
- MFH: added missing return...
/php-src/Zend/zend_execute_API.c
|
| dcf2490 |
|
18-Oct-2006 |
Johannes Schlüter <johannes@php.net> |
- MFH: Fix #38465 (ReflectionParameter fails if default value is an access to self::
/php-src/Zend/zend_execute_API.c
|
| 630024d |
|
11-Oct-2006 |
Antony Dovgal <tony2001@php.net> |
MFH
/php-src/Zend/zend_execute_API.c
|
| ecd5216 |
|
28-Sep-2006 |
Dmitry Stogov <dmitry@php.net> |
Fixed wrong return value
/php-src/Zend/zend_execute_API.c
|
| d6ee9d4 |
|
11-Sep-2006 |
Antony Dovgal <tony2001@php.net> |
MFH: fix #38779 (engine crashes when require()'ing file with syntax error through userspace stream wrapper)
/php-src/Zend/zend_execute_API.c
|
| 8bb047e |
|
12-Jul-2006 |
Dmitry Stogov <dmitry@php.net> |
Fixed bug #36759 (Objects destructors are invoked in wrong order when script is finished).
/php-src/Zend/zend_execute_API.c
|
| 7bbf353 |
|
13-Jun-2006 |
Stefan Esser <sesser@php.net> |
MFH: Added hook for compile_string()
/php-src/Zend/zend_execute_API.c
|
| 51d4958 |
|
05-Jun-2006 |
Zeev Suraski <zeev@php.net> |
Restore ZE1 compatibility mode (Zend Engine part - the modules patches will follow later today)
/php-src/Zend/zend_execute_API.c
|
| 26ccde4 |
|
25-May-2006 |
Dmitry Stogov <dmitry@php.net> |
Fixed bug #37558 (timeout functionality doesn't work after a second PHP starup on the same thread). (p dot desarnaud at wanadoo dot fr)
/php-src/Zend/zend_execute_API.c
|
| 637a404 |
|
09-May-2006 |
Marcus Boerger <helly@php.net> |
- 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)
/php-src/Zend/zend_execute_API.c
|
| 32872b1 |
|
20-Apr-2006 |
Antony Dovgal <tony2001@php.net> |
there is no %v in 5_1
/php-src/Zend/zend_execute_API.c
|
| d824624 |
|
17-Mar-2006 |
Dmitry Stogov <dmitry@php.net> |
FIX: For some reason SIGSEGV handler wasn't set, but was restoring. Now all SIGSEGV related code is commented.
/php-src/Zend/zend_execute_API.c
|
| 161ae71 |
|
14-Mar-2006 |
Dmitry Stogov <dmitry@php.net> |
zend_hash_apply() doesn't use ZEND_HASH_APPLY_... macros
/php-src/Zend/zend_execute_API.c
|
| ad10a53 |
|
13-Mar-2006 |
Dmitry Stogov <dmitry@php.net> |
Optimized cleanup loops on request shutdown
/php-src/Zend/zend_execute_API.c
|
| 54adfc6 |
|
03-Mar-2006 |
Dmitry Stogov <dmitry@php.net> |
Fixed incorrect backtrace type ("::" instead of "->") for __set()/__get()
/php-src/Zend/zend_execute_API.c
|
| 5a69b29 |
|
26-Feb-2006 |
Marcus Boerger <helly@php.net> |
- Warning fixes by Steph
/php-src/Zend/zend_execute_API.c
|
| 941b065 |
|
25-Feb-2006 |
Marcus Boerger <helly@php.net> |
- MFH: Function deprecation flag
/php-src/Zend/zend_execute_API.c
|
| b1cebf3 |
|
22-Jan-2006 |
Marcus Boerger <helly@php.net> |
- MFH Fix issues with static method invocation
/php-src/Zend/zend_execute_API.c
|
| 01e8d31 |
|
18-Jan-2006 |
Antony Dovgal <tony2001@php.net> |
MFH: make sure ce_child is properly initialized
/php-src/Zend/zend_execute_API.c
|
| 61e93cc |
|
04-Jan-2006 |
Andi Gutmans <andi@php.net> |
- Update copyright notices to 2006
/php-src/Zend/zend_execute_API.c
|
| 9c2ea13 |
|
22-Dec-2005 |
Dmitry Stogov <dmitry@php.net> |
Fixed bug #35612 (iis6 Access Violation crash). (alacn dot uhahaa at gmail dot com)
/php-src/Zend/zend_execute_API.c
|
| 9255733 |
|
20-Dec-2005 |
Antony Dovgal <tony2001@php.net> |
fix leak appearing when __autoload() throws an exception
/php-src/Zend/zend_execute_API.c
|
| 0cd997d |
|
16-Dec-2005 |
Marcus Boerger <helly@php.net> |
- Simplify and synch is_callable_ex() with actual execution code . Allow array($this, 'parent::method') for function 'pointers' . Spit out E_STRICT in case of erroneous use of function 'pointers'
/php-src/Zend/zend_execute_API.c
|
| 5992210 |
|
09-Dec-2005 |
Dmitry Stogov <dmitry@php.net> |
Fixed bug #35612 (iis6 Access Violation crash)
/php-src/Zend/zend_execute_API.c
|
| 9ee0707 |
|
05-Dec-2005 |
Dmitry Stogov <dmitry@php.net> |
Fixed bug #35509 (string constant as array key has different behavior inside object)
/php-src/Zend/zend_execute_API.c
|
| a570981 |
|
24-Nov-2005 |
Dmitry Stogov <dmitry@php.net> |
Fixed bug #35360 (exceptions in interactive mode (php -a) may cause crash)
/php-src/Zend/zend_execute_API.c
|
| 8212034 |
|
27-Oct-2005 |
Dmitry Stogov <dmitry@php.net> |
Fixed SIGSEGV
/php-src/Zend/zend_execute_API.c
|
| 03cb8e9 |
|
20-Oct-2005 |
Dmitry Stogov <dmitry@php.net> |
Fixed bug #34767 (Zend Engine 1 Compatibility not copying objects correctly)
/php-src/Zend/zend_execute_API.c
|
| 9305339 |
|
09-Sep-2005 |
Dmitry Stogov <dmitry@php.net> |
Changed "instanceof" and "catch" operators, is_a() and is_subclass_of() functions to not call __autoload().
/php-src/Zend/zend_execute_API.c
|
| 6319efa |
|
02-Sep-2005 |
Dmitry Stogov <dmitry@php.net> |
Fixed bug #34260 (Segfault with callbacks (array_map) + overloading)
/php-src/Zend/zend_execute_API.c
|
| 916815b |
|
03-Aug-2005 |
foobar <sniper@php.net> |
Bump up the year
/php-src/Zend/zend_execute_API.c
|
| 650cdae |
|
02-Aug-2005 |
Dmitry Stogov <dmitry@php.net> |
Fixed bug #33942 (the patch to #33156 crash cygwin except cli)
/php-src/Zend/zend_execute_API.c
|
| 2a8cd27 |
|
26-Jul-2005 |
foobar <sniper@php.net> |
bug #33865
/php-src/Zend/zend_execute_API.c
|
| e11fc8b |
|
21-Jul-2005 |
Marcus Boerger <helly@php.net> |
- Fix error generation logic (found by johannes)
/php-src/Zend/zend_execute_API.c
|
| c25b8a3 |
|
12-Jul-2005 |
Dmitry Stogov <dmitry@php.net> |
Fixed bug #33156 (cygwin version of setitimer doesn't accept ITIMER_PROF). (Nuno)
/php-src/Zend/zend_execute_API.c
|
| d9c1a38 |
|
07-Jul-2005 |
Dmitry Stogov <dmitry@php.net> |
Fixed bug #28072 (static array with some constant keys will be incorrectly ordered).
/php-src/Zend/zend_execute_API.c
|
| 1d33a3e |
|
04-Jul-2005 |
Dmitry Stogov <dmitry@php.net> |
Fixed bug #31158 (array_splice on $GLOBALS crashes)
/php-src/Zend/zend_execute_API.c
|
| 12b66c2 |
|
24-Jun-2005 |
Dmitry Stogov <dmitry@php.net> |
Fixed bug #30519 (Interface not existing says Class not found)
/php-src/Zend/zend_execute_API.c
|
| da2ab06 |
|
22-Jun-2005 |
Dmitry Stogov <dmitry@php.net> |
Fixed bug #29896 (Backtrace argument list out of sync)
/php-src/Zend/zend_execute_API.c
|
| aedbdb0 |
|
16-Jun-2005 |
Dmitry Stogov <dmitry@php.net> |
Allowed return by refrence from internal functions
/php-src/Zend/zend_execute_API.c
|
| 59a46c3 |
|
09-Jun-2005 |
Dmitry Stogov <dmitry@php.net> |
Fixed double call to php_stream_close() on compiler errors
/php-src/Zend/zend_execute_API.c
|
| 9affa32 |
|
08-Jun-2005 |
Dmitry Stogov <dmitry@php.net> |
Fixed bug #30140 (Problem with array in static properties)
/php-src/Zend/zend_execute_API.c
|
| d2018ef |
|
26-May-2005 |
Dmitry Stogov <dmitry@php.net> |
Fixed bug #33116 (crash when assigning class name to global variable in __autoload).
/php-src/Zend/zend_execute_API.c
|
| ba7123f |
|
18-May-2005 |
Stanislav Malyshev <stas@php.net> |
fix #29890 - crash when function call fails
/php-src/Zend/zend_execute_API.c
|
| 138c545 |
|
02-May-2005 |
Marcus Boerger <helly@php.net> |
- Part 2 of #30126: Enhancement for error message for abstract classes
/php-src/Zend/zend_execute_API.c
|
| f44dc4c |
|
02-May-2005 |
Marcus Boerger <helly@php.net> |
- Part 1 of #30126: Enhancement for error message for abstract classes
/php-src/Zend/zend_execute_API.c
|
| fcba5e0 |
|
26-Mar-2005 |
foobar <sniper@php.net> |
- Fixed bug #28839 (SIGSEGV in interactive mode (php -a)) (kameshj at fastmail dot fm)
/php-src/Zend/zend_execute_API.c
|
| 32c2e66 |
|
19-Mar-2005 |
Marcus Boerger <helly@php.net> |
- Fix all incarnations of bug #30266 # most probably we should emit a fatal error here but that has to be # discussed first
/php-src/Zend/zend_execute_API.c
|
| d8db1c2 |
|
13-Mar-2005 |
Marcus Boerger <helly@php.net> |
- Actually this is a much better error decription
/php-src/Zend/zend_execute_API.c
|
| 565e832 |
|
13-Mar-2005 |
Marcus Boerger <helly@php.net> |
- Bugfix #32290
/php-src/Zend/zend_execute_API.c
|
| a57b6ba |
|
13-Feb-2005 |
Marcus Boerger <helly@php.net> |
- Be more gracious in reflection API
/php-src/Zend/zend_execute_API.c
|
| 6159f69 |
|
12-Feb-2005 |
Marcus Boerger <helly@php.net> |
- Bugfix #30682 (autoconversion from false/true to 0/1 missing in case of static property default value)
/php-src/Zend/zend_execute_API.c
|
| 3925337 |
|
02-Feb-2005 |
Stanislav Malyshev <stas@php.net> |
Fix #31720 Invalid object callbacks not caught in array_walk() (patch from Antony Dovgal)
/php-src/Zend/zend_execute_API.c
|
| 0236e31 |
|
28-Jan-2005 |
Marcus Boerger <helly@php.net> |
- Fix severity (found by johannes)
/php-src/Zend/zend_execute_API.c
|
| e900369 |
|
17-Nov-2004 |
Stanislav Malyshev <stas@php.net> |
fix crash
/php-src/Zend/zend_execute_API.c
|
| e612284 |
|
03-Nov-2004 |
Derick Rethans <derick@php.net> |
- Fixed bug #30630: Added a BSD based strtod function that is locale-independent.
/php-src/Zend/zend_execute_API.c
|
| c5a9a5a |
|
30-Oct-2004 |
Marcus Boerger <helly@php.net> |
- Change zend_object_handlers->get_method() to allow aggregation for internal classes
/php-src/Zend/zend_execute_API.c
|
| 3f35c6a |
|
05-Oct-2004 |
Dmitry Stogov <dmitry@php.net> |
Added test cases for CV optimization patch
/php-src/Zend/zend_execute_API.c
|
| 11bcaed |
|
04-Oct-2004 |
Andi Gutmans <andi@php.net> |
- Rename delete_global_variable() to zend_delete_global_variable()
/php-src/Zend/zend_execute_API.c
|
| db507dd |
|
04-Oct-2004 |
Andi Gutmans <andi@php.net> |
- Commit the variable fetch optimization. - Extensions which delete global variables need to use new special function - delete_global_variable() (I'm about to rename it) to remove them. - Will post to internals@ or via commit messages if there's anything else.
/php-src/Zend/zend_execute_API.c
|
| 3e2b49a |
|
28-Sep-2004 |
Andi Gutmans <andi@php.net> |
- Return the warning until we check if we can change the type of str.len
/php-src/Zend/zend_execute_API.c
|
| 16c1f0a |
|
27-Sep-2004 |
Marcus Boerger <helly@php.net> |
- Fix warning # What's the reason _zvalue_value.str.len is int instead of uint/zend_uint?
/php-src/Zend/zend_execute_API.c
|
| f82ed13 |
|
23-Sep-2004 |
Andi Gutmans <andi@php.net> |
- Commit new VM architecture. This one allows people (aka Derick) to - ask the engine to use function handler mode. Will update the README - about that.
/php-src/Zend/zend_execute_API.c
|
| b04db9d |
|
23-Sep-2004 |
Anantha Kesari H Y <hyanantha@php.net> |
Reverted the NetWare Specific Stack limit related patches as asked by Andi
/php-src/Zend/zend_execute_API.c
|
| b66e7ae |
|
22-Sep-2004 |
Anantha Kesari H Y <hyanantha@php.net> |
NetWare specific stack limit checks
/php-src/Zend/zend_execute_API.c
|
| 3755c03 |
|
17-Sep-2004 |
Stanislav Malyshev <stas@php.net> |
fix crash when dtor is fialing on shutdown
/php-src/Zend/zend_execute_API.c
|
| 96ab56e |
|
09-Sep-2004 |
Andi Gutmans <andi@php.net> |
- Roll back VM commit
/php-src/Zend/zend_execute_API.c
|
| 8eb8850 |
|
08-Sep-2004 |
Andi Gutmans <andi@php.net> |
- Some architectural changes: a) We specialize opcodes according to op_type fields. Each opcode has to be marked with which op_type's it uses. b) We support different execution methods. Function handlers, switch() and goto dispatching. goto seems to be the fastest but it really depends on the compiler and how well it optimizes. I suggest playing around with optimization flags. - Warning: Things might break so keep us posted on how things are going. (Dmitry, Andi)
/php-src/Zend/zend_execute_API.c
|
| b7a8297 |
|
23-Aug-2004 |
Marcus Boerger <helly@php.net> |
- Boost up __autoload() calls by caching the lookup
/php-src/Zend/zend_execute_API.c
|
| 57ba9b8 |
|
19-Aug-2004 |
Andi Gutmans <andi@php.net> |
- Second wave of garbage removal.
/php-src/Zend/zend_execute_API.c
|
| 5f0433d |
|
02-Aug-2004 |
Marcus Boerger <helly@php.net> |
MFB: Enforce protocol on magic methods/functions
/php-src/Zend/zend_execute_API.c
|
| d7c839d |
|
30-Jul-2004 |
Andi Gutmans <andi@php.net> |
- More ptr_stack optimizations and cleanups
/php-src/Zend/zend_execute_API.c
|
| 0cd2da0 |
|
25-Jul-2004 |
Marcus Boerger <helly@php.net> |
- Execute destructors earlier (Florian Schaper, fschaper at intux org)
/php-src/Zend/zend_execute_API.c
|
| af9c0b8 |
|
18-Jul-2004 |
Wez Furlong <wez@php.net> |
No point allocating 0 bytes
/php-src/Zend/zend_execute_API.c
|
| d80297b |
|
18-May-2004 |
Wez Furlong <wez@php.net> |
Fix bug #28438: win32 build fails in non-zts mode
/php-src/Zend/zend_execute_API.c
|
| 09d1d23 |
|
28-Mar-2004 |
Dmitry Stogov <dmitry@php.net> |
fix of fix related to __autoload. (ext/standard/tests/network/bug20134.phpt passes again)
/php-src/Zend/zend_execute_API.c
|
| d6d52f6 |
|
25-Mar-2004 |
Andi Gutmans <andi@php.net> |
/* The compiler is not-reentrant. Make sure we __autoload() only during run-time * (doesn't impact fuctionality of __autoload() */
/php-src/Zend/zend_execute_API.c
|
| 2bbba73 |
|
25-Mar-2004 |
Dmitry Stogov <dmitry@php.net> |
Using ALLOC_HASHTABLE/FREE_HASHTABLE instead of emalloc/free.
/php-src/Zend/zend_execute_API.c
|
| 55cf45a |
|
24-Mar-2004 |
Dmitry Stogov <dmitry@php.net> |
New autoload protection schema was implemented (Using HashTable instead of boolean flag)
/php-src/Zend/zend_execute_API.c
|
| cbaa43f |
|
16-Mar-2004 |
Marcus Boerger <helly@php.net> |
Fix SEGV in certain conditions while calling static methods
/php-src/Zend/zend_execute_API.c
|
| 6e8c176 |
|
16-Mar-2004 |
Marcus Boerger <helly@php.net> |
TSRM fix
/php-src/Zend/zend_execute_API.c
|
| b0dbd2a |
|
16-Mar-2004 |
Derick Rethans <derick@php.net> |
- Spaces to tabs
/php-src/Zend/zend_execute_API.c
|
| 833b97d |
|
16-Mar-2004 |
Andi Gutmans <andi@php.net> |
- If the called method is static then don't define $this
/php-src/Zend/zend_execute_API.c
|
| 0041aff |
|
16-Mar-2004 |
Andi Gutmans <andi@php.net> |
- Error out if get_method() isn't defined. - Use calling scope of internal function callee when calling a method using static syntax (array("A", "func"));
/php-src/Zend/zend_execute_API.c
|
| 09e7647 |
|
16-Mar-2004 |
Marcus Boerger <helly@php.net> |
Improve error message
/php-src/Zend/zend_execute_API.c
|
| 1aedb96 |
|
14-Mar-2004 |
Andi Gutmans <andi@php.net> |
- Fix windows build
/php-src/Zend/zend_execute_API.c
|
| 37d713e |
|
14-Mar-2004 |
Andi Gutmans <andi@php.net> |
- Fix for bug #27504
/php-src/Zend/zend_execute_API.c
|
| 50ee116 |
|
09-Mar-2004 |
Marcus Boerger <helly@php.net> |
Clearify the different method/class flags (as discussed with Andi).
/php-src/Zend/zend_execute_API.c
|
| c3b06ea |
|
08-Mar-2004 |
Marcus Boerger <helly@php.net> |
Check count.
/php-src/Zend/zend_execute_API.c
|
| 7c72f6f |
|
01-Mar-2004 |
Andi Gutmans <andi@php.net> |
- Fix crash in exception handling (zend_exception_error(...) and zend_eval_string_ex() were buggy (Dmitry, Andi)
/php-src/Zend/zend_execute_API.c
|
| eb6fd52 |
|
25-Feb-2004 |
Zeev Suraski <zeev@php.net> |
- Rename compatiblity mode to zend.ze2_compatibility_mode (it doesn't only affect auto-clone). - Perform implementation checks even with simple inheritance (off when compatibility mode is enabled). - Restore default arguments in interfaces and handle it correctly. - Move registration of internal classes later in the startup sequence in order to have INI options available.
/php-src/Zend/zend_execute_API.c
|
| 00ed3ba |
|
12-Feb-2004 |
Zeev Suraski <zeev@php.net> |
Centralize exceptions code in zend_exceptions.[ch]. Remove zend_default_classes.h (use zend_exceptions.h instead) NOTE: This currently breaks the build, fixes to php-src and pecl coming soon
/php-src/Zend/zend_execute_API.c
|
| d9630a5 |
|
12-Feb-2004 |
Zeev Suraski <zeev@php.net> |
Exceptions updates: - Enforce exceptions to be derived from class Exception. This allows users to perform catch-all. It's not yet complete, so don't get comfortable with it just yet :) Updates are coming soon. - Implement zend_throw_exception() using zend_throw_exception_ex()
/php-src/Zend/zend_execute_API.c
|
| 559b146 |
|
12-Feb-2004 |
Andi Gutmans <andi@php.net> |
- Add API function to throw exception by using an object
/php-src/Zend/zend_execute_API.c
|
| 7539079 |
|
11-Feb-2004 |
Zeev Suraski <zeev@php.net> |
Fix bug #25038
/php-src/Zend/zend_execute_API.c
|
| 6b6fe2f |
|
11-Feb-2004 |
Zeev Suraski <zeev@php.net> |
Fix exceptions thrown without a stack frame Always enable set_exception_handler()
/php-src/Zend/zend_execute_API.c
|
| 73a6bcf |
|
11-Feb-2004 |
Zeev Suraski <zeev@php.net> |
Complete the fix for handling of exceptions happening during the argument passing phase of function calls (fixes bug #26866)
/php-src/Zend/zend_execute_API.c
|
| 4b632eb |
|
11-Feb-2004 |
Zeev Suraski <zeev@php.net> |
whitespace
/php-src/Zend/zend_execute_API.c
|
| da36a7c |
|
10-Feb-2004 |
Zeev Suraski <zeev@php.net> |
Fix bug #26869
/php-src/Zend/zend_execute_API.c
|
| e28ab68 |
|
04-Feb-2004 |
Zeev Suraski <zeev@php.net> |
Fix exceptions happening inside internal functions called through zend_user_function()
/php-src/Zend/zend_execute_API.c
|
| 14ac17f |
|
04-Feb-2004 |
Zeev Suraski <zeev@php.net> |
Remove double initialization
/php-src/Zend/zend_execute_API.c
|
| c5d8422 |
|
04-Feb-2004 |
Zeev Suraski <zeev@php.net> |
Reinstate early-binding for classes. Note that this is available for downwards compatibility only - and it doesn't work if you use new features (namely, interfaces). Generally, people should declare their classes before using them, but we just didn't want hell to break loose (c)
/php-src/Zend/zend_execute_API.c
|
| f5f7d56 |
|
04-Feb-2004 |
Zeev Suraski <zeev@php.net> |
Change destructor implementation (details will follow on internals@)
/php-src/Zend/zend_execute_API.c
|
| c5a7b66 |
|
03-Feb-2004 |
Zeev Suraski <zeev@php.net> |
- Clean garbage (delete was nuked a long time ago)
/php-src/Zend/zend_execute_API.c
|
| 9e60cb5 |
|
03-Feb-2004 |
Zeev Suraski <zeev@php.net> |
Rewrote exception support. Fixes a few limitations and bugs in the old implementation, and allows exceptions to 'fire' much earlier than before. Instructions on how to use the new mechanism will follow on internals@ shortly... Note - this (most probably) breaks the current implementation of set_exception_handler()
/php-src/Zend/zend_execute_API.c
|
| c15d4dd |
|
28-Jan-2004 |
Zeev Suraski <zeev@php.net> |
Forward-port fix for timeouts under Windows
/php-src/Zend/zend_execute_API.c
|
| 3ca4453 |
|
24-Jan-2004 |
Marcus Boerger <helly@php.net> |
Switch from ZEND_ACC_DYNAMIC to ZEND_ACC_ALLOW_STATIC and disallow calling internal non-static methods statically. # As discussed with Zeev: # - For BC standard userspace methods allow this with an E_STRICT message. # - If you want to implement an internal method taht can be called both # statically and non-statically then use flag ZEND_ACC_ALLOW_STATIC. # - Magic user space methods __*() cannot and __construct, __destruct, # __clone can never be called statically.
/php-src/Zend/zend_execute_API.c
|
| 1e902b6 |
|
24-Jan-2004 |
Sebastian Bergmann <sebastian@php.net> |
Change message as proposed by Jon.
/php-src/Zend/zend_execute_API.c
|
| 6020ffd |
|
23-Jan-2004 |
Marcus Boerger <helly@php.net> |
Simplify detection of methods that must be called dynamic (with object)
/php-src/Zend/zend_execute_API.c
|
| 79e7145 |
|
23-Jan-2004 |
Marcus Boerger <helly@php.net> |
Disallow calling __clone/__construct/__destruct static Send an E_STRICT when calling a non static method static
/php-src/Zend/zend_execute_API.c
|
| 3df0288 |
|
18-Jan-2004 |
Marcus Boerger <helly@php.net> |
Improove debug capabilities
/php-src/Zend/zend_execute_API.c
|
| a72c1ab |
|
10-Jan-2004 |
Zeev Suraski <zeev@php.net> |
Added error mask to set_error_handler() Patch by Christian Schneider <cschneid@cschneid.com>
/php-src/Zend/zend_execute_API.c
|
| ccfc46b |
|
08-Jan-2004 |
foobar <sniper@php.net> |
- Happy new year and PHP 5 for rest of the files too.. # Should the LICENSE and Zend/LICENSE dates be updated too?
/php-src/Zend/zend_execute_API.c
|
| 03e039b |
|
29-Dec-2003 |
Marcus Boerger <helly@php.net> |
Fix __autoload() with derived classes
/php-src/Zend/zend_execute_API.c
|
| c6cb00f |
|
23-Dec-2003 |
Marcus Boerger <helly@php.net> |
Fixed bug #26697 (calling class_exists on a nonexistent class in __autoload results in segfault).
/php-src/Zend/zend_execute_API.c
|
| ae4a09b |
|
17-Dec-2003 |
Dmitry Stogov <dmitry@php.net> |
*** empty log message ***
/php-src/Zend/zend_execute_API.c
|
| 20f73cd |
|
17-Dec-2003 |
Dmitry Stogov <dmitry@php.net> |
Access to globals/autoglobals from class __destructor was fixed. (see "tests/lang/bug24908.phpt" and "tests/classes/destructor_and_globals.phpt")
/php-src/Zend/zend_execute_API.c
|
| 2d92813 |
|
15-Dec-2003 |
Dmitry Stogov <dmitry@php.net> |
Memory corruptions were fixed in zend_str_tolower_copy()
/php-src/Zend/zend_execute_API.c
|
| 39544e1 |
|
11-Dec-2003 |
Marcus Boerger <helly@php.net> |
Bugfix: #26591 [NEW]: "__autoload threw an exception" during an uncaught Exception
/php-src/Zend/zend_execute_API.c
|
| 310d6c5 |
|
10-Dec-2003 |
Marcus Boerger <helly@php.net> |
Do not double copy the string
/php-src/Zend/zend_execute_API.c
|
| d344648 |
|
24-Nov-2003 |
Andi Gutmans <andi@php.net> |
- Fix __autoload() to preserve class case. - Heads up, this patch might break stuff so please let me know if you - bump into any problems.
/php-src/Zend/zend_execute_API.c
|
| f3d385a |
|
07-Nov-2003 |
Marcus Boerger <helly@php.net> |
Make __autoload() faster
/php-src/Zend/zend_execute_API.c
|
| b28db6a |
|
24-Oct-2003 |
Marcus Boerger <helly@php.net> |
Revert accidental commit
/php-src/Zend/zend_execute_API.c
|
| 071eaf8 |
|
24-Oct-2003 |
Marcus Boerger <helly@php.net> |
Zend/ZEND_CHANGES
/php-src/Zend/zend_execute_API.c
|
| 6a71c1d |
|
14-Oct-2003 |
Stanislav Malyshev <stas@php.net> |
The freed one is a hashtable - may matter if Hashtables are allocated differently
/php-src/Zend/zend_execute_API.c
|
| b163778 |
|
11-Sep-2003 |
Stanislav Malyshev <stas@php.net> |
ws
/php-src/Zend/zend_execute_API.c
|
| 406ff72 |
|
11-Sep-2003 |
Stanislav Malyshev <stas@php.net> |
Use scope from method, not from object
/php-src/Zend/zend_execute_API.c
|
| 1257b40 |
|
01-Sep-2003 |
Marcus Boerger <helly@php.net> |
WS
/php-src/Zend/zend_execute_API.c
|
| 19ec7a0 |
|
24-Aug-2003 |
Marcus Boerger <helly@php.net> |
- Provide appropriate way to destroy internal zval's. - Allow internal zval's of type string and disallow complex types. - Define the default string for extensions at class level instead of ctor.
/php-src/Zend/zend_execute_API.c
|
| d3473d1 |
|
24-Aug-2003 |
Marcus Boerger <helly@php.net> |
- Provide a unified way to display uncaught exceptions, which shows file/line/message info if possible. - Add zend_eval_string_ex() to be able to handle exceptions in eval'd code. - Use above function to fix memleaks in CLI.
/php-src/Zend/zend_execute_API.c
|
| 5b312b5 |
|
07-Aug-2003 |
Zeev Suraski <zeev@php.net> |
Clarify use of original_function_state_ptr
/php-src/Zend/zend_execute_API.c
|
| e9a4c91 |
|
07-Aug-2003 |
Marcus Boerger <helly@php.net> |
- Fix warnings - Fix code
/php-src/Zend/zend_execute_API.c
|
| 0a83ebf |
|
06-Aug-2003 |
Zeev Suraski <zeev@php.net> |
clarify :)
/php-src/Zend/zend_execute_API.c
|
| cc01166 |
|
05-Aug-2003 |
foobar <sniper@php.net> |
Fix the build
/php-src/Zend/zend_execute_API.c
|
| 92b4013 |
|
05-Aug-2003 |
Zeev Suraski <zeev@php.net> |
Try to put an end to the endless number of call_user_function variants. zend_call_function() now takes a structure that should contain all of the necessary information. If further information is necessary in the future, then we'll be able to add it without having to introduce a new function. As for caching - the 2nd, optional argument is a struct that can hold all of the information that's necessary to invoke the function, including its handler, scope and object it operates on (if any). Note that you may only use a cache if the arguments you provide to zend_call_function() are identical to the ones of the last call, except for the argument and return value information. The recently introduced fast_call_user_function() was removed I fixed most of the places that used fast_call_user_function() to use caching but there are still some that need to be fixed (XML and reflection)
/php-src/Zend/zend_execute_API.c
|
| f572897 |
|
05-Aug-2003 |
Stanislav Malyshev <stas@php.net> |
remove stack clean - it makes trouble
/php-src/Zend/zend_execute_API.c
|
| 65557ef |
|
04-Aug-2003 |
Marcus Boerger <helly@php.net> |
Nuke unused variables
/php-src/Zend/zend_execute_API.c
|
| 1007b0a |
|
04-Aug-2003 |
Ilia Alshanetsky <iliaa@php.net> |
Fixed bug #23104 (hash position of static arrays not being reset)
/php-src/Zend/zend_execute_API.c
|
| 2884e8a |
|
04-Aug-2003 |
Stanislav Malyshev <stas@php.net> |
oops. forgot function
/php-src/Zend/zend_execute_API.c
|
| 7cb1730 |
|
04-Aug-2003 |
Stanislav Malyshev <stas@php.net> |
fix crash #24842
/php-src/Zend/zend_execute_API.c
|
| f8bbafd |
|
03-Aug-2003 |
Zeev Suraski <zeev@php.net> |
ntroduce infrastructure for supplying information about arguments, including: - Whether or not to pass by ref (replaces the old arg_types, with arg_info) - Argument name (for future use, maybe introspection) - Class/Interface name (for type hints) - If a class/interface name is available, whether to allow a null instance Both user and builtin functions share the same data structures. To declare a builtin function that expects its first arg to be an instance of class 'Person', its second argument as a regular arg, and its third by reference, use: ZEND_BEGIN_ARG_INFO(my_func_arg_info, 0) ZEND_ARG_OBJ_INFO(0, someone, Person, 1) ZEND_ARG_PASS_INFO(0) ZEND_ARG_PASS_INFO(1) ZEND_END_ARG_INFO(); and use my_func_arg_info as the arg_info parameter to the ZEND_FE() family of macros. The first arg to each ZEND_ARG_*() macro is whether or not to pass by ref. The boolean arg to ZEND_BEGIN_ARG_INFO() tells the engine whether to treat the arguments for which there's no explicit information as pass by reference or not. The boolean argument to ZEND_ARG_OBJ_INFO() (4th arg) is whether or not to allownull values.
/php-src/Zend/zend_execute_API.c
|
| 9d7122f |
|
03-Aug-2003 |
Zeev Suraski <zeev@php.net> |
Generalize fetch_class
/php-src/Zend/zend_execute_API.c
|
| 47fef22 |
|
27-Jul-2003 |
Stanislav Malyshev <stas@php.net> |
change shutdown order so that dtors would coexist with object error handlers
/php-src/Zend/zend_execute_API.c
|
| 5bfd386 |
|
27-Jul-2003 |
Stanislav Malyshev <stas@php.net> |
make shutdown more granular so in case some dtor goes ape we still can shut down cleanly
/php-src/Zend/zend_execute_API.c
|
| 5a7b077 |
|
03-Jul-2003 |
Stanislav Malyshev <stas@php.net> |
Fix bug #19859 - allow fast_call_user_function to support __call
/php-src/Zend/zend_execute_API.c
|
| 92e9e0c |
|
02-Jul-2003 |
Sterling Hughes <sterling@php.net> |
optimize the case where the object is really a class name, as we don't need to set EX(object) here.
/php-src/Zend/zend_execute_API.c
|
| 3fc8302 |
|
02-Jul-2003 |
Sterling Hughes <sterling@php.net> |
Timm Friebe points out that object detection should be done regardless of the function pointer
/php-src/Zend/zend_execute_API.c
|
| bef4696 |
|
01-Jul-2003 |
Marcus Boerger <helly@php.net> |
small bugfix
/php-src/Zend/zend_execute_API.c
|
| 288dacc |
|
30-Jun-2003 |
Andi Gutmans <andi@php.net> |
- ZE coding style requires if ( instead of if(
/php-src/Zend/zend_execute_API.c
|
| fe1ef91 |
|
15-Jun-2003 |
Stanislav Malyshev <stas@php.net> |
No need to duplicate code - zend_get_constant() knows to handle class constants now
/php-src/Zend/zend_execute_API.c
|
| 95a936b |
|
15-Jun-2003 |
Stanislav Malyshev <stas@php.net> |
Fix bug #18872 - Improper handling of class constants used as default function argument values
/php-src/Zend/zend_execute_API.c
|
| efafae1 |
|
15-Jun-2003 |
Stanislav Malyshev <stas@php.net> |
Fix bug #21800 - initialize opcode handlers in interactive mode
/php-src/Zend/zend_execute_API.c
|
| f68c7ff |
|
10-Jun-2003 |
James Cox <imajes@php.net> |
updating license information in the headers.
/php-src/Zend/zend_execute_API.c
|
| 7959b2d |
|
09-Jun-2003 |
Wez Furlong <wez@php.net> |
Fix for Bug #23951
/php-src/Zend/zend_execute_API.c
|
| 565985a |
|
09-Jun-2003 |
Stanislav Malyshev <stas@php.net> |
Support 'self' and 'parent' in call_user_func()
/php-src/Zend/zend_execute_API.c
|
| f7f5a5e |
|
02-Jun-2003 |
Stanislav Malyshev <stas@php.net> |
MEGA-patch: namespaces are R.I.P.
/php-src/Zend/zend_execute_API.c
|
| 7af8ead |
|
21-May-2003 |
Marcus Boerger <helly@php.net> |
Make zend_str_tolower_copy() a copy function (like stccpy). Supply a dup version (like estrdup). Fix tolower() handling. # Havin copy and dup allows to use the faster version even with # memory not allocated by emalloc.
/php-src/Zend/zend_execute_API.c
|
| ca6ca5e |
|
20-May-2003 |
Sterling Hughes <sterling@php.net> |
optimize the lookups by avoiding a copy and then another pass Naked Dancing Girls should be given to: Myself, Zeev, Marcus, and George Schlossnagle (in no particular order)
/php-src/Zend/zend_execute_API.c
|
| 909eafc |
|
20-May-2003 |
Sterling Hughes <sterling@php.net> |
add fast_call_user_function()
/php-src/Zend/zend_execute_API.c
|
| fe47a38 |
|
12-May-2003 |
Marcus Boerger <helly@php.net> |
One function call is enough
/php-src/Zend/zend_execute_API.c
|
| 52ac291 |
|
20-Apr-2003 |
Stanislav Malyshev <stas@php.net> |
Check name before '::' so that it would be a namespace in zend_lookup_ns_class
/php-src/Zend/zend_execute_API.c
|
| 3b47a64 |
|
08-Apr-2003 |
Andrei Zmievski <andrei@php.net> |
Add zend_lookup_ns_class() function.
/php-src/Zend/zend_execute_API.c
|
| 3fc8528 |
|
26-Mar-2003 |
Sebastian Bergmann <sebastian@php.net> |
Eliminate TSRMLS_FETCH() calls in destroy_op_array() and zend_get_class_entry().
/php-src/Zend/zend_execute_API.c
|
| 36eae0b |
|
02-Mar-2003 |
Zeev Suraski <zeev@php.net> |
Fix destructors some more
/php-src/Zend/zend_execute_API.c
|
| 6d300ba |
|
16-Feb-2003 |
Sebastian Bergmann <sebastian@php.net> |
ZTS fixes
/php-src/Zend/zend_execute_API.c
|
| a4c3b2c |
|
16-Feb-2003 |
Stanislav Malyshev <stas@php.net> |
Namespace patch. Big changes: 1. Nested classes are gone. 2. New syntax for namespaces: namespace foo { class X { ... } function bar { ... } var x = 1; const ZZ = 2; } 3. Namespaced symbol access: $x = new foo::X; - etc. For now, namespaces are case insensitive, just like classes. Also, there can be no global class and namespace with the same name (to avoid ambiguities in :: resolution).
/php-src/Zend/zend_execute_API.c
|
| e62f37c |
|
14-Feb-2003 |
Thies C. Arntzen <thies@php.net> |
init current_execute_data befor we start executing
/php-src/Zend/zend_execute_API.c
|
| dbb73d8 |
|
10-Feb-2003 |
Zeev Suraski <zeev@php.net> |
Add ability to reference self:: and parent:: in constant initializers (bug #21849)
/php-src/Zend/zend_execute_API.c
|
| 333406b |
|
01-Feb-2003 |
foobar <sniper@php.net> |
- Added some missing CVS $Id$ tags, headers and footers.
/php-src/Zend/zend_execute_API.c
|
| 62db0b4 |
|
30-Jan-2003 |
Ilia Alshanetsky <iliaa@php.net> |
Fix ZTS build.
/php-src/Zend/zend_execute_API.c
|
| 03f88ac |
|
29-Jan-2003 |
Stanislav Malyshev <stas@php.net> |
Add additional stage to post-session cleanup. We need separate cleanup stage because of the following problem: Suppose we destroy class X, which destroys function table, and in function table we have function foo() that has static $bar. Now if object of class X was assigned to $bar, its destructor will be called and will fail since X's function table is in mid-destruction. So we want first of all to clean up all data and then move to tables destruction. Note that only run-time accessed data need to be cleaned up, pre-defined data can not contain objects and thus are not probelmatic. # Looks like we are having a lots of pain in the various parts of the body # because of the destructors...
/php-src/Zend/zend_execute_API.c
|
| f73def9 |
|
29-Jan-2003 |
Stanislav Malyshev <stas@php.net> |
Fix object destructors: zend_objects_store_call_destructors is not used anymore, we rely on symbol tables cleaners to destroy all objects.
/php-src/Zend/zend_execute_API.c
|
| 7a93625 |
|
23-Jan-2003 |
foobar <sniper@php.net> |
Fixed bug: #14542, register_shutdown_function() timeout problem
/php-src/Zend/zend_execute_API.c
|
| 424e98f |
|
12-Jan-2003 |
Zeev Suraski <zeev@php.net> |
Implemented compatibility mode To enable - zend2.implicit_clone = on in php.ini or using ini_set()
/php-src/Zend/zend_execute_API.c
|
| 2c44fab |
|
11-Jan-2003 |
Derick Rethans <derick@php.net> |
- Ported the zend_execute_internal hook to ZendEngine2.
/php-src/Zend/zend_execute_API.c
|
| 2c5d4b8 |
|
31-Dec-2002 |
Sebastian Bergmann <sebastian@php.net> |
Bump year.
/php-src/Zend/zend_execute_API.c
|
| 4f8c44b |
|
30-Dec-2002 |
Andrei Zmievski <andrei@php.net> |
Adjust the error message.
/php-src/Zend/zend_execute_API.c
|
| 671fff2 |
|
30-Nov-2002 |
Andi Gutmans <andi@php.net> |
h WHitespace
/php-src/Zend/zend_execute_API.c
|
| 4be862b |
|
19-Nov-2002 |
Zeev Suraski <zeev@php.net> |
MFZE1 - error_reporting fix
/php-src/Zend/zend_execute_API.c
|
| c92758c |
|
05-Nov-2002 |
Andi Gutmans <andi@php.net> |
- Fix bug introduced with type change of free_op1/2
/php-src/Zend/zend_execute_API.c
|
| e842ef9 |
|
12-Oct-2002 |
Ilia Alshanetsky <iliaa@php.net> |
MFZE1 (floats & locale issue)
/php-src/Zend/zend_execute_API.c
|
| d3617c5 |
|
09-Oct-2002 |
Ilia Alshanetsky <iliaa@php.net> |
MFZE1 zend_str_tolower issue.
/php-src/Zend/zend_execute_API.c
|
| ee7b8f9 |
|
26-Sep-2002 |
Ilia Alshanetsky <iliaa@php.net> |
MFZE1
/php-src/Zend/zend_execute_API.c
|
| bd11508 |
|
19-Sep-2002 |
Zeev Suraski <zeev@php.net> |
MFZE1 - connection_status() fix
/php-src/Zend/zend_execute_API.c
|
| a35c61a |
|
16-Sep-2002 |
Andrei Zmievski <andrei@php.net> |
MFZE1
/php-src/Zend/zend_execute_API.c
|
| 43139dc |
|
15-Sep-2002 |
Andi Gutmans <andi@php.net> |
- WS - Always use "if (" and not "if("
/php-src/Zend/zend_execute_API.c
|
| fcc0ce7 |
|
15-Sep-2002 |
Andi Gutmans <andi@php.net> |
- WS
/php-src/Zend/zend_execute_API.c
|
| 7fe216e |
|
10-Sep-2002 |
Stanislav Malyshev <stas@php.net> |
MFZE1
/php-src/Zend/zend_execute_API.c
|
| ca6717e |
|
10-Sep-2002 |
Stanislav Malyshev <stas@php.net> |
MFZE1
/php-src/Zend/zend_execute_API.c
|
| eef3e66 |
|
28-Aug-2002 |
Thies C. Arntzen <thies@php.net> |
debug_backtrace() - make args passed to functions called vy call_user_function available again.
/php-src/Zend/zend_execute_API.c
|
| 7ed2d36 |
|
23-Aug-2002 |
Thies C. Arntzen <thies@php.net> |
- debug_backtrace: added "type" ('->' or '::') for object calls. made calls done thru call_user_func show-up correct in backtraces. andi, does this look correct to you?
/php-src/Zend/zend_execute_API.c
|
| 04788f9 |
|
16-Aug-2002 |
Stig Bakken <ssb@php.net> |
@- Added set_exception_handler() function for registering a global, @ catch-all exception handling function (Stig) - Added set_exception_handler() function for registering a global, catch-all exception handling function (Stig)
/php-src/Zend/zend_execute_API.c
|
| 17d1c75 |
|
13-Aug-2002 |
Andi Gutmans <andi@php.net> |
- Fix crash when exception is raised in __autoload function
/php-src/Zend/zend_execute_API.c
|
| b476ddf |
|
27-Jul-2002 |
Andi Gutmans <andi@php.net> |
- Make sure classes are first looked for in the current scope. - Make sure that during inheritance the global scope is searched if the - current one doesn't work.
/php-src/Zend/zend_execute_API.c
|
| 401c26f |
|
29-Jun-2002 |
Andi Gutmans <andi@php.net> |
- Invalid -> Undefined
/php-src/Zend/zend_execute_API.c
|
| ede84fa |
|
29-Jun-2002 |
Andi Gutmans <andi@php.net> |
- Improve some error messages.
/php-src/Zend/zend_execute_API.c
|
| 737de1b |
|
26-Jun-2002 |
Andi Gutmans <andi@php.net> |
- Autoloading support based on patch from Ivan Ristic. - Again I hope this feature ends up working well because if it doesn't we - might need to nuke it. This only works for global scoped classes and it - will never work for sub-classes so don't even ask!!!!! - Just define an __autoload() function in the global scope and it will be - called with the class name as the parameter if it doesn't manage to find - the class.
/php-src/Zend/zend_execute_API.c
|
| 690c85b |
|
16-Jun-2002 |
Andi Gutmans <andi@php.net> |
- Fix bug in class constants - Start centralizing main class lookups. This will help implement - __autload()
/php-src/Zend/zend_execute_API.c
|
| f75f3cf |
|
31-May-2002 |
Stanislav Malyshev <stas@php.net> |
Generalize object storage and reference bookkeeping
/php-src/Zend/zend_execute_API.c
|
| 7e5ec2d |
|
02-May-2002 |
Andi Gutmans <andi@php.net> |
Initial support for built-in backtracing. There are still a few problems such as includes and calling other functions from internal functions which aren't seen (will have to think if and how to fix this). Also the main scripts filename isn't available. Need to think about that.
/php-src/Zend/zend_execute_API.c
|
| 51e797f |
|
23-Apr-2002 |
Harald Radi <phanto@php.net> |
some type cleanup work
/php-src/Zend/zend_execute_API.c
|
| 579b9bf |
|
20-Apr-2002 |
Zeev Suraski <zeev@php.net> |
MFZE1
/php-src/Zend/zend_execute_API.c
|
| 3af5b15 |
|
14-Mar-2002 |
Stanislav Malyshev <stas@php.net> |
Fix call_user_function
/php-src/Zend/zend_execute_API.c
|
| 92dd5e6 |
|
12-Mar-2002 |
Stanislav Malyshev <stas@php.net> |
- make class tables contain class_entry *, not class_entry - fix isset($this)
/php-src/Zend/zend_execute_API.c
|
| 90bd453 |
|
01-Mar-2002 |
Andi Gutmans <andi@php.net> |
- Remove use of C++ reserved words namespace/this
/php-src/Zend/zend_execute_API.c
|
| 6608f07 |
|
07-Feb-2002 |
Stanislav Malyshev <stas@php.net> |
Mega-commit: Enter the new object model Note: only standard Zend objects are working now. This is definitely going to break custom objects like COM, Java, etc. - this will be fixed later. Also, this may break other things that access objects' internals directly.
/php-src/Zend/zend_execute_API.c
|
| 7309a6e |
|
25-Jan-2002 |
Andi Gutmans <andi@php.net> |
- First destructor hell fix. There was a situation where an object's - destructor could be run after its class was already dead. Right now - object destructors is the first thing whic happens during shutdown in - order to prevent this problem. It's very likely that destructors will - cause more grief and we'll have to outline exactly when you should use - them and what kind of logic you're allowed to do inside of them. - This bug was reported by sebastian.
/php-src/Zend/zend_execute_API.c
|
| 2131b01 |
|
20-Jan-2002 |
Andi Gutmans <andi@php.net> |
- Improve performance of functions that use $GLOBALS[] - Please check this and make sure it doesn't break anything.
/php-src/Zend/zend_execute_API.c
|
| 65f0154 |
|
14-Jan-2002 |
Andi Gutmans <andi@php.net> |
- Fix crash bug in call_user_function_ex(). Thanks to Sebastian for the - very nice and short reproducing script. <?php $array = array('foo', 'bar'); uasort($array, 'cmp'); function cmp($a, $b) { return (strcmp($a[1], $b[1])); } ?>
/php-src/Zend/zend_execute_API.c
|
| 62dc854 |
|
06-Jan-2002 |
Sebastian Bergmann <sebastian@php.net> |
Happy New Year.
/php-src/Zend/zend_execute_API.c
|
| a4248dd |
|
05-Jan-2002 |
Andi Gutmans <andi@php.net> |
- Significantly improve the performance of method calls and $this->member - lookups.
/php-src/Zend/zend_execute_API.c
|
| 5cb454a |
|
26-Dec-2001 |
Andi Gutmans <andi@php.net> |
- Fix scoping issue. The following works now: <? class MyClass { static $id = 0; function MyClass() { $this->id = self::$id++; } function _clone() { $this->name = $clone->name; $this->address = "New York"; $this->id = self::$id++; } } $obj = new MyClass(); $obj->name = "Hello"; $obj->address = "Tel-Aviv"; print $obj->id; print "\n"; $obj = $obj->_clone(); print $obj->id; print "\n"; print $obj->name; print "\n"; print $obj->address; print "\n";
/php-src/Zend/zend_execute_API.c
|
| 9e7c0d6 |
|
22-Dec-2001 |
Andi Gutmans <andi@php.net> |
- Add initial capability of defining nested classes as class foo::bar
/php-src/Zend/zend_execute_API.c
|
| f4b832d |
|
13-Dec-2001 |
Andi Gutmans <andi@php.net> |
- Fix crash bug in startup code. - Start work on being able to reference global and local scope
/php-src/Zend/zend_execute_API.c
|
| 4cb97fa |
|
11-Dec-2001 |
Andi Gutmans <andi@php.net> |
- Rename zend_class_entry.constants -> zend_class_entry.constants_table
/php-src/Zend/zend_execute_API.c
|
| d863d52 |
|
11-Dec-2001 |
Sebastian Bergmann <sebastian@php.net> |
Update headers.
/php-src/Zend/zend_execute_API.c
|
| 4248619 |
|
06-Dec-2001 |
Andi Gutmans <andi@php.net> |
- Initial work on changing namespace scope. Only methods & variables - right now. <? $hey = "Global hey\n"; class foo { static $hey = "Namespace hey\n"; function bar() { print "in foo::bar()\n"; } } function bar() { print "in bar()\n"; } bar(); namespace foo; bar(); namespace; bar(); namespace foo; $bar_indirect = "bar"; $bar_indirect(); namespace; print $hey; namespace foo; print $hey; $hey = "Namespace hey #2\n"; namespace; print $hey; $hey = "Global hey #2\n"; namespace foo; print $hey; ?>
/php-src/Zend/zend_execute_API.c
|
| fe94f59 |
|
06-Dec-2001 |
Andi Gutmans <andi@php.net> |
- Nuke the namespace work I did. It'll be redone differently.
/php-src/Zend/zend_execute_API.c
|
| e858d27 |
|
30-Nov-2001 |
Andi Gutmans <andi@php.net> |
- Initial support for class constants. There are still a few semantic - issues which need to be looked into but basically it seems to work. - Example: <?php class foo { const hey = "hello"; } print foo::hey; ?>
/php-src/Zend/zend_execute_API.c
|
| 89a0e85 |
|
26-Oct-2001 |
Andi Gutmans <andi@php.net> |
- Fix Zeev's MFZE1
/php-src/Zend/zend_execute_API.c
|
| aecd5b8 |
|
23-Oct-2001 |
Zeev Suraski <zeev@php.net> |
MFZE1
/php-src/Zend/zend_execute_API.c
|
| 2eabb14 |
|
30-Sep-2001 |
Andi Gutmans <andi@php.net> |
- Merge the NAMESPACES_BRANCH. It wasn't a good idea to have a branch when - the whole CVS tree is work in progress
/php-src/Zend/zend_execute_API.c
|
| b06440b |
|
10-Sep-2001 |
Zeev Suraski <zeev@php.net> |
MFZE1 (support return value in execute_scripts)
/php-src/Zend/zend_execute_API.c
|
| 29f5dbe |
|
30-Aug-2001 |
Andi Gutmans <andi@php.net> |
- Initial support for exceptions.
/php-src/Zend/zend_execute_API.c
|
| 4757104 |
|
21-Aug-2001 |
Zeev Suraski <zeev@php.net> |
MFZE1
/php-src/Zend/zend_execute_API.c
|
| 4f6c95d |
|
11-Aug-2001 |
Zeev Suraski <zeev@php.net> |
Whitespace
/php-src/Zend/zend_execute_API.c
|
| 5af7770 |
|
07-Aug-2001 |
Andi Gutmans <andi@php.net> |
- Sync Engine2 CVS with latest Engine CVS
/php-src/Zend/zend_execute_API.c
|
| c14baee |
|
02-Aug-2001 |
Zeev Suraski <zeev@php.net> |
Avoid going over huge lists of functions, classes and constants. Special thanks to the guys from the MS lab for the profiling tools :)
/php-src/Zend/zend_execute_API.c
|
| 7deb44e |
|
02-Aug-2001 |
Zeev Suraski <zeev@php.net> |
Some cleanup
/php-src/Zend/zend_execute_API.c
|
| d76cf1d |
|
31-Jul-2001 |
Zeev Suraski <zeev@php.net> |
More TSRMLS_FETCH work
/php-src/Zend/zend_execute_API.c
|
| 4187439 |
|
30-Jul-2001 |
Zeev Suraski <zeev@php.net> |
More TSRMLS_FETCH work
/php-src/Zend/zend_execute_API.c
|
| 8ce8324 |
|
30-Jul-2001 |
Zeev Suraski <zeev@php.net> |
More TSRMLS_FETCH annihilation
/php-src/Zend/zend_execute_API.c
|
| b577038 |
|
30-Jul-2001 |
Zeev Suraski <zeev@php.net> |
Avoid TSRMLS_FETCH()'s (still lots of work left)
/php-src/Zend/zend_execute_API.c
|
| b4f3b9d |
|
28-Jul-2001 |
Zeev Suraski <zeev@php.net> |
Redesigned thread safety mechanism - nua nua
/php-src/Zend/zend_execute_API.c
|
| 2c254ba |
|
27-Jul-2001 |
Zeev Suraski <zeev@php.net> |
Get rid of ELS_*(), and use TSRMLS_*() instead. This patch is *bound* to break some files, as I must have had typos somewhere. If you use any uncommon extension, please try to build it...
/php-src/Zend/zend_execute_API.c
|
| 931ebe0 |
|
21-Jul-2001 |
Zeev Suraski <zeev@php.net> |
Improve bailout mechanism, supports nesting of bailouts a-la try..catch
/php-src/Zend/zend_execute_API.c
|
| 8084d27 |
|
20-Jul-2001 |
Zeev Suraski <zeev@php.net> |
Implement a more granular shutdown mechanism for the executor - prevent corruption of constants and missing destructions of resources
/php-src/Zend/zend_execute_API.c
|
| fb532ba |
|
16-Jul-2001 |
Zeev Suraski <zeev@php.net> |
Fix bug #10467
/php-src/Zend/zend_execute_API.c
|
| 9bd9862 |
|
15-Jul-2001 |
Zeev Suraski <zeev@php.net> |
Fix bug #10257
/php-src/Zend/zend_execute_API.c
|
| 85b4df5 |
|
15-Jul-2001 |
Zeev Suraski <zeev@php.net> |
Improved interactive mode - it is now available in all builds, without any significant slowdown
/php-src/Zend/zend_execute_API.c
|
| 8cd7092 |
|
21-Jun-2001 |
Andi Gutmans <andi@php.net> |
- Nuke dependency of all of PHP on zend_execute_locks.h.
/php-src/Zend/zend_execute_API.c
|
| 6cf6835 |
|
30-May-2001 |
Zeev Suraski <zeev@php.net> |
Add missing check
/php-src/Zend/zend_execute_API.c
|
| 686eab8 |
|
06-May-2001 |
Zeev Suraski <zeev@php.net> |
Hear hear, interactive mode is finally showing some progress: - Support function calls - Fix crash bug
/php-src/Zend/zend_execute_API.c
|
| ce7d0ef |
|
30-Apr-2001 |
Andi Gutmans <andi@php.net> |
- Fix crash bug in interactive mode
/php-src/Zend/zend_execute_API.c
|
| 0971ff9 |
|
27-Apr-2001 |
Andi Gutmans <andi@php.net> |
- Whitespace changes to be standard like the rest of Zend
/php-src/Zend/zend_execute_API.c
|
| 145a319 |
|
28-Feb-2001 |
Andrei Zmievski <andrei@php.net> |
Do case-insensitive class name matching when parsing array('Class', 'method') structure. You guys can clean it up, if there is a better way.
/php-src/Zend/zend_execute_API.c
|
| d2c9e80 |
|
26-Feb-2001 |
Andi Gutmans <andi@php.net> |
- Update copyright year
/php-src/Zend/zend_execute_API.c
|
| 488d808 |
|
12-Feb-2001 |
Andi Gutmans <andi@php.net> |
- Fix whitespace.
/php-src/Zend/zend_execute_API.c
|
| d854b26 |
|
12-Feb-2001 |
Zeev Suraski <zeev@php.net> |
Fix a bug that could cause corruption in case of an error during get_zval_ptr()
/php-src/Zend/zend_execute_API.c
|
| 98d8ba8 |
|
04-Feb-2001 |
Andrei Zmievski <andrei@php.net> |
Allow passing class name as well as an object instance to call methods.
/php-src/Zend/zend_execute_API.c
|
| 088a4b7 |
|
03-Feb-2001 |
Andrei Zmievski <andrei@php.net> |
Set the correct function state during execution. This is mainly to have get_active_function_name() to return proper value.
/php-src/Zend/zend_execute_API.c
|
| cec9476 |
|
24-Dec-2000 |
Zeev Suraski <zeev@php.net> |
More aggressive protection in call_user_function_ex()
/php-src/Zend/zend_execute_API.c
|
| f052eab |
|
23-Dec-2000 |
Zeev Suraski <zeev@php.net> |
Fix a possible crash bug in call_user_function_ex(), if the function is in fact not a user function
/php-src/Zend/zend_execute_API.c
|
| be895bc |
|
13-Dec-2000 |
Zeev Suraski <zeev@php.net> |
Fix call_user_function() with objects - it could leak under certain circumstances
/php-src/Zend/zend_execute_API.c
|
| dee2d85 |
|
11-Oct-2000 |
Zeev Suraski <zeev@php.net> |
Fix -a interactive mode (no idea how the previous commit got committed)
/php-src/Zend/zend_execute_API.c
|
| 5286b39 |
|
12-Sep-2000 |
Zeev Suraski <zeev@php.net> |
Make compile_string() accept a description of the code
/php-src/Zend/zend_execute_API.c
|
| 2078149 |
|
22-Aug-2000 |
Andi Gutmans <andi@php.net> |
- Fix bug report by Andrei when using a method as a sort user function - parameter in usort() like functions
/php-src/Zend/zend_execute_API.c
|
| c06692e |
|
09-Aug-2000 |
Zeev Suraski <zeev@php.net> |
The patch we promised - redesigned the compilation/execution API: Advantages: - Smaller memory footprint for the op arrays - Slightly faster compilation times (due to saved erealloc() calls and faster zend_op initialization) - include_once() & require_once() share the same file list - Consistency between include() and require() - this mostly means that return() works inside require()'d files just as it does in include() files (it used to be meaningless in require()'d files, most of the time (see below)) - Made require() consistent with itself. Before, if the argument was not a constant string, require() took the include() behavior (with return()). - Removed lots of duplicate code. Bottom line - require() and include() are very similar now; require() is simply an include() which isn't allowed to fail. Due to the erealloc() calls for large op arrays, require() didn't end up being any faster than include() in the Zend engine.
/php-src/Zend/zend_execute_API.c
|
| 91130b6 |
|
03-Jul-2000 |
Stanislav Malyshev <stas@php.net> |
Unblock SIGPROF signal when starting timer. On Linux, this signal is blocked by default after first signal is run
/php-src/Zend/zend_execute_API.c
|
| b72a273 |
|
02-Jul-2000 |
Andi Gutmans <andi@php.net> |
- Forgot ZEND_API
/php-src/Zend/zend_execute_API.c
|
| fde2e61 |
|
30-Jun-2000 |
Zeev Suraski <zeev@php.net> |
error_reporting fix
/php-src/Zend/zend_execute_API.c
|
| 202b810 |
|
26-Jun-2000 |
Zeev Suraski <zeev@php.net> |
Make max_execution_time work properly when set to 0 under Win32 (disable)
/php-src/Zend/zend_execute_API.c
|
| 34c2b0a |
|
17-Jun-2000 |
Zeev Suraski <zeev@php.net> |
- Add restore_error_handler() error_handler's are now stored in a stack
/php-src/Zend/zend_execute_API.c
|
| 3cda6a7 |
|
17-Jun-2000 |
Zeev Suraski <zeev@php.net> |
Allow the symbol_table to be passed to call_user_function_ex()
/php-src/Zend/zend_execute_API.c
|
| 84eb48f |
|
16-Jun-2000 |
Zeev Suraski <zeev@php.net> |
Ok, this time here's some real Win32 system programming :) Redesigned the timeout system using a single timeout thread and a single window, and used a much quicker check.
/php-src/Zend/zend_execute_API.c
|
| ae11748 |
|
16-Jun-2000 |
Andi Gutmans <andi@php.net> |
Fix UNIX build
/php-src/Zend/zend_execute_API.c
|
| ef0bd3d |
|
16-Jun-2000 |
Zeev Suraski <zeev@php.net> |
- Move timeout code to Zend - Implement timeouts in Win32
/php-src/Zend/zend_execute_API.c
|
| df74f1d |
|
13-Jun-2000 |
Sascha Schumann <sas@php.net> |
Add optional support for C0x inline semantics. These are enabled by specifying `--enable-c0x-inline' on the command line. We might add an autoconf check for this particular feature later.
/php-src/Zend/zend_execute_API.c
|
| 0395517 |
|
08-Jun-2000 |
Sascha Schumann <sas@php.net> |
Add a couple of casts
/php-src/Zend/zend_execute_API.c
|
| 1c36e34 |
|
04-Jun-2000 |
Zeev Suraski <zeev@php.net> |
Change shutdown order to sort out a crash when assigning a resource id to a static.
/php-src/Zend/zend_execute_API.c
|
| 5a35a6b |
|
03-Jun-2000 |
Zeev Suraski <zeev@php.net> |
Improve call_user_function() to support array($obj, $method)
/php-src/Zend/zend_execute_API.c
|
| 13b6762 |
|
31-May-2000 |
Zeev Suraski <zeev@php.net> |
Fix a bug in static initializers/default values/class member variables that contained array values
/php-src/Zend/zend_execute_API.c
|
| dc704e2 |
|
06-May-2000 |
Andi Gutmans <andi@php.net> |
- Make zend_eval_string() return SUCCESS/FAILURE
/php-src/Zend/zend_execute_API.c
|
| fa7c418 |
|
26-Apr-2000 |
Zeev Suraski <zeev@php.net> |
Fix - forgot to split away if refcount>1
/php-src/Zend/zend_execute_API.c
|
| 67f6974 |
|
19-Apr-2000 |
Zeev Suraski <zeev@php.net> |
Initial support for trapping errors (not complete and disabled; will be enabled only post-PHP 4.0.0)
/php-src/Zend/zend_execute_API.c
|
| 4cb9a48 |
|
15-Apr-2000 |
Zeev Suraski <zeev@php.net> |
- Clean up resource lists namespace - Prepare extended resource list destructor APIs (currently unused)
/php-src/Zend/zend_execute_API.c
|
| 804861c |
|
11-Apr-2000 |
Andi Gutmans <andi@php.net> |
- Fix memory leak
/php-src/Zend/zend_execute_API.c
|
| e663d85 |
|
10-Apr-2000 |
Zeev Suraski <zeev@php.net> |
Fix object overloading support
/php-src/Zend/zend_execute_API.c
|
| 7fd92b5 |
|
26-Mar-2000 |
Andi Gutmans <andi@php.net> |
- Stop zend_func_args() and co. from crashing
/php-src/Zend/zend_execute_API.c
|
| 5dba477 |
|
25-Mar-2000 |
Zeev Suraski <zeev@php.net> |
- Some header dependencies cleanup - Generalize zval_print() and zval_print_r()
/php-src/Zend/zend_execute_API.c
|
| 6db1899 |
|
24-Mar-2000 |
Andi Gutmans <andi@php.net> |
- Nuke hash_*_ptr functions
/php-src/Zend/zend_execute_API.c
|
| 5951b16 |
|
10-Mar-2000 |
Andi Gutmans <andi@php.net> |
- Quick way of supporting include_once(). Good enough for RC1.
/php-src/Zend/zend_execute_API.c
|
| 5e55e47 |
|
06-Mar-2000 |
Zeev Suraski <zeev@php.net> |
It's official now...
/php-src/Zend/zend_execute_API.c
|
| 0ac9536 |
|
19-Feb-2000 |
Zeev Suraski <zeev@php.net> |
(c) patch
/php-src/Zend/zend_execute_API.c
|
| f207b36 |
|
05-Feb-2000 |
Zeev Suraski <zeev@php.net> |
Pass the executor globals to internal functions
/php-src/Zend/zend_execute_API.c
|
| 9f51f15 |
|
05-Feb-2000 |
Zeev Suraski <zeev@php.net> |
- Stop passing list/plist to internal functions - Add a typedef for the pCopyConstructor function pointer - Minor hacks
/php-src/Zend/zend_execute_API.c
|
| b6197bc |
|
04-Feb-2000 |
Zeev Suraski <zeev@php.net> |
Maintain a state of whether we're compiling and/or executing
/php-src/Zend/zend_execute_API.c
|
| 485412e |
|
01-Feb-2000 |
Zeev Suraski <zeev@php.net> |
Improve dependencies
/php-src/Zend/zend_execute_API.c
|
| 131e3a0 |
|
01-Feb-2000 |
Andi Gutmans <andi@php.net> |
- Get rid of remains of garbage. - This should fix Thies' UMR
/php-src/Zend/zend_execute_API.c
|
| 11f5334 |
|
01-Feb-2000 |
Thies C. Arntzen <thies@php.net> |
moved destroying of garbage before resource-list gets destroyed - (see my previous mail) zeev, andi - please comment!
/php-src/Zend/zend_execute_API.c
|
| f2d3ce4 |
|
31-Jan-2000 |
Zeev Suraski <zeev@php.net> |
- Optimized garbage mechanism - Fixed another buglet in the parser
/php-src/Zend/zend_execute_API.c
|
| 8b9765a |
|
26-Jan-2000 |
Andi Gutmans <andi@php.net> |
- Keep objects as references.
/php-src/Zend/zend_execute_API.c
|
| 4585f7b |
|
26-Jan-2000 |
Andi Gutmans <andi@php.net> |
- Allow is_ref to become 0 in case the refcount is back to 1.
/php-src/Zend/zend_execute_API.c
|
| fafbf6d |
|
24-Jan-2000 |
Zeev Suraski <zeev@php.net> |
- Implement declare() with declarables framework - Implement ticks - Germany&Norway - 5 points!
/php-src/Zend/zend_execute_API.c
|
| adec569 |
|
24-Jan-2000 |
Zeev Suraski <zeev@php.net> |
Fixes
/php-src/Zend/zend_execute_API.c
|
| e6ba28b |
|
22-Jan-2000 |
Zeev Suraski <zeev@php.net> |
Fix an elusive bug
/php-src/Zend/zend_execute_API.c
|
| 62114c1 |
|
17-Jan-2000 |
Zeev Suraski <zeev@php.net> |
Destructors no longer return ints, the low level problem it was intended to solve is long gone now...
/php-src/Zend/zend_execute_API.c
|
| ee08b81 |
|
16-Jan-2000 |
Zeev Suraski <zeev@php.net> |
- Make zend_hash_apply() (and friends) reentrant and much, much quicker - Introduce zend_hash_graceful_destroy(), which allows the destructor functions to use zend_hash_apply() and/or zend_hash_graceful_destroy() - Switch to zend_hash_graceful_destroy() in the resource list shutdowns
/php-src/Zend/zend_execute_API.c
|
| caaeb9f |
|
15-Jan-2000 |
Zeev Suraski <zeev@php.net> |
Fix a bug in call_user_function_ex()
/php-src/Zend/zend_execute_API.c
|
| bdefd5d |
|
04-Jan-2000 |
Andi Gutmans <andi@php.net> |
- Change IS_UNSET -> IS_NULL
/php-src/Zend/zend_execute_API.c
|
| f2d703e |
|
31-Dec-1999 |
Zeev Suraski <zeev@php.net> |
- Nuke undefined_variable_string - Introduce IS_UNSET
/php-src/Zend/zend_execute_API.c
|
| b7a5b3c |
|
27-Dec-1999 |
Zeev Suraski <zeev@php.net> |
- Generalize the fast cache mechanism - Add the HashTable struct to the fast cache mechanism
/php-src/Zend/zend_execute_API.c
|
| 235386b |
|
26-Dec-1999 |
Zeev Suraski <zeev@php.net> |
Change ALLOC_ZVAL() semantics
/php-src/Zend/zend_execute_API.c
|
| 62b2087 |
|
24-Dec-1999 |
Andi Gutmans <andi@php.net> |
- Create two new macro's. ALLOC_ZVAL() and FREE_ZVAL(z) and make Zend use them.
/php-src/Zend/zend_execute_API.c
|
| 80bab9d |
|
21-Dec-1999 |
Andrei Zmievski <andrei@php.net> |
We're using ZVAL's now.
/php-src/Zend/zend_execute_API.c
|
| 223c674 |
|
19-Dec-1999 |
Zeev Suraski <zeev@php.net> |
- Made things work again (Thies, everybody - please check the latest CVS and see if you're still getting any problems) - Changed the interface of call_user_function_ex() to support returning of references
/php-src/Zend/zend_execute_API.c
|
| 213d0e2 |
|
19-Dec-1999 |
Andi Gutmans <andi@php.net> |
- More fixes related to the return references patch - eval_string() and call_user_function_ex() still don't work. - The libzend tree is untested and might not be stabl yet.
/php-src/Zend/zend_execute_API.c
|
| ced9cee |
|
15-Dec-1999 |
Zeev Suraski <zeev@php.net> |
- Implement return by reference: - In function declaration instead of the return statement - In the assignment phase - Implement ability to turn off support for call-time pass by reference
/php-src/Zend/zend_execute_API.c
|
| 70df2d7 |
|
05-Dec-1999 |
Sascha Schumann <sas@php.net> |
Fix some warnings
/php-src/Zend/zend_execute_API.c
|
| 5463dd5 |
|
30-Nov-1999 |
Andi Gutmans <andi@php.net> |
- Add use support (behaves like require, but will not use the same file twice) - Add import support (behaves like include, but requires parentheses; will not use the same file twice; Currently, it is not yet properly implemented, and only behaves like include)
/php-src/Zend/zend_execute_API.c
|
| 6358c66 |
|
21-Nov-1999 |
Zeev Suraski <zeev@php.net> |
- Optimize class instanciation - Fix constant instanciation for array elements inside objects
/php-src/Zend/zend_execute_API.c
|
| 3cd140c |
|
16-Nov-1999 |
Andi Gutmans <andi@php.net> |
- Weird that this compiled for me.
/php-src/Zend/zend_execute_API.c
|
| 1c0f136 |
|
03-Oct-1999 |
Andi Gutmans <andi@php.net> |
- Hooray. This might actually work. (I hope)
/php-src/Zend/zend_execute_API.c
|
| 86357a9 |
|
01-Oct-1999 |
Andi Gutmans <andi@php.net> |
- Move is_ref back to being an unsigned char and not a bit field.
/php-src/Zend/zend_execute_API.c
|
| 4dd47ff |
|
01-Oct-1999 |
Andi Gutmans <andi@php.net> |
- Remove locking support completely
/php-src/Zend/zend_execute_API.c
|
| 59d5462 |
|
28-Sep-1999 |
Andi Gutmans <andi@php.net> |
- Stop using the locking mechanism and start using refcount. Now we know when we need to free but we still need to support it
/php-src/Zend/zend_execute_API.c
|
| b56fd46 |
|
28-Sep-1999 |
Andi Gutmans <andi@php.net> |
- First part of the patch which makes reads use ptr and not ptr_ptr.
/php-src/Zend/zend_execute_API.c
|
| 4fff038 |
|
26-Sep-1999 |
Andi Gutmans <andi@php.net> |
- Changed Ts{}.var to Ts{}.var.ptr_ptr.
/php-src/Zend/zend_execute_API.c
|
| 20ee106 |
|
17-Sep-1999 |
Thies C. Arntzen <thies@php.net> |
no // in the sources please
/php-src/Zend/zend_execute_API.c
|
| 023cb64 |
|
27-Aug-1999 |
Zeev Suraski <zeev@php.net> |
Fix a crash bug in case of aborted execution
/php-src/Zend/zend_execute_API.c
|
| aa8b27b |
|
27-Aug-1999 |
Zeev Suraski <zeev@php.net> |
Better debug macros
/php-src/Zend/zend_execute_API.c
|
| 02822cb |
|
26-Aug-1999 |
Andi Gutmans <andi@php.net> |
- Damn. It wasn't a correct fix. This should do it. When the zval ** are equal we don't want to assign_ref, in any other case I can think of we do want to assign_ref.
/php-src/Zend/zend_execute_API.c
|
| 2c88f29 |
|
26-Aug-1999 |
Andi Gutmans <andi@php.net> |
- Fix leak when global is used in the global scope.
/php-src/Zend/zend_execute_API.c
|
| 50bfff5 |
|
17-Aug-1999 |
Zeev Suraski <zeev@php.net> |
Fix #2012
/php-src/Zend/zend_execute_API.c
|
| 720d32f |
|
07-Aug-1999 |
Zeev Suraski <zeev@php.net> |
Fix a few leaks
/php-src/Zend/zend_execute_API.c
|
| 0487650 |
|
06-Aug-1999 |
Zeev Suraski <zeev@php.net> |
Fix a bug in call_user_func_ex()
/php-src/Zend/zend_execute_API.c
|
| f95edc0 |
|
06-Aug-1999 |
Zeev Suraski <zeev@php.net> |
Introduce call_user_func_ex()
/php-src/Zend/zend_execute_API.c
|
| 741ca16 |
|
28-Jul-1999 |
Andi Gutmans <andi@php.net> |
- Fixed various inheritance problems & Andrey's leak
/php-src/Zend/zend_execute_API.c
|
| bf8c6db |
|
20-Jul-1999 |
Andi Gutmans <andi@php.net> |
- Get rid of C++ comments
/php-src/Zend/zend_execute_API.c
|
| 8d1de13 |
|
19-Jul-1999 |
Zeev Suraski <zeev@php.net> |
0.91 update
/php-src/Zend/zend_execute_API.c
|
| e3daad2 |
|
18-Jul-1999 |
Andi Gutmans <andi@php.net> |
- Should fix the memory leak when returning from the main scope.
/php-src/Zend/zend_execute_API.c
|
| b5b1117 |
|
16-Jul-1999 |
Zeev Suraski <zeev@php.net> |
License update
/php-src/Zend/zend_execute_API.c
|
| 138dd94 |
|
15-Jul-1999 |
Sascha Schumann <sas@php.net> |
disable zend_handle_sigsegv
/php-src/Zend/zend_execute_API.c
|
| dc933fc |
|
10-Jul-1999 |
Zeev Suraski <zeev@php.net> |
Woops, fix.
/php-src/Zend/zend_execute_API.c
|
| 909590b |
|
10-Jul-1999 |
Zeev Suraski <zeev@php.net> |
Put the garbage in the garbage bin
/php-src/Zend/zend_execute_API.c
|
| cccd244 |
|
10-Jul-1999 |
Zeev Suraski <zeev@php.net> |
Get rid of AiCount completely
/php-src/Zend/zend_execute_API.c
|
| 2a6da78 |
|
09-Jul-1999 |
Zeev Suraski <zeev@php.net> |
Step 4: Move to a 7-bit counter (not fully implemented yet)
/php-src/Zend/zend_execute_API.c
|
| 6ec1acb |
|
09-Jul-1999 |
Zeev Suraski <zeev@php.net> |
Phase 3: Use a single bit to mark IS_REF variables
/php-src/Zend/zend_execute_API.c
|
| 5f62c34 |
|
09-Jul-1999 |
Zeev Suraski <zeev@php.net> |
Step 2: Rename is_ref to EA
/php-src/Zend/zend_execute_API.c
|
| 81d901b |
|
09-Jul-1999 |
Zeev Suraski <zeev@php.net> |
Step 1 in nuking the garbage collector: - Change the hash destructor to return int - Don't kill the bucket on hash_destroy if the destructor returns 0
/php-src/Zend/zend_execute_API.c
|
| 81f5522 |
|
09-Jul-1999 |
Zeev Suraski <zeev@php.net> |
Fix the mess in SIGSEGV handling, hopefully
/php-src/Zend/zend_execute_API.c
|
| da9faa2 |
|
11-Jun-1999 |
Zeev Suraski <zeev@php.net> |
* Make the output handling of variables much, much cooler. Uses zend_make_printable_zval() instead of convert_to_string() now: $foo = true; print "\$foo is $foo"; will now print $foo is true (instead of "$foo is 1", earlier). Also, with objects, it automatically tries to call __print() and use it as a printing function. For example: class foo { function __print() { return "Foo Object"; } }; $foo = new foo; print $foo; will print "Foo Object".
/php-src/Zend/zend_execute_API.c
|
| b484f40 |
|
09-Jun-1999 |
Zeev Suraski <zeev@php.net> |
* Fix foreach() that receives a non array argument * Clean up some C++ comments
/php-src/Zend/zend_execute_API.c
|
| cf757f7 |
|
04-Jun-1999 |
Zeev Suraski <zeev@php.net> |
Fix that GLOBALS leak. We were explicitly adding GLOBALS to the main symbol table, but there's no reason to do it (INIT_GLOBALS takes care of it if necessary.)
/php-src/Zend/zend_execute_API.c
|
| 52ec643 |
|
31-May-1999 |
Andi Gutmans <andi@php.net> |
Fixes
/php-src/Zend/zend_execute_API.c
|
| 8802964 |
|
30-May-1999 |
Sascha Schumann <sas@php.net> |
* fix some casts * introduce unary_op_type - cleaner than casting data voids to function ptrs
/php-src/Zend/zend_execute_API.c
|
| cf4a2c3 |
|
29-May-1999 |
Zeev Suraski <zeev@php.net> |
That got fucked up when we went back to using uninitialized_zval
/php-src/Zend/zend_execute_API.c
|
| 7068d4a |
|
29-May-1999 |
Zeev Suraski <zeev@php.net> |
*** empty log message ***
/php-src/Zend/zend_execute_API.c
|
| 741b816 |
|
28-May-1999 |
Zeev Suraski <zeev@php.net> |
* Support getThis() for internal functions. * Fix 'new object or die' and AiCount issue thoroughly (earlier fix didn't work with the optimizer). * Add new macros for standardized definition of classes. * Only report AiCount problems if shutdown was not silent.
/php-src/Zend/zend_execute_API.c
|
| 033858e |
|
25-May-1999 |
Zeev Suraski <zeev@php.net> |
Avoid crashing if an error occurs before we open the first file.
/php-src/Zend/zend_execute_API.c
|
| 1250c43 |
|
22-May-1999 |
Zeev Suraski <zeev@php.net> |
* Add struct name to all typedef's so that they can be debugged with MSVC * Fix an AiCount bug - list(...) = $var was using $var multiple times, and thus causing AiCount to be decreased multiple times even though it was increased only once for $var. Mark all FETCH_DIM's so that they won't decrease AiCount, and only decrease AiCount on the last FETCH_DIM. * Fix a stupid bug - forgot to pass CLS_C to some compiler function. For some reason MSVC doesn't report these :I
/php-src/Zend/zend_execute_API.c
|
| 080105f |
|
22-May-1999 |
Zeev Suraski <zeev@php.net> |
Give more information and save log lines in memory leak reports
/php-src/Zend/zend_execute_API.c
|
| 2493f68 |
|
27-Apr-1999 |
Zeev Suraski <zeev@php.net> |
* Fix debugger+interactive mode bug * Recognize whether an extension is with debug information or not
/php-src/Zend/zend_execute_API.c
|
| 7a87fcb |
|
21-Apr-1999 |
Zeev Suraski <zeev@php.net> |
Thread safety patch. We're still not quite there but it compiles again, and more logic has been implemented.
/php-src/Zend/zend_execute_API.c
|
| e1e2226 |
|
13-Apr-1999 |
Andi Gutmans <andi@php.net> |
- Fix various memory leaks.
/php-src/Zend/zend_execute_API.c
|
| 3fcc651 |
|
13-Apr-1999 |
Andi Gutmans <andi@php.net> |
* Optimize argument_stack top lookup * Fix a nasty bug in zend_ptr_stack_clean()
/php-src/Zend/zend_execute_API.c
|
| 533f135 |
|
12-Apr-1999 |
Zeev Suraski <zeev@php.net> |
Remove unnecessary stack
/php-src/Zend/zend_execute_API.c
|
| 15be5f0 |
|
12-Apr-1999 |
Zeev Suraski <zeev@php.net> |
Destroy the resource list after destroying the symbol table, otherwise the auto-destructor for resources are run when the resource list is no longer valid
/php-src/Zend/zend_execute_API.c
|
| 39a7f4c |
|
12-Apr-1999 |
Zeev Suraski <zeev@php.net> |
This patch is a go. Not fully optimized yet, but working properly. Prepatch tagged as BEFORE_STACK_PATCH.
/php-src/Zend/zend_execute_API.c
|
| d1d96d0 |
|
07-Apr-1999 |
Zeev Suraski <zeev@php.net> |
Remove an unused variable
/php-src/Zend/zend_execute_API.c
|
| 573b460 |
|
07-Apr-1999 |
Andi Gutmans <andi@php.net> |
Zend Library
/php-src/Zend/zend_execute_API.c
|