summaryrefslogtreecommitdiff
path: root/UPGRADING.INTERNALS
Commit message (Collapse)AuthorAgeFilesLines
* Sync leading and final newlines in source code filesPeter Kokot2018-10-141-1/+0
| | | | | | | | | | | | | | | | | | | | | | This patch adds missing newlines, trims multiple redundant final newlines into a single one, and trims redundant leading newlines. According to POSIX, a line is a sequence of zero or more non-' <newline>' characters plus a terminating '<newline>' character. [1] Files should normally have at least one final newline character. C89 [2] and later standards [3] mention a final newline: "A source file that is not empty shall end in a new-line character, which shall not be immediately preceded by a backslash character." Although it is not mandatory for all files to have a final newline fixed, a more consistent and homogeneous approach brings less of commit differences issues and a better development experience in certain text editors and IDEs. [1] http://pubs.opengroup.org/onlinepubs/9699919799/basedefs/V1_chap03.html#tag_03_206 [2] https://port70.net/~nsz/c/c89/c89-draft.html#2.1.1.2 [3] https://port70.net/~nsz/c/c99/n1256.html#5.1.1.2
* Trim trailing whitespace in source code filesPeter Kokot2018-10-131-1/+1
|
* [ci skip] Update UPGRADING about Autoconf versionPeter Kokot2018-10-091-0/+1
|
* Fix typos in UPGRADING.INTERNALSTyson Andre2018-09-051-3/+3
|
* [ci skip] Correct minor typo (GC_GLAGS to GC_FLAGS)Aaron Stone2018-08-201-1/+1
|
* Update UPGRADING.INTERNALS wrt. Same Site CookiesChristoph M. Becker2018-08-031-0/+7
|
* Remove TSRM_CHECK_GCC_ARG and LIBZEND_CPLUSPLUS_CHECKSPeter Kokot2018-07-311-1/+2
| | | | | This removes two old Autoconf macro definitions since they are not used anymore.
* [ci skip] Document RETSIGTYPEPeter Kokot2018-07-291-0/+4
|
* [ci skip] Note HAVE_ST_BLKSIZE and HAVE_ST_RDEVPeter Kokot2018-07-291-0/+4
|
* [ci skip] Note removal of PHP_PROG_LEXPeter Kokot2018-07-291-0/+1
|
* Pack zend_constant.flags and zend_constant.module_number into reserved space ↵Dmitry Stogov2018-07-261-0/+6
| | | | inside zend_constant.value.
* typoDmitry Stogov2018-07-251-1/+1
|
* Encode parent class name as IS_CONST operand in DECLARE_INHERITED_CLASS and ↵Dmitry Stogov2018-07-251-0/+8
| | | | | | DECLARE_ANON_INHERITED_CLASS opcodes (eliminate FETCH_CLAS S opcode).
* add info about zend_class_entry.iterator_funcsRemi Collet2018-07-181-0/+5
|
* [ci skip] Fix typosChristoph M. Becker2018-07-101-3/+3
|
* [ci skip] Document changes to php_add[c]slashesChristoph M. Becker2018-07-101-0/+5
|
* [ci skip] Fix a typo. RANGE_RANGE should be RAND_RANGETyson Andre2018-07-051-1/+1
|
* [ci skip] Document GC_C() → zend_gc_get_status()Christoph M. Becker2018-07-041-0/+4
|
* [ci skip] Document new typedef zif_handlerChristoph M. Becker2018-06-281-0/+4
|
* [ci skip] fixed typosMarkus Staab2018-06-251-2/+2
|
* Added note about zend_function.reserved[] fields usageDmitry Stogov2018-06-251-0/+5
|
* add note about php_url struct changesRemi Collet2018-06-221-0/+3
|
* Fix bug #44217: Output after stdout/stderr closed cause immediate exit with ↵Robert Lu2018-06-191-0/+3
| | | | | | status 0 We exit with status 255 instead.
* Document new configurue optionsAnatol Belski2018-03-081-0/+6
|
* Optimized base64_encode/decode with SIMD instructionsXinchen Hui2018-02-121-0/+3
|
* Added note about changed VM instructionsDmitry Stogov2018-02-021-0/+6
|
* Make IS_UNUSED to be zero.Dmitry Stogov2018-01-311-0/+4
|
* Get rid of IS_TYPE_COPYABLE.Dmitry Stogov2018-01-191-2/+4
|
* Removed IS_TYPE_COPYABLE flag from IS_STRING zvals.Dmitry Stogov2018-01-181-0/+6
|
* Added ZEND_API zend_cpu_supportsXinchen Hui2018-01-161-0/+3
|
* Implement high resolution monotonic timer function hrtime()Anatol Belski2018-01-071-0/+4
|
* zend_fcall_info_cache.initialized is removed (zend_fcall_info_cache is ↵Dmitry Stogov2017-12-271-0/+4
| | | | initialized if zend_fcall_info_cache.function_handler is set).
* Add _IS_NUMBER as cast_object() target typeNikita Popov2017-12-261-0/+5
| | | | | | | | | | | | | | 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.
* Remove RAND_RANGE() macroTom Van Looy2017-12-091-0/+4
| | | | | | | | | | The behavior of RANGE_RANGE() is 7.1 changed completely, from rescaling an already generated number to generating a number itself. Because of this str_shuffle() ended up generating two random numbers on every iteration. To avoid further misuse the function is dropped entirely. Extensions for PHP >= 7.1 should directly call php_mt_rand_range().
* [ci skip] Update UPGRADING.INTERNALSAnatol Belski2017-11-061-0/+5
|
* [ci skip] Fix UPGRADING.INTERNALS, seems it was not reset after 7.2Anatol Belski2017-11-061-73/+17
| | | | branch off
* Persistent resources are "thread-local".Dmitry Stogov2017-11-011-0/+5
| | | | Register persistent resources through new functions zend_register_persistent_resource()/zend_register_persistent_resource_ex().
* Remove zend_get_parameters(_ex) APIsNikita Popov2017-10-301-1/+5
| | | | | | | zend_get_parameters_ex() has been marked as deprecated for a long time already. What zend_get_paramers() does is even more questionable under PHP7. Both functions are obsoleted by the ZPP mechanism, so I'm dropping them.
* Update UPGRADING.INTERNALSDmitry Stogov2017-10-301-0/+9
|
* Always use IS_CONSTANT_AST (IS_CONSTANT is removed).Dmitry Stogov2017-10-101-1/+6
|
* Changed zend_ast_ref structure to use only one allocation, removing ↵Dmitry Stogov2017-10-091-0/+6
| | | | dichotomy between heap/arena ASTs.
* HASH_FLAG_PERSISTENT renamed into IS_ARRAY_PERSISTENT and moved into ↵Dmitry Stogov2017-10-061-0/+3
| | | | GC_FLAGS (to be consistent with IS_STR_PERSISTENT).
* Refactored recursion pretectionDmitry Stogov2017-10-061-0/+14
|
* Changed the way VM accesses constant operands in 64-bit builds.Dmitry Stogov2017-10-041-0/+19
|
* Refactored array creation API. array_init() and array_init_size() are ↵Dmitry Stogov2017-09-201-0/+4
| | | | converted into macros calling zend_new_array(). They are not functions anymore and don't return any values.
* valid_symbol_table removedRemi Collet2017-07-051-0/+4
|
* upgrading: doc about ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EXRemi Collet2017-06-261-0/+5
|
* not about zend_arg_info.class_nameRemi Collet2017-06-251-0/+3
|
* note about IS_TYPE_IMMUTABLERemi Collet2017-06-251-1/+5
|
* note about php_pcre_replace*Remi Collet2017-06-251-0/+6
|