Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Merge branch 'PHP-7.2' into PHP-7.3 | Joe Watkins | 2019-10-21 | 1 | -1/+1 |
|\ | | | | | | | | | * PHP-7.2: Fix bug #78697: inaccurate error message | ||||
| * | Fix bug #78697: inaccurate error message | Fabien Villepinte | 2019-10-21 | 1 | -1/+1 |
| | | |||||
* | | Merge branch 'PHP-7.2' into PHP-7.3 | Nikita Popov | 2019-05-09 | 1 | -20/+20 |
|\ \ | |/ | |||||
| * | Fixed bug #75186 | Nikita Popov | 2019-05-09 | 1 | -21/+20 |
| | | |||||
* | | Merge branch 'PHP-7.2' into PHP-7.3 | Nikita Popov | 2019-04-15 | 1 | -0/+8 |
|\ \ | |/ | |||||
| * | Fixed bug #77882 | Nikita Popov | 2019-04-15 | 1 | -0/+8 |
| | | |||||
* | | Merge branch 'PHP-7.2' into PHP-7.3 | Nikita Popov | 2019-03-22 | 1 | -4/+14 |
|\ \ | |/ | |||||
| * | Fixed bug #77772 | Nikita Popov | 2019-03-22 | 1 | -14/+12 |
| | | |||||
| * | Trim trailing whitespace in source code files | Peter Kokot | 2018-10-13 | 1 | -5/+5 |
| | | |||||
* | | Merge branch 'PHP-7.2' into PHP-7.3 | Nikita Popov | 2018-10-03 | 1 | -7/+5 |
|\ \ | |/ | |||||
| * | Merge branch 'PHP-7.1' into PHP-7.2 | Nikita Popov | 2018-10-03 | 1 | -7/+5 |
| |\ | |||||
| | * | Reflection: Copy invoke function also in the variadic case | Nikita Popov | 2018-10-03 | 1 | -7/+5 |
| | | | | | | | | | | | | | | | It doesn't matter how the parameters are provided, we always have to copy the trampoline invoke function. | ||||
* | | | Merge branch 'PHP-7.2' into PHP-7.3 | Nikita Popov | 2018-10-02 | 1 | -0/+10 |
|\ \ \ | |/ / | |||||
| * | | Fixed bug #66430 | Nikita Popov | 2018-10-02 | 1 | -0/+10 |
| | | | |||||
* | | | Merge branch 'PHP-7.2' into PHP-7.3 | Christoph M. Becker | 2018-09-05 | 1 | -2/+4 |
|\ \ \ | |/ / | | | | | | | | | | * PHP-7.2: Fix #74454: Wrong exception being thrown when using ReflectionMethod | ||||
| * | | Merge branch 'PHP-7.1' into PHP-7.2 | Christoph M. Becker | 2018-09-05 | 1 | -2/+4 |
| |\ \ | | |/ | | | | | | | | | | * PHP-7.1: Fix #74454: Wrong exception being thrown when using ReflectionMethod | ||||
| | * | Fix #74454: Wrong exception being thrown when using ReflectionMethod | Christoph M. Becker | 2018-09-05 | 1 | -2/+4 |
| | | | | | | | | | | | | | | | If zend_throw_exception_ex() already threw an exception, we should not throw again. | ||||
* | | | Pack zend_constant.flags and zend_constant.module_number into reserved space ↵ | Dmitry Stogov | 2018-07-26 | 1 | -2/+2 |
| | | | | | | | | | | | | inside zend_constant.value. | ||||
* | | | Changed structure of zend_class_entry.trait_aliases and ↵ | Dmitry Stogov | 2018-07-11 | 1 | -3/+3 |
| | | | | | | | | | | | | zend_class_entry.trait_precedences to avoid keeping "intermediate" trait references, that are used only during inheritance. | ||||
* | | | Uze ZVAL_COPY_DEREF() instead of ZVAL_DEREF() and ZVAL_COPY() | Dmitry Stogov | 2018-07-09 | 1 | -10/+5 |
| | | | |||||
* | | | Use zval_ptr_dtor() instead of zval_dtor() in internal functions that ↵ | Dmitry Stogov | 2018-07-05 | 1 | -2/+2 |
| | | | | | | | | | | | | destroy new created object (This is safer and produces less code) | ||||
* | | | Use zval_ptr_dtor() instead of zval_dtor() in internal functions that ↵ | Dmitry Stogov | 2018-07-05 | 1 | -5/+5 |
| | | | | | | | | | | | | destroy new created object (This is safer and produces less code) | ||||
* | | | Replace legacy zval_dtor() by zval_ptr_dtor_nogc() or even more specialized ↵ | Dmitry Stogov | 2018-07-04 | 1 | -4/+4 |
| | | | | | | | | | | | | | | | | | | | | | destructors. zval_dtor() doesn't make a lot of sense in PHP-7.* and it's used incorrectly in some places. Its occurances should be replaced by zval_ptr_dtor() or zval_ptr_dtor_nogc(), or even more specialized destructors. | ||||
* | | | Fix check for invoking abstract method | Nikita Popov | 2018-07-02 | 1 | -15/+13 |
| | | | |||||
* | | | Add $ before property name in error message | Nikita Popov | 2018-07-02 | 1 | -2/+2 |
| | | | |||||
* | | | Merge branch 'PHP-7.2' | Nikita Popov | 2018-07-02 | 1 | -1/+1 |
|\ \ \ | |/ / | |||||
| * | | Merge branch 'PHP-7.1' into PHP-7.2 | Nikita Popov | 2018-07-02 | 1 | -1/+1 |
| |\ \ | | |/ | |||||
| | * | Fixed bug #75231 | Nikita Popov | 2018-07-02 | 1 | -1/+1 |
| | | | | | | | | | | | | The behavior is now consistent with ReflectionMethod. | ||||
* | | | Remove unnecessary explicit argc check | Nikita Popov | 2018-07-02 | 1 | -18/+6 |
| | | | | | | | | | | | | | | | Instead specify a default value for the argument, which is more idiomatic. | ||||
* | | | Remove METHOD_NOTSTATIC checks in reflection | Nikita Popov | 2018-07-02 | 1 | -42/+0 |
| | | | | | | | | | | | | | | | PHP does not allow static calls to non-static internal methods anyway, so these checks are redundant. | ||||
* | | | Add zend_update_static_property_ex API | Nikita Popov | 2018-06-29 | 1 | -15/+1 |
| | | | | | | | | | | | | | | | And cleanup the implementation to perform a normal by-value assignment. | ||||
* | | | Add zend_read_static_property_ex API | Nikita Popov | 2018-06-29 | 1 | -5/+1 |
| | | | | | | | | | | | | For symmetry with zend_read_property_ex. | ||||
* | | | Fix ReflectionProperty::get/setValue() on internal static property | Nikita Popov | 2018-06-28 | 1 | -31/+22 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | This was broken by 6dc0cd868d972885249ce40f2d64097cd0ba6c1f, which moved static property initialization outside of constant updating. Instead of replicating logic, use zend_get_static_property() API in the reflection implementation, just like we're using read_property for non-static proprety access. | ||||
* | | | Merge branch 'PHP-7.2' | Xinchen Hui | 2018-06-28 | 1 | -1/+1 |
|\ \ \ | |/ / | | | | | | | | | | | | | * PHP-7.2: Update NEWS Fixed bug #76536 (PHP crashes with core dump when throwing exception in error handler). (Laruence) | ||||
| * | | Merge branch 'PHP-7.1' into PHP-7.2 | Xinchen Hui | 2018-06-28 | 1 | -1/+1 |
| |\ \ | | |/ | | | | | | | | | | * PHP-7.1: Fixed bug #76536 (PHP crashes with core dump when throwing exception in error handler). (Laruence) | ||||
| | * | Fixed bug #76536 (PHP crashes with core dump when throwing exception in ↵ | Xinchen Hui | 2018-06-28 | 1 | -1/+1 |
| | | | | | | | | | | | | error handler). (Laruence) | ||||
| | * | year++ | Xinchen Hui | 2018-01-02 | 1 | -1/+1 |
| | | | |||||
| * | | year++ | Xinchen Hui | 2018-01-02 | 1 | -1/+1 |
| | | | |||||
* | | | Store unmangled name in ReflectionProperty | Nikita Popov | 2018-06-27 | 1 | -47/+37 |
| | | | | | | | | | | | | Avoid redundant unmangles and string copies, where possible. | ||||
* | | | Optimize ReflectionProperty constructor | Nikita Popov | 2018-06-27 | 1 | -12/+8 |
| | | | | | | | | | | | | | | | | | | | | | Perform HT lookups using a zend_string. Don't copy the name for the "name" property. We can always use the original name directly, as properties case case-sensitive, so the original name should always match the unmangled name of the fetched property info. | ||||
* | | | Lazy function copying from op_cache SHM into process memory | Dmitry Stogov | 2018-06-25 | 1 | -2/+2 |
| | | | |||||
* | | | Micro-optimization | Dmitry Stogov | 2018-06-25 | 1 | -15/+16 |
| | | | |||||
* | | | Fixed bug #76509 | Nikita Popov | 2018-06-25 | 1 | -0/+3 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | In PHP static properties are shared between inheriting classes, unless they are explicitly overwritten. However, because this functionality was implemented using reference, it was possible to break the implementation by reassigning the static property reference. This is fixed by switching the implementation from using references to using INDIRECTs, which cannot be affected by userland code. | ||||
* | | | Avoid reusing zend_function.common.prototype for magic things (use reserved ↵ | Dmitry Stogov | 2018-06-21 | 1 | -16/+0 |
| | | | | | | | | | | | | fields instead). | ||||
* | | | Normalize Reflection phpinfo() output | Peter Kokot | 2018-06-04 | 1 | -6/+1 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | This patch normalizes the Reflection extension version in the phpinfo output. It removes the Git attributes ident blob object name from Git repository as an extension version. Also the table output is synced with other extensions (i.e. enabled in a row instead of table header). | ||||
* | | | Export standard object handlers, to avoid indirect access | Dmitry Stogov | 2018-05-31 | 1 | -5/+2 |
| | | | |||||
* | | | Removed useless zval_ptr_dtor() | Dmitry Stogov | 2018-05-29 | 1 | -1/+1 |
| | | | |||||
* | | | Use zend_string_release_ex() instread of zend_string_release() in places, ↵ | Dmitry Stogov | 2018-05-28 | 1 | -9/+9 |
| | | | | | | | | | | | | where we sure about string persistence. | ||||
* | | | Avoid useless checks, using zend_string_efree(), in cases where the string ↵ | Dmitry Stogov | 2018-05-08 | 1 | -1/+1 |
| | | | | | | | | | | | | is known to be a temporary allocated zend_string. | ||||
* | | | zend_fcall_info_cache.calling_scope is not used by zend_call_function() and ↵ | Dmitry Stogov | 2018-05-03 | 1 | -6/+0 |
| | | | | | | | | | | | | | | | | | | doesn't have to be initialized. It's used only as a result of zend_is_callable() in forward_static_call and spl_autoload. |