summaryrefslogtreecommitdiff
path: root/Zend/zend_object_handlers.c
Commit message (Collapse)AuthorAgeFilesLines
* Fixed bug #63882 (zend_std_compare_objects crash on recursion)Dmitry Stogov2013-01-091-0/+26
|
* Happy New YearXinchen Hui2013-01-011-1/+1
|
* Fixed bug #63726 (Memleak with static properties and internal/user classes)Xinchen Hui2012-12-101-0/+2
| | | | No test scripts provided (will try to find one)
* Merge branch 'PHP-5.3' into PHP-5.4Dmitry Stogov2012-09-061-0/+1
|\ | | | | | | | | | | | | | | | | * PHP-5.3: - Fixed bug #61767 (Shutdown functions not called in certain error situation) - Fixed bug #60909 (custom error handler throwing Exception + fatal error = no shutdown function) Conflicts: NEWS Zend/zend_object_handlers.c
| * - Fixed bug #61767 (Shutdown functions not called in certain error situation)Dmitry Stogov2012-09-061-0/+1
| | | | | | | | - Fixed bug #60909 (custom error handler throwing Exception + fatal error = no shutdown function)
| * - Year++Felipe Pena2012-01-011-1/+1
| |
| * Fixed bug #54372 (Crash accessing global object itself returned from its ↵Dmitry Stogov2011-04-071-1/+5
| | | | | | | | __get() handle)
| * - Year++Felipe Pena2011-01-011-1/+1
| |
| * - Reverted fix for bug #51176Felipe Pena2010-11-031-3/+3
| |
| * Fixed bug #52879 (Objects unreferenced in __get, __set, __isset or __unset ↵Dmitry Stogov2010-10-011-4/+13
| | | | | | | | can be freed too early). (mail_ben_schmidt at yahoo dot com dot au, Dmitry)
| * - Fixed bug #52484 (__set() ignores setting properties with empty names)Felipe Pena2010-08-011-3/+28
| |
| * - Fixed bug #52051 (handling of case sensitivity of old-style constructors ↵Felipe Pena2010-06-121-1/+1
| | | | | | | | changed in 5.3+)
* | fix bug #61782 - __clone/__destruct do not match other methods when checking ↵Stanislav Malyshev2012-05-131-17/+11
| | | | | | | | access controls
* | - Year++Felipe Pena2012-01-011-1/+1
| |
* | Fixed bug #60558 (Invalid read and writes)Xinchen Hui2011-12-191-8/+1
| | | | | | | | | | | | | | | | Re-Fixed bug #60536 (Traits Segfault) #Thanks to tony2001, I found the previous fix -r321089 is actually not a correct one. #The key problem there is because the traits didn't correct set the property_info.offset #for private properties. so here come the new fix.
* | Revert previous bad fix, introduce memory leakXinchen Hui2011-12-191-1/+0
| |
* | Fixed bug #60558 (Invalid read and writes)Xinchen Hui2011-12-191-0/+1
| |
* | Reduce memory usageXinchen Hui2011-12-171-1/+1
| |
* | Fixed bug #60536 (Traits Segfault)Xinchen Hui2011-12-161-2/+9
| | | | | | | | | | | | | | | | | | | | | | | | # this is a tough one, I think I should explain # Zend use zend_object->properties_table both as zval ** and zval *** # if a zend_object->properties is not initialized, the properties_table is zval ** # while in rebuild_object_properties, zend will store the zval ** to zend_object->properties # then stash the zval ***(ie, zobj->properties_table[0] is zval ** now) to zobj->properties_table[0] # so when a zend_object inherit form multi parent and these parent have a same property_info->offset # properties, will result in a repeat zval **->zval ** transform, which will lead to a segmentfault # *may be* this fix is not the best fix, we should not use this tricky way, and rewrite this mechanism.
* | Fixed bug #60139 (Anonymous functions create cycles not detected by the GC)Dmitry Stogov2011-11-021-0/+23
| |
* | Fix foldingEtienne Kneuss2011-09-151-1/+1
| |
* | Fixed ZE specific compile warnings (Bug #55629)Dmitry Stogov2011-09-131-6/+6
| |
* | Fixed bug #54372 (Crash accessing global object itself returned from its ↵Dmitry Stogov2011-04-071-1/+5
| | | | | | | | __get() handle)
* | - Year++Felipe Pena2011-01-011-1/+1
| |
* | - Reverted fix for bug #51176Felipe Pena2010-11-031-3/+3
| |
* | Fixed bug #52879 (Objects unreferenced in __get, __set, __isset or __unset ↵Dmitry Stogov2010-10-011-20/+29
| | | | | | | | can be freed too early). (mail_ben_schmidt at yahoo dot com dot au, Dmitry)
* | - Improved memory usageDmitry Stogov2010-09-151-6/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | . 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.
* | - Fixed bug #52484 (__set() ignores setting properties with empty names)Felipe Pena2010-08-011-3/+28
| |
* | - Fixed bug #52051 (handling of case sensitivity of old-style constructors ↵Felipe Pena2010-06-121-1/+1
| | | | | | | | changed in 5.3+)
* | Added caches to eliminate repeatable run-time bindings of functions, ↵Dmitry Stogov2010-05-241-49/+204
| | | | | | | | classes, constants, methods and properties
* | Added compiler hintsDmitry Stogov2010-05-061-114/+100
| |
* | Changed the structure of op_array.opcodes. The constant values are moved ↵Dmitry Stogov2010-04-201-43/+108
|/ | | | from opcode operands into a separate literal table
* - Fixed bug #51176 (Static calling in non-static method behaves like $this->)Felipe Pena2010-03-021-3/+3
|
* sed -i "s#1998-2009#1998-2010#g" **/*.c **/*.h **/*.phpSebastian Bergmann2010-01-051-1/+1
|
* Make the check case sensitive, and since we can only have a constructor that ↵Scott MacVicar2009-06-191-2/+4
| | | | | | | | | | matches the class name or is __construct its probably safe to just check for __. This means we can skip lowering the function_name, which is hard to be binary safe sine we don't store the length. If we just did a zend_hash_exists lookup we'd be fine since its stored lowercased already :)
* Fix bug #48215 - Calling a method with the same name as the parent class ↵Scott MacVicar2009-06-181-1/+3
| | | | calls the constructor instead.
* - Constified method_name arg. in zend_get_user_call_function() and ↵Felipe Pena2009-06-121-2/+2
| | | | zend_get_user_callstatic_function()
* MFH: Fixed bug #48533 (__callStatic is not invoked for private/protected ↵Felipe Pena2009-06-121-36/+35
| | | | methods)
* - MFH: Fixed bug #48248 (SIGSEGV when access to private property via &__get)Felipe Pena2009-05-121-2/+2
|
* Reverted "Rebind closure when binding to property"Dmitry Stogov2009-01-141-4/+0
|
* Changed __call() to be invoked on private/protected method access,Andrei Zmievski2009-01-071-17/+34
| | | | | similar to properties and __get().
* - MFH Rebind closure when binding to propertyMarcus Boerger2009-01-031-0/+4
|
* MFH: Bump copyright year, 3 of 3.Sebastian Bergmann2008-12-311-1/+1
|
* Fixed bug #46409 (__invoke method called outside of object context when ↵Dmitry Stogov2008-11-271-7/+1
| | | | using array_map)
* Fixed bug #46308 (Invalid write when changing property from inside getter)Dmitry Stogov2008-10-171-0/+8
|
* MFH: Handlerify get_closureEtienne Kneuss2008-08-141-1/+36
|
* - MFH: Constness (Added const qualifier to several function parameters)Felipe Pena2008-08-121-2/+2
|
* Fixed is_callable/call_user_func mess that had done different things for ↵Dmitry Stogov2008-07-261-4/+4
| | | | very similar arguments e.g. array("A","B") and "A::B"
* - Fixed bug #45089 (__callStatic $name case sensitivity)Felipe Pena2008-06-031-2/+7
|
* MFH: Add array_init_size() and use it where array size is known at ↵Matt Wilmas2008-05-271-2/+2
| | | | initialization