summaryrefslogtreecommitdiff
path: root/Zend/zend_types.h
Commit message (Collapse)AuthorAgeFilesLines
* year++Xinchen Hui2018-01-021-1/+1
|
* Merge branch 'PHP-7.0' into PHP-7.1Dmitry Stogov2017-02-011-1/+1
|\ | | | | | | | | * PHP-7.0: typo
| * typoDmitry Stogov2017-02-011-1/+1
| |
* | Merge branch 'PHP-7.0' into PHP-7.1Dmitry Stogov2017-02-011-3/+4
|\ \ | |/ | | | | | | * PHP-7.0: fixed macro
| * fixed macroDmitry Stogov2017-02-011-3/+4
| |
| * Update copyright headers to 2017Sammy Kaye Powers2017-01-041-1/+1
| |
* | Add Z_EXTRA macroNikita Popov2017-01-051-0/+4
| | | | | | | | For use with u2 values which don't deserve a custom macro...
* | Update copyright headers to 2017Sammy Kaye Powers2017-01-041-1/+1
| |
* | Introduced HT_IS_PACKED() and HT_IS_WITHOUT_HOLES() macros. (Benjamin Coutu)Dmitry Stogov2016-10-191-1/+1
| |
* | Fixed bug #72543 (Different references behavior comparing to PHP 5)Dmitry Stogov2016-07-061-0/+17
| |
* | Add iterable pseudo-typeAaron Piotrowski2016-06-031-1/+2
| |
* | - get rid of EG(scope). zend_get_executed_scope() should be used instead.Dmitry Stogov2016-04-281-0/+5
| | | | | | | | - 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 Stogov2016-04-271-0/+1
| |
* | Remove IS_VAR_RET_REF flagNikita Popov2016-04-151-7/+0
| | | | | | | | | | | | | | Instead decide whether a function returned by reference or by value by checking whether the return value has REFERENCE type. This means that functions returning by reference must always return a reference and functions returning by value must not return a reference.
* | Optimize ASSIGN_DIM (separate common unspecializeble code into helper ↵Dmitry Stogov2016-04-121-1/+1
| | | | | | | | functions).
* | Rename IS_ERROR into _IS_ERROR (to prevent redefinition on Windows).Dmitry Stogov2016-02-011-2/+5
| |
* | Use special type IS_ERROR instread of EG(error_zval). (we still need ↵Dmitry Stogov2016-01-281-0/+5
| | | | | | | | EG(error_zval) for SPL support).
* | Merge branch 'PHP-7.0'Xinchen Hui2016-01-021-1/+1
|\ \ | |/
| * bump year which is missed in rev 49493a2Xinchen Hui2016-01-021-1/+1
| |
| * Cleanup: removed comments (zend_object.handle and zend_resource.handle are ↵Dmitry Stogov2015-09-221-2/+2
| | | | | | | | not going to be removed in PHP-7.0)
* | Introduce BIND_LEXICALNikita Popov2015-12-291-2/+0
| | | | | | | | | | | | | | | | | | | | | | This opcodes inserts a local CV into the closure static variable table. This replaces the previous mechanism of having static variables marked as LEXICAL, which perform a symtable lookup during copying. This means a) functions which contain closures no longer have to rebuild their symtable (better performance) and b) we can now track used variables in SSA.
* | Remove unused IS_TYPE_SYMBOLTABLEXinchen Hui2015-12-161-5/+1
| |
* | Implemented the RFC `Support Class Constant Visibility`.Dmitry Stogov2015-12-081-0/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Squashed commit of the following: commit f11ca0e7a57793fa0e3e7f6d451720e6c42bb0b9 Author: Dmitry Stogov <dmitry@zend.com> Date: Tue Dec 8 12:38:42 2015 +0300 Fixed test expectation commit 211f873f542504d0a0f72b6b5cb23908a1c99a2d Author: Dmitry Stogov <dmitry@zend.com> Date: Tue Dec 8 12:28:38 2015 +0300 Embed zend_class_constant.flags into zend_class_constants.value.u2.access_flags commit 51deab84b2cdbf9cdb1a838cf33b2ee45c61748b Author: Dmitry Stogov <dmitry@zend.com> Date: Mon Dec 7 11:18:55 2015 +0300 Fixed issues found by Nikita commit 544dbd5b47e40d38a8ccb96bc5583e9cb7fdd723 Author: Dmitry Stogov <dmitry@zend.com> Date: Sat Dec 5 02:41:05 2015 +0300 Refactored immplementation of https://wiki.php.net/rfc/class_const_visibility @reeze created an RFC here and I emailed internals here and didn't get any responses positive/negative.
* | Add void return typeAndrea Faulds2015-11-181-0/+1
|/
* Add myself into list of authors of the most refactored files.Dmitry Stogov2015-08-311-0/+1
|
* Simplify the macro (HT_DATA_SIZE/HT_HASH_SIZE is not used outside Zend)Xinchen Hui2015-08-131-11/+9
|
* Get rid of implicit type casting in GC_*() macros in Zend/zend_types.h.Dmitry Stogov2015-08-131-12/+16
| | | | | | This prevented compilation warnings and disclosed few incorrect usages in Zend/zend_vm_def.h and ext/dom/xpath.c. Now explicit type casting may be required on call site. This may break some C extension code, but it shoulfn't be a problem to add explicit casting.
* Fixed bug #70258 and #70253Xinchen Hui2015-08-131-2/+6
|
* Fixed Bug #70173 (ZVAL_COPY_VALUE_EX broken for 32bit Solaris Sparc)Xinchen Hui2015-08-101-14/+3
|
* Fix #70173: ZVAL_COPY_VALUE_EX broken for 32bit Solaris SparcChristoph M. Becker2015-08-091-1/+11
| | | | | On 32bit big endian architectures the high word of a zend_value is copied twice, instead of copying both words. Let's fix it.
* add one more thread storage specifier to allow external linkAnatol Belski2015-07-291-0/+2
|
* improve ZEND_TLS declaration even more and move it to the better placeAnatol Belski2015-07-281-0/+6
|
* Micro optimizationXinchen Hui2015-07-101-0/+9
|
* Improved zend_string API (Francois Laupretre)Dmitry Stogov2015-06-291-5/+5
| | | | | | | | | | | | | | | | | | | | Squashed commit of the following: commit d96eab8d79b75ac83d49d49ae4665f948d15a804 Author: Francois Laupretre <francois@tekwire.net> Date: Fri Jun 26 01:23:31 2015 +0200 Use the new 'ZSTR' macros in the rest of the code. Does not change anything to the generated code (thanks to compat macros) but cleaner. commit b3526439104ac7a89a8e0c79dbebf33b22bd01b8 Author: Francois Laupretre <francois@tekwire.net> Date: Thu Jun 25 13:45:06 2015 +0200 Improve zend_string API Add missing methods
* Make the tail slash alginedXinchen Hui2015-06-161-8/+16
|
* Fix invalid conversion about emallocDreamsxin2015-06-161-8/+8
|
* Call zend_array_dup() instead of zval_copy_ctor().Dmitry Stogov2015-06-021-3/+4
|
* Fixed integer overflow during HashTable size calculationDmitry Stogov2015-06-011-3/+3
|
* Fixes for x32 ABINikita Popov2015-05-231-3/+3
| | | | | | | I'm assuming that we want to have 64bit zend_longs on x32 here. This fixes two typos in __x86_64__ macros and adds sign-extension when assigning STREAM_COPY_ALL to zend_long.
* Merged FE_FETCH_R[W] with the following ASSIGN[_REF] when assigne to CV.Dmitry Stogov2015-05-131-15/+12
|
* Change the GC approach to inner-loops handling. Switch to less efficient but ↵Dmitry Stogov2015-04-171-3/+0
| | | | more robust algorithm. Destructors handling is still not completely accurate.
* Added GC checks and improvementsDmitry Stogov2015-04-171-1/+1
|
* GC improved to support inner-cycles.Dmitry Stogov2015-04-141-0/+3
|
* Don't relay on reference-counter when parameter expected to be a reference, ↵Dmitry Stogov2015-04-031-0/+8
| | | | but value given.
* Using int32_t opposite of uint32_tXinchen Hui2015-03-311-2/+2
|
* Merge in master, fix merge conflicts and update patch to support exceptions ↵Anthony Ferrara2015-03-181-3/+61
|\ | | | | | | everywhere
| * Reimplemented special constant handling. Now __HALT_COMPILER_OFFSET__ is ↵Dmitry Stogov2015-03-181-0/+1
| | | | | | | | resolved at compile-time. __CLASS__ retrived using separate ZEND_FETCH_CLASS_NAME opcode.
| * Fixed zend_hash_del()Dmitry Stogov2015-03-171-0/+4
| |
| * Changed HashTable layout:Dmitry Stogov2015-03-131-3/+56
| | | | | | | | | | | | | | Removed HashTable->arHash (reduced memory consumption). Now hash slots may be accessed using HT_HASH() macro. Hash slotas are allocated together with Buckets (before them) and lay in reverse order from HashTable->arData base address (see comments in Zend/zend_types.h) Indexes in hash table and conflict resolution chains (Z_NEXT) may be stored as indeces or offsets in bytes, depending on system (32 or 64-bit). HashTable data filelds are reordered to keep the most useful for zend_hash_find() data in the same CPU cache line.
* | Merge branch 'master' into scalar_type_hints_v5Anthony Ferrara2015-02-201-0/+3
|\ \ | |/