Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Merge branch 'PHP-7.2' into PHP-7.3 | Nikita Popov | 2019-08-13 | 1 | -1/+2 |
|\ | |||||
| * | Don't destroy properties array with unset GC type | Nikita Popov | 2019-08-13 | 1 | -1/+2 |
| | | | | | | | | | | As the properties array can also be a GC root, it might have already been destroyed. | ||||
| * | year++ | Xinchen Hui | 2018-01-02 | 1 | -1/+1 |
| | | |||||
* | | Future-proof email addresses | Zeev Suraski | 2018-11-01 | 1 | -3/+3 |
| | | |||||
* | | 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. | ||||
* | | se zval_ptr_dtor_str() instead of zend_string_release_ex(Z_STR(*), 0) | Dmitry Stogov | 2018-07-04 | 1 | -1/+1 |
| | | |||||
* | | Reduced overhead of magic method calls ↵ | Dmitry Stogov | 2018-06-22 | 1 | -9/+44 |
| | | | | | | | | (__get/__set/__unset/__isset/__dectructor/__clone). | ||||
* | | Use zend_string_release_ex() instread of zend_string_release() in places, ↵ | Dmitry Stogov | 2018-05-28 | 1 | -1/+1 |
| | | | | | | | | where we sure about string persistence. | ||||
* | | Optimize zend_hash_real_init() | Dmitry Stogov | 2018-03-23 | 1 | -1/+1 |
| | | |||||
* | | Get rid of IS_OBJ_USE_GUARDS and IS_OBJ_HAS_GUARDS flags | Dmitry Stogov | 2018-02-27 | 1 | -4/+2 |
| | | |||||
* | | Use OBJ_FLAGS() macro to access object flags (even if they are currently ↵ | Dmitry Stogov | 2018-01-22 | 1 | -2/+2 |
| | | | | | | | | stored together with GC_FLAGS) | ||||
* | | Use HT_FLAGS() macro | Dmitry Stogov | 2018-01-22 | 1 | -2/+2 |
| | | |||||
* | | year++ | Xinchen Hui | 2018-01-02 | 1 | -1/+1 |
| | | |||||
* | | Use fastcall calling convention for objects and resources API | Dmitry Stogov | 2017-12-14 | 1 | -3/+3 |
| | | |||||
* | | Encapsulate reference-counting primitives. | Dmitry Stogov | 2017-10-27 | 1 | -4/+4 |
| | | | | | | | | | | | | Prohibit direct update of GC_REFCOUNT(), GC_SET_REFCOUNT(), GC_ADDREF() and GC_DELREF() shoukf be instead. Added mactros to validate reference-counting (disabled for now). These macros are going to be used to eliminate race-condintions during reference-counting on data shared between threads. | ||||
* | | Refactored array creation API. array_init() and array_init_size() are ↵ | Dmitry Stogov | 2017-09-20 | 1 | -2/+1 |
|/ | | | | converted into macros calling zend_new_array(). They are not functions anymore and don't return any values. | ||||
* | further sync for vim mode lines | Anatol Belski | 2017-07-04 | 1 | -0/+2 |
| | |||||
* | Cleanup. Removed unused functions and unimplemented prototype. Avoid useless ↵ | Dmitry Stogov | 2017-06-27 | 1 | -1/+1 |
| | | | | "dtor_obj" calls. | ||||
* | Unused var | Xinchen Hui | 2017-05-08 | 1 | -2/+0 |
| | |||||
* | Don't double initialize object properties | Nikita Popov | 2017-05-04 | 1 | -9/+11 |
| | |||||
* | Update copyright headers to 2017 | Sammy Kaye Powers | 2017-01-02 | 1 | -1/+1 |
| | |||||
* | Turn IS_TYPE_COLLECTABLE zval flag into GC_COLLECTABLE zend_refcounted flag. | Dmitry Stogov | 2016-10-21 | 1 | -1/+1 |
| | | | | This simplifies checks and allows reset this flag for "acyclic" arrays and objects. | ||||
* | EG(fake_scope) was always set to NULL wrongly | Xinchen Hui | 2016-06-12 | 1 | -7/+4 |
| | |||||
* | Fixed bug #72177 (Scope issue in __destruct after ↵ | Dmitry Stogov | 2016-05-13 | 1 | -0/+7 |
| | | | | ReflectionProperty::setValue()) | ||||
* | - get rid of EG(scope). zend_get_executed_scope() should be used instead. | Dmitry Stogov | 2016-04-28 | 1 | -20/+20 |
| | | | | - ichanged zval_update_constant_ex(). Use IS_TYPE_IMMUTABLE flag on shared constants and AST, instead of "inline_change" parameter. | ||||
* | Optimize property guards for the most usual case with only one acive guard. | Dmitry Stogov | 2016-04-27 | 1 | -5/+10 |
| | |||||
* | IS_CONST operands don't have to be separated. Use reference-counting instead ↵ | Dmitry Stogov | 2016-04-05 | 1 | -1/+1 |
| | | | | | | | of duplication. - with opcache all IS_CONST operands are not refcounted (scalars, interned strings or immutable arrays) - without opcache IS_CONST operands are not shared between processes or threads and may use common reference counters | ||||
* | bump year which is missed in rev 49493a2 | Xinchen Hui | 2016-01-02 | 1 | -1/+1 |
| | |||||
* | Add myself into list of authors of the most refactored files. | Dmitry Stogov | 2015-08-31 | 1 | -0/+1 |
| | |||||
* | Fixed bug #70187 (Notice: unserialize(): Unexpected end of serialized data) | Dmitry Stogov | 2015-08-26 | 1 | -0/+3 |
| | |||||
* | Use NULL where possible for exception class | Aaron Piotrowski | 2015-07-07 | 1 | -2/+2 |
| | | | | Matches usage of zend_throw_exception()/zend_throw_exception_ex(). | ||||
* | Remove need to pass error level | Aaron Piotrowski | 2015-07-03 | 1 | -10/+22 |
| | |||||
* | Enable throwing custom exceptions from errors | Aaron Piotrowski | 2015-07-03 | 1 | -2/+2 |
| | |||||
* | Fixed bug #69521 (Segfault in gc_collect_cycles()). | Xinchen Hui | 2015-07-02 | 1 | -2/+0 |
| | |||||
* | Use ZSTR_ API to access zend_string elements (this is just renaming without ↵ | Dmitry Stogov | 2015-06-30 | 1 | -4/+4 |
| | | | | semantick changes). | ||||
* | Fixed memroy errors with valgrind | Xinchen Hui | 2015-06-29 | 1 | -0/+2 |
| | |||||
* | Use COW to prevent unnecessary duplication of dynamic propertyes of stdClass ↵ | Dmitry Stogov | 2015-06-17 | 1 | -1/+15 |
| | | | | (and other classes without predefined properties). | ||||
* | Improved hash table copying | Dmitry Stogov | 2015-05-19 | 1 | -3/+7 |
| | |||||
* | Micro optimizations | Dmitry Stogov | 2015-04-28 | 1 | -7/+11 |
| | |||||
* | Micro optimizations | Dmitry Stogov | 2015-04-27 | 1 | -12/+17 |
| | |||||
* | Convert fatal errors into EngineException | Dmitry Stogov | 2015-04-02 | 1 | -1/+1 |
| | |||||
* | Convert fatal errors into EngineExceptions | Dmitry Stogov | 2015-04-01 | 1 | -2/+2 |
| | |||||
* | Use zend_error_noreturn() for fatal errors | Dmitry Stogov | 2015-04-01 | 1 | -1/+1 |
| | |||||
* | Make zend_array_destroy() to free the corresponding zend_array | Dmitry Stogov | 2015-02-24 | 1 | -1/+0 |
| | |||||
* | Move zend_object->guards into additional slot of ↵ | Dmitry Stogov | 2015-02-04 | 1 | -6/+13 |
| | | | | zend_object->properties_table[]. As result size of objects without __get/__set/__unset/__isset magic methods is reduced. | ||||
* | bump year | Xinchen Hui | 2015-01-15 | 1 | -1/+1 |
| | |||||
* | Merge remote-tracking branch 'origin/master' into native-tls | Anatol Belski | 2014-12-15 | 1 | -2/+2 |
|\ | | | | | | | | | | | | | | | | | | | * origin/master: made the apache ini holders to be zend_bool Removed useless local variable Use simpler functions Fixed test small fixes to UPGRADING Reorder to save alignment size (of course, only for common used structs) | ||||
| * | Use simpler functions | Dmitry Stogov | 2014-12-15 | 1 | -2/+2 |
| | | |||||
* | | first shot remove TSRMLS_* things | Anatol Belski | 2014-12-13 | 1 | -13/+13 |
|/ | |||||
* | Added new optimized zend_array_destroy() function | Dmitry Stogov | 2014-11-25 | 1 | -1/+1 |
| |