#
c1336009 |
| 19-Jul-2010 |
Dmitry Stogov |
Removed invalid checks
|
#
ca4de03e |
| 16-Jul-2010 |
Dmitry Stogov |
ZEND_FETCH_*_R operations simplified and can't be used with EXT_TYPE_UNUSED flag any more. Thit is very rare and useless case. ZEND_FREE might be required after them instead.
|
#
8aad91d1 |
| 16-Jul-2010 |
Dmitry Stogov |
Simplified string offset reading
|
Revision tags: php-5.3.3RC3, php-5.2.14RC3 |
|
#
09d8bbb2 |
| 05-Jul-2010 |
Dmitry Stogov |
Fixed bug #52237 (Crash when passing the reference of the property of a non-object)
|
#
ab67865d |
| 05-Jul-2010 |
Dmitry Stogov |
Fixed bug #52237 (Crash when passing the reference of the property of a non-object)
|
Revision tags: php-5.3.3RC2, php-5.2.14RC2 |
|
#
09943e56 |
| 22-Jun-2010 |
Dmitry Stogov |
Removed redundant code
|
Revision tags: php-5.3.3RC1, php-5.2.14RC1 |
|
#
d868733c |
| 15-Jun-2010 |
Dmitry Stogov |
Fixed bug #52041 (Memory leak when writing on uninitialized variable returned from function)
|
#
3d5f7291 |
| 15-Jun-2010 |
Dmitry Stogov |
Fixed bug #52041 (Memory leak when writing on uninitialized variable returned from function)
|
#
b65a473e |
| 07-Jun-2010 |
Felipe Pena |
- Let's generate this #ifdef only on zend_vm_execute.h
|
#
d97ae936 |
| 07-Jun-2010 |
Felipe Pena |
- Let's generate this #ifdef only on zend_vm_execute.h
|
#
efcb21b0 |
| 07-Jun-2010 |
Felipe Pena |
- Update
|
#
707980c2 |
| 06-Jun-2010 |
Pierre Joye |
- show the free_op1 warning only once, until a fix is applied
|
#
90b9853a |
| 06-Jun-2010 |
Pierre Joye |
- show the free_op1 warning only once, until a fix is applied
|
#
04dd48ce |
| 24-May-2010 |
Dmitry Stogov |
Fixed exception handling in GOTO VM
|
#
c5237d82 |
| 24-May-2010 |
Dmitry Stogov |
Added caches to eliminate repeatable run-time bindings of functions, classes, constants, methods and properties
|
#
5d701938 |
| 07-May-2010 |
Felipe Pena |
- Added check for constant creation on Traits - Simplified trait flag check - Test++ :)
|
#
277f271a |
| 06-May-2010 |
Dmitry Stogov |
Added compiler hints
|
#
d5800f88 |
| 06-May-2010 |
Dmitry Stogov |
Optimized access to static properties using executor specialization. A constant class name may be used as a direct operand of ZEND_FETCH_* instruction without previous ZEND_FETCH_CLASS.
|
#
e431cec0 |
| 04-May-2010 |
Felipe Pena |
- Fix trait flag identification
|
#
45a536fc |
| 04-May-2010 |
Felipe Pena |
- Added check for abstract class abstract class foo { } class T { use foo; } // T cannot use foo - it is not a trait - Added check for trait on NEW trait a { }
- Added check for abstract class abstract class foo { } class T { use foo; } // T cannot use foo - it is not a trait - Added check for trait on NEW trait a { } new a; // Cannot instantiate trait a # Tests for errors comming soon :)
show more ...
|
#
4ff30008 |
| 27-Apr-2010 |
Dmitry Stogov |
ws
|
#
c58b131e |
| 27-Apr-2010 |
Dmitry Stogov |
- Reimplemented ZEND_INIT_FCALL_BY_NAME and ZEND_INIT_NS_FCALL_BY_NAME to use literals instead of additional operands - Optimized access to global constants
|
#
08b9fdc8 |
| 24-Apr-2010 |
David Soria Parra |
Add DTrace probes
|
#
f06d839e |
| 23-Apr-2010 |
Dmitry Stogov |
Use fast class fetch function
|
#
cd6415f1 |
| 22-Apr-2010 |
Stefan Marr |
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 dis
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)
show more ...
|