Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | Uinified call frame handling for user and internal functions. | Dmitry Stogov | 2014-07-02 | 1 | -14/+35 | |
| | | | | Now EG(current_execute_data) always point to the call frame of the currently executed function. | |||||
* | Fixed support for extra arguments in conjunction with variadiv argument. | Dmitry Stogov | 2014-06-30 | 1 | -13/+28 | |
| | | | | Use compile time flags to check if we call constructor and result of ZEND_NEW is used or not. | |||||
* | Use fast comparison for (func->type == ZEND_USER_FUNCTION || func->type == ↵ | Dmitry Stogov | 2014-06-27 | 1 | -10/+8 | |
| | | | | ZEND_EVAL_CODE) | |||||
* | Keep extra args in the same VM stack segment (after all CV and TMP vars) | Dmitry Stogov | 2014-06-27 | 1 | -6/+6 | |
| | ||||||
* | Refactoring: merge call_frame and end_execute_data into single data ↵ | Dmitry Stogov | 2014-06-26 | 1 | -42/+72 | |
| | | | | structure. Keep only single copy of each argument on VM stack (previously ZE kept two copies of each arguments for user functions) | |||||
* | Refactoring: use call_frames instead of call_slots | Dmitry Stogov | 2014-06-24 | 1 | -65/+78 | |
| | ||||||
* | Use arena allocator for zend_class_entry, zend_op_array and ↵ | Dmitry Stogov | 2014-06-18 | 1 | -5/+7 | |
| | | | | zend_property_info that live till the end of request | |||||
* | Merge branch 'master' into phpng | Dmitry Stogov | 2014-06-12 | 1 | -16/+16 | |
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * master: (77 commits) NEWS entry for Fix potential segfault in dns_get_record() NEWS entry for "Fix potential segfault in dns_get_record()" NEWS entry for Fix potential segfault in dns_get_record( Fix potential segfault in dns_get_record() Revert "Add optional second arg to unserialize()" 5.5.15 now update NEWS Fix bug #66127 (Segmentation fault with ArrayObject unset) 5.4.31 next Add NEWS. This doesn't need UPGRADING (or an RFC), IMO. Fix broken test. Add a mime type map generation script and update the header. Move the mime type map out of php_cli_server.c for easier generation. Replace the CLI server's linear search for extensions with a hash table. fix test Remove unused included file NEWS NEWS NEWS Fixed Bug #67413 fileinfo: cdf_read_property_info insufficient boundary chec ... Conflicts: Zend/zend_closures.c Zend/zend_execute.c Zend/zend_vm_def.h Zend/zend_vm_execute.h ext/spl/spl_array.c ext/standard/basic_functions.c ext/standard/dns.c ext/standard/var.c | |||||
| * | Merge remote-tracking branch 'github/pr/671' | Stanislav Malyshev | 2014-06-08 | 1 | -16/+16 | |
| |\ | | | | | | | | | | | | | | | | * github/pr/671: Fix align indentation Fixed identation on file | |||||
| | * | Fix align indentation | Jefersson Nathan | 2014-05-12 | 1 | -16/+16 | |
| | | | ||||||
* | | | Use reference counting instead of zval duplication | Dmitry Stogov | 2014-06-05 | 1 | -2/+1 | |
| | | | ||||||
* | | | cleanup | Dmitry Stogov | 2014-06-03 | 1 | -9/+3 | |
| | | | ||||||
* | | | cleanup | Dmitry Stogov | 2014-06-03 | 1 | -9/+16 | |
| | | | ||||||
* | | | Use new zend_hash API | Dmitry Stogov | 2014-05-27 | 1 | -7/+8 | |
| | | | ||||||
* | | | Use specialized functions instead of macros | Dmitry Stogov | 2014-05-26 | 1 | -12/+12 | |
| | | | ||||||
* | | | Optimize func_get_args() to build packed array | Dmitry Stogov | 2014-05-26 | 1 | -12/+21 | |
| | | | ||||||
* | | | Fixed apply_func_args_t | Xinchen Hui | 2014-05-25 | 1 | -6/+6 | |
| | | | ||||||
* | | | Fixed apply_func_arg_t, and it's better not using cast (compiler friendly) | Xinchen Hui | 2014-05-25 | 1 | -2/+2 | |
| | | | ||||||
* | | | Use optimized zend_array_dup() function. convert zend_hash_num_elements() ↵ | Dmitry Stogov | 2014-05-23 | 1 | -3/+2 | |
| | | | | | | | | | | | | and zend_hash_next_free_element() into macros. | |||||
* | | | Save one type checking if the type is already string | Xinchen Hui | 2014-05-13 | 1 | -7/+3 | |
| | | | ||||||
* | | | zend_stack_top() now returns pointer directly | Nikita Popov | 2014-05-01 | 1 | -4/+2 | |
| | | | ||||||
* | | | Don't allocate zend_stack elements individually | Nikita Popov | 2014-05-01 | 1 | -3/+3 | |
| | | | | | | | | | | | | | | | Instead allocate a vector of elements. Size must now be specified on initialization rather than on push. | |||||
* | | | Split IS_BOOL into IS_FALSE and IS_TRUE | Dmitry Stogov | 2014-04-30 | 1 | -1/+2 | |
| | | | ||||||
* | | | Optimized constant lookup | Dmitry Stogov | 2014-04-25 | 1 | -7/+4 | |
| | | | ||||||
* | | | Redesigned zend_execute_data layout now EX(object), EX(scope) and ↵ | Dmitry Stogov | 2014-04-24 | 1 | -12/+33 | |
| | | | | | | | | | | | | | | | | | | EX(called_scope) arr properties of the current function execution co ntext. They are set during zend_execute_data initialization and never changed. | |||||
* | | | Fixed compilation warnings | Dmitry Stogov | 2014-04-22 | 1 | -15/+8 | |
| | | | ||||||
* | | | Avoid string duplication | Dmitry Stogov | 2014-04-22 | 1 | -8/+4 | |
| | | | ||||||
* | | | Use ZEND_FETCH_FOREACH_* macros to iterate over HashTables instead of ↵ | Dmitry Stogov | 2014-04-18 | 1 | -55/+30 | |
| | | | | | | | | | | | | zend_hash_move_forward() and family. | |||||
* | | | Moved zend_literal->cache_slot right into zval. | Dmitry Stogov | 2014-04-17 | 1 | -1/+1 | |
| | | | | | | | | | | | | | | | | | | | | | It should be accessed using Z_CACHE_SLOT() macro. zend_literal structure is removed. API functions that accepted pointer to zend_literal now accept pointer to zval or cache_slot directly. Calls of such functiond that now accept cache_slot need to be changed to pass -1 instead of NULL. | |||||
* | | | op_array->filename and op_array->filename may be kept in opcache SHM | Dmitry Stogov | 2014-04-16 | 1 | -4/+8 | |
| | | | ||||||
* | | | Fixed reference counting | Dmitry Stogov | 2014-04-16 | 1 | -2/+4 | |
| | | | ||||||
* | | | Cleanup | Dmitry Stogov | 2014-04-16 | 1 | -3/+0 | |
| | | | ||||||
* | | | Cleanup (1-st round) | Dmitry Stogov | 2014-04-15 | 1 | -11/+10 | |
| | | | ||||||
* | | | Fixed zend_object_get_t in simpleXML | Xinchen Hui | 2014-04-15 | 1 | -1/+2 | |
| | | | ||||||
* | | | Fix some ZTS issues and leaks | Nikita Popov | 2014-04-10 | 1 | -1/+1 | |
| | | | ||||||
* | | | Fix ZTS build | Nikita Popov | 2014-04-09 | 1 | -1/+1 | |
| | | | | | | | | | | | | | | | This only makes it compile, it doesn't actually work, presumably because interned strings are assumed in some places. | |||||
* | | | Refactored zend_hash_* iteration API zend_hash_fove_forward_ex(ht, pos) and ↵ | Dmitry Stogov | 2014-04-07 | 1 | -2/+2 | |
| | | | | | | | | | | | | | | | | | | | | | family require second argument to be real pointer. &(ht)->nInternalPointer should be passed instead of NULL. zend_hash_update_current_key() may work only with internal pointer. | |||||
* | | | Constant duplication optimization | Dmitry Stogov | 2014-04-04 | 1 | -1/+1 | |
| | | | | | | | | | | | | Argument receiving optimization | |||||
* | | | Refactored ZVAL flags usage to simplify various checks (e.g. Z_REFCOUNTED(), ↵ | Dmitry Stogov | 2014-04-03 | 1 | -1/+1 | |
| | | | | | | | | | | | | candidate for GC, etc) | |||||
* | | | Avoid unnecessry reallocations | Dmitry Stogov | 2014-04-01 | 1 | -2/+2 | |
| | | | ||||||
* | | | Avoid unnecessry reallocation | Dmitry Stogov | 2014-04-01 | 1 | -2/+6 | |
| | | | ||||||
* | | | Fixed parameter passing | Dmitry Stogov | 2014-04-01 | 1 | -2/+1 | |
| | | | ||||||
* | | | Refactored data structures to keep zend_object* instead of a whole zval in ↵ | Dmitry Stogov | 2014-03-28 | 1 | -14/+16 | |
| | | | | | | | | | | | | some places | |||||
* | | | Use ZVAL_DEREF() macro | Dmitry Stogov | 2014-03-27 | 1 | -3/+1 | |
| | | | ||||||
* | | | Replaced (Z_TYPE(x) == IS_REFERENCE) with (Z_ISREF(x)) | Dmitry Stogov | 2014-03-27 | 1 | -1/+1 | |
| | | | ||||||
* | | | Refactored IS_INDIRECT usage for CV and object properties to support ↵ | Dmitry Stogov | 2014-03-26 | 1 | -3/+19 | |
| | | | | | | | | | | | | HashTable resizing | |||||
* | | | Refactored EG(active_symbol_table) to be zend_array* instead of HashTable* | Dmitry Stogov | 2014-03-17 | 1 | -2/+2 | |
| | | | ||||||
* | | | Handle interned strings as non-refcounted scalars | Dmitry Stogov | 2014-03-05 | 1 | -7/+7 | |
| | | | ||||||
* | | | Fixed typo in get_extension_funcs | Xinchen Hui | 2014-03-03 | 1 | -2/+2 | |
| | | | ||||||
* | | | Fixed NULL pointer dereference | Xinchen Hui | 2014-03-03 | 1 | -1/+3 | |
| | | |