Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Fixed bug #78868 (Calling __autoload() with incorrect EG(fake_scope) value) | Dmitry Stogov | 2019-11-25 | 1 | -0/+6 |
| | |||||
* | Merge branch 'PHP-7.2' into PHP-7.3 | Joe Watkins | 2019-05-29 | 1 | -1/+1 |
|\ | | | | | | | | | * PHP-7.2: disabled functions must not have return type | ||||
| * | disabled functions must not have return type | Joe Watkins | 2019-05-29 | 1 | -1/+1 |
| | | |||||
* | | Fix more dl() interned string assertions | Nikita Popov | 2019-04-18 | 1 | -8/+18 |
| | | |||||
* | | Fixed dl() function. It failed in DEBUG build without opcache because of ↵ | Dmitry Stogov | 2019-04-17 | 1 | -4/+4 |
| | | | | | | | | assert during string interning. | ||||
* | | Merge branch 'PHP-7.2' into PHP-7.3 | Dmitry Stogov | 2019-01-24 | 1 | -0/+11 |
|\ \ | |/ | | | | | | | * PHP-7.2: Fixed bug #77494 (Disabling class causes segfault on member access) | ||||
| * | Fixed bug #77494 (Disabling class causes segfault on member access) | Dmitry Stogov | 2019-01-24 | 1 | -0/+11 |
| | | |||||
| * | Trim trailing whitespace in source code files | Peter Kokot | 2018-10-13 | 1 | -5/+5 |
| | | |||||
| * | Fixed bug #75797 | Massimiliano Braglia | 2018-08-22 | 1 | -2/+5 |
| | | | | | | | | | | Fix zend_register_class_alias_ex() to use non-persistent strings for (non-persistent) userland classes. | ||||
* | | Future-proof email addresses | Zeev Suraski | 2018-11-01 | 1 | -3/+3 |
| | | |||||
* | | Fixed zend_read_static_property | Xinchen Hui | 2018-08-14 | 1 | -1/+1 |
| | | |||||
* | | Fix length to copy | Anatol Belski | 2018-07-31 | 1 | -1/+1 |
| | | |||||
* | | Remove unused Git attributes ident | Peter Kokot | 2018-07-25 | 1 | -2/+0 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The $Id$ keywords were used in Subversion where they can be substituted with filename, last revision number change, last changed date, and last user who changed it. In Git this functionality is different and can be done with Git attribute ident. These need to be defined manually for each file in the .gitattributes file and are afterwards replaced with 40-character hexadecimal blob object name which is based only on the particular file contents. This patch simplifies handling of $Id$ keywords by removing them since they are not used anymore. | ||||
* | | API cleanup. | Dmitry Stogov | 2018-07-23 | 1 | -3/+3 |
| | | | | | | | | | | Removed useless filename and lineno arguments, used in DEBUG build. The patch doesn't break source compatibility of public API (only binary compatibility). | ||||
* | | Fixed reference-counting in zend_parse_arg_str_weak() | Dmitry Stogov | 2018-07-06 | 1 | -4/+5 |
| | | |||||
* | | Avoid useless checks in object_init() | Dmitry Stogov | 2018-07-06 | 1 | -2/+3 |
| | | |||||
* | | Replace legacy zval_dtor() by zval_ptr_dtor_nogc() or even more specialized ↵ | Dmitry Stogov | 2018-07-04 | 1 | -1/+1 |
| | | | | | | | | | | | | | | 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. | ||||
* | | Avoid string comparisons for magic methods (all magic methods start with "__") | Dmitry Stogov | 2018-07-02 | 1 | -0/+7 |
| | | |||||
* | | Add zend_update_static_property_ex API | Nikita Popov | 2018-06-29 | 1 | -26/+21 |
| | | | | | | | | | | And cleanup the implementation to perform a normal by-value assignment. | ||||
* | | Add zend_read_static_property_ex API | Nikita Popov | 2018-06-29 | 1 | -4/+11 |
| | | | | | | | | For symmetry with zend_read_property_ex. | ||||
* | | Removed INIT_OVERLOADED_CLASS... macros | Dmitry Stogov | 2018-06-29 | 1 | -1/+1 |
| | | |||||
* | | Fixed ZTS race condition (zend_class_entry->ce_flags of internal classes ↵ | Dmitry Stogov | 2018-06-27 | 1 | -52/+28 |
| | | | | | | | | must not be modified, because internal class enties are shared between threads) | ||||
* | | Lazy function copying from op_cache SHM into process memory | Dmitry Stogov | 2018-06-25 | 1 | -6/+7 |
| | | |||||
* | | Micro-optimization | Dmitry Stogov | 2018-06-25 | 1 | -24/+14 |
| | | |||||
* | | Fixed bug #76509 | Nikita Popov | 2018-06-25 | 1 | -13/+4 |
| | | | | | | | | | | | | | | | | | | | | | | 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. | ||||
* | | Removed "dead" code (zend_hash_update() never fails) | Dmitry Stogov | 2018-06-01 | 1 | -37/+44 |
| | | |||||
* | | Removed useless zval_ptr_dtor() | Dmitry Stogov | 2018-05-29 | 1 | -4/+0 |
| | | |||||
* | | Use zend_string_release_ex() instread of zend_string_release() in places, ↵ | Dmitry Stogov | 2018-05-28 | 1 | -18/+18 |
| | | | | | | | | where we sure about string persistence. | ||||
* | | Merge branch 'PHP-7.2' | Anatol Belski | 2018-05-20 | 1 | -0/+1 |
|\ \ | |/ | | | | | | | * PHP-7.2: Fixed bug #76337 | ||||
| * | Fixed bug #76337 | xKhorasan | 2018-05-20 | 1 | -0/+1 |
| | | |||||
* | | Avoid useless checks, using zend_string_efree(), in cases where the string ↵ | Dmitry Stogov | 2018-05-08 | 1 | -9/+9 |
| | | | | | | | | is known to be a temporary allocated zend_string. | ||||
* | | zend_is_callable() improvement | Dmitry Stogov | 2018-05-03 | 1 | -31/+16 |
| | | |||||
* | | Merge branch 'PHP-7.2' | Nikita Popov | 2018-04-26 | 1 | -0/+1 |
|\ \ | |/ | |||||
| * | Merge branch 'PHP-7.1' into PHP-7.2 | Nikita Popov | 2018-04-26 | 1 | -0/+1 |
| |\ | |||||
| | * | Fix memory leak in zend_disable_class() | shiguangqi2008@gmail.com | 2018-04-26 | 1 | -0/+1 |
| | | | |||||
| | * | year++ | Xinchen Hui | 2018-01-02 | 1 | -1/+1 |
| | | | |||||
| * | | year++ | Xinchen Hui | 2018-01-02 | 1 | -1/+1 |
| | | | |||||
* | | | Add is_countable function | Gabriel Caruso | 2018-03-11 | 1 | -0/+17 |
| | | | | | | | | | | | | RFC: https://wiki.php.net/rfc/is-countable | ||||
* | | | Improved ZPP to reduce amount of generated code. | Dmitry Stogov | 2018-02-16 | 1 | -17/+115 |
| | | | |||||
* | | | Use bool instead of boolean while throwing a type error | Gabriel Caruso | 2018-02-04 | 1 | -2/+2 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | PHP requires boolean typehints to be written "bool" and disallows "boolean" as an alias. This changes the error messages to match the actual type name and avoids confusing messages like "must be of type boolean, boolean given". This a followup to ce1d69a1f6dcf15d43029301059c25e5bc09a577, which implements the same change for integer->int. | ||||
* | | | Use int instead of integer in type errors | Gabriel Caruso | 2018-02-04 | 1 | -2/+2 |
| | | | | | | | | | | | | | | | | | | | | | PHP requires integer typehints to be written "int" and does not allow "integer" as an alias. This changes type error messages to match the actual type name and avoids confusing messages like "must be of the type integer, integer given". | ||||
* | | | A cheaper way to reset type flags. | Dmitry Stogov | 2018-01-17 | 1 | -1/+1 |
| | | | |||||
* | | | cleanup | Dmitry Stogov | 2018-01-10 | 1 | -3/+0 |
| | | | |||||
* | | | Trailing whitespaces | Gabriel Caruso | 2018-01-03 | 1 | -5/+5 |
| | | | | | | | | | | | | Signed-off-by: Gabriel Caruso <carusogabriel34@gmail.com> | ||||
* | | | year++ | Xinchen Hui | 2018-01-02 | 1 | -1/+1 |
| | | | |||||
* | | | zend_fcall_info_cache.initialized is removed (zend_fcall_info_cache is ↵ | Dmitry Stogov | 2017-12-27 | 1 | -6/+2 |
| | | | | | | | | | | | | initialized if zend_fcall_info_cache.function_handler is set). | ||||
* | | | Use zend_hash_find() instead of zend_hash_find_ptr() to avoid double check | Dmitry Stogov | 2017-12-27 | 1 | -10/+19 |
| | | | |||||
* | | | Add _IS_NUMBER as cast_object() target type | Nikita Popov | 2017-12-26 | 1 | -0/+2 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | convert_scalar_to_number() will now call cast_object() with an _IS_NUMBER argument, in which case the cast handler should return either an integer or floating point number, whichever is more appropriate. Previously convert_scalar_to_number() unconditionally converted objects to integers instead. Fixes bug #53033. Fixes bug #54973. Fixes bug #73108. | ||||
* | | | Merge branch 'PHP-7.2' | Nikita Popov | 2017-12-13 | 1 | -2/+2 |
|\ \ \ | |/ / | |||||
| * | | Merge branch 'PHP-7.1' into PHP-7.2 | Nikita Popov | 2017-12-13 | 1 | -2/+2 |
| |\ \ | | |/ |