Revision tags: php-7.2.15, php-7.3.2, php-7.2.15RC1 |
|
#
92ac598a |
| 22-Jan-2019 |
Peter Kokot |
Remove local variables This patch removes the so called local variables defined per file basis for certain editors to properly show tab width, and similar settings. These are mainly
Remove local variables This patch removes the so called local variables defined per file basis for certain editors to properly show tab width, and similar settings. These are mainly used by Vim and Emacs editors yet with recent changes the once working definitions don't work anymore in Vim without custom plugins or additional configuration. Neither are these settings synced across the PHP code base. A simpler and better approach is EditorConfig and fixing code using some code style fixing tools in the future instead. This patch also removes the so called modelines for Vim. Modelines allow Vim editor specifically to set some editor configuration such as syntax highlighting, indentation style and tab width to be set in the first line or the last 5 lines per file basis. Since the php test files have syntax highlighting already set in most editors properly and EditorConfig takes care of the indentation settings, this patch removes these as well for the Vim 6.0 and newer versions. With the removal of local variables for certain editors such as Emacs and Vim, the footer is also probably not needed anymore when creating extensions using ext_skel.php script. Additionally, Vim modelines for setting php syntax and some editor settings has been removed from some *.phpt files. All these are mostly not relevant for phpt files neither work properly in the middle of the file.
show more ...
|
#
0cf7de1c |
| 30-Jan-2019 |
Zeev Suraski |
Remove yearly range from copyright notice
|
#
ab9a9a6b |
| 24-Jan-2019 |
Dmitry Stogov |
Disallow PHP startup, in case some ext ext/standard sub-module is not initialized sucessfully.
|
Revision tags: php-7.3.2RC1, php-5.6.40, php-7.1.26, php-7.3.1, php-7.2.14 |
|
#
e219ec14 |
| 07-Jan-2019 |
Nikita Popov |
Implement typed properties RFC: https://wiki.php.net/rfc/typed_properties_v2 This is a squash of PR #3734, which is a squash of PR #3313. Co-authored-by: Bob Weinand <bobwe
Implement typed properties RFC: https://wiki.php.net/rfc/typed_properties_v2 This is a squash of PR #3734, which is a squash of PR #3313. Co-authored-by: Bob Weinand <bobwei9@hotmail.com> Co-authored-by: Joe Watkins <krakjoe@php.net> Co-authored-by: Dmitry Stogov <dmitry@zend.com>
show more ...
|
#
cec09117 |
| 18-Dec-2018 |
Dmitry Stogov |
Replace zend_hash_apply... with ZEND_HASH_FOREACH...
|
Revision tags: php-7.2.14RC1, php-7.3.1RC1 |
|
#
d206630f |
| 13-Dec-2018 |
Dmitry Stogov |
Fixed memory leaks
|
Revision tags: php-5.6.39, php-7.1.25, php-7.2.13, php-7.0.33, php-7.3.0, php-7.1.25RC1, php-7.2.13RC1, php-7.3.0RC6, php-7.1.24, php-7.2.12, php-7.3.0RC5, php-7.1.24RC1, php-7.2.12RC1, php-7.3.0RC4, php-7.1.23, php-7.2.11, php-7.3.0RC3, php-7.1.23RC1, php-7.2.11RC1, php-7.3.0RC2, php-5.6.38, php-7.1.22, php-7.3.0RC1, php-7.2.10, php-7.0.32, php-7.1.22RC1, php-7.3.0beta3, php-7.2.10RC1 |
|
#
cdd8368d |
| 19-Aug-2018 |
Gabriel Caruso |
Clean up unnecessary ternary expressions and simplify some returns - Simplify conditions - Use ZEND_HASH_APPLY_* instead of hard-coded booleans - Use ZEND_NORMALIZE_BOOL - Drop s
Clean up unnecessary ternary expressions and simplify some returns - Simplify conditions - Use ZEND_HASH_APPLY_* instead of hard-coded booleans - Use ZEND_NORMALIZE_BOOL - Drop sign in favor of ZEND_NORMALIZE_BOOL
show more ...
|
#
534df87c |
| 15-Oct-2018 |
Sara Golemon |
Implement password mechanism registry RFC: https://wiki.php.net/rfc/password_registry
|
#
9afce019 |
| 01-Nov-2018 |
Zeev Suraski |
Future-proof email addresses
|
#
67e0138c |
| 01-Nov-2018 |
Zeev Suraski |
Future-proof email addresses...
|
#
d3ca28f5 |
| 15-Sep-2018 |
Peter Kokot |
Remove HAVE_STRING_H The C89 standard and later defines the `<string.h>` header as part of the standard headers [1] and on current systems it is always present. Code included al
Remove HAVE_STRING_H The C89 standard and later defines the `<string.h>` header as part of the standard headers [1] and on current systems it is always present. Code included also `<strings.h>` header as an alterinative in some files. This kind of check was relevant on some older systems where the `<strings.h>` file included definitions for the C89 compliant `<string.h>`. Today such alternative check is not required anymore. The `<strings.h>` file is part of the POSIX definition these days. Also Autoconf suggests doing this and relying on C89 or above [2] and [3]. This patch also cleans few unused `<strings.h>` inclusions in the libmbfl. [1]: https://port70.net/~nsz/c/c89/c89-draft.html#4.1.2 [2]: http://git.savannah.gnu.org/cgit/autoconf.git/tree/lib/autoconf/headers.m4 [3]: https://www.gnu.org/software/autoconf/manual/autoconf-2.69/autoconf.html
show more ...
|
#
6da3a1e3 |
| 15-Sep-2018 |
Christoph M. Becker |
Revert "Implement #67331: Have parse_ini_file add empty entries" This reverts commit 3f3e914df33793a36f51b4e44745d6a5aec4f685. The commit broke some tests on Windows, and generally
Revert "Implement #67331: Have parse_ini_file add empty entries" This reverts commit 3f3e914df33793a36f51b4e44745d6a5aec4f685. The commit broke some tests on Windows, and generally needs more though.
show more ...
|
#
3f3e914d |
| 28-Aug-2018 |
Christoph M. Becker |
Implement #67331: Have parse_ini_file add empty entries Some INI processors allow to specify empty values by just giving the key without the equals sign, for instance MySQL and Python.
Implement #67331: Have parse_ini_file add empty entries Some INI processors allow to specify empty values by just giving the key without the equals sign, for instance MySQL and Python. It appears to be sensible to add this possibility to our INI parser, so that it can be used for such INI files as well. We choose NULL as the value of empty values. This syntactical enhancement is a (minor) BC break, though, as can be seen by the necessary change to bug49692.ini. The “comment” formerly has been simply ignored, but now it would be parsed as key with an empty value. This PR is based on Adam's former patch.
show more ...
|
Revision tags: php-7.1.21, php-7.2.9, php-7.3.0beta2, php-7.1.21RC1, php-7.3.0beta1, php-7.2.9RC1, php-5.6.37, php-7.1.20 |
|
#
2b58ab23 |
| 19-Jul-2018 |
Pedro Magalhães |
Support for samesite cookies with array syntax Allows using an alternative array argument with support for the samesite option on the following functions: setcookie setrawcoo
Support for samesite cookies with array syntax Allows using an alternative array argument with support for the samesite option on the following functions: setcookie setrawcookie session_set_cookie_params
show more ...
|
Revision tags: php-7.3.0alpha4, php-7.0.31, php-7.2.8, php-7.1.20RC1, php-7.2.8RC1, php-7.3.0alpha3, php-7.3.0alpha2, php-7.1.19, php-7.2.7, php-7.1.19RC1, php-7.3.0alpha1, php-7.2.7RC1, php-7.1.18, php-7.2.6, php-7.2.6RC1, php-7.1.18RC1, php-5.6.36, php-7.2.5, php-7.1.17, php-7.0.30, php-7.1.17RC1, php-7.2.5RC1, php-5.6.35, php-7.0.29, php-7.2.4, php-7.1.16, php-7.1.16RC1, php-7.2.4RC1, php-7.1.15, php-5.6.34, php-7.2.3, php-7.0.28, php-7.2.3RC1, php-7.1.15RC1, php-7.1.14, php-7.2.2, php-7.1.14RC1, php-7.2.2RC1, php-7.1.13, php-5.6.33, php-7.2.1, php-7.0.27, php-7.2.1RC1, php-7.1.13RC1, php-7.0.27RC1, php-7.2.0, php-7.1.12, php-7.0.26, php-7.1.12RC1, php-7.2.0RC6, php-7.0.26RC1, php-7.1.11, php-5.6.32, php-7.2.0RC5, php-7.0.25, php-7.1.11RC1, php-7.2.0RC4, php-7.0.25RC1, php-7.1.10, php-7.2.0RC3, php-7.0.24, php-7.2.0RC2, php-7.1.10RC1, php-7.0.24RC1, php-7.1.9, php-7.2.0RC1, php-7.0.23, php-7.1.9RC1, php-7.2.0beta3, php-7.0.23RC1, php-7.1.8, php-7.2.0beta2, php-7.0.22, php-7.1.8RC1, php-7.2.0beta1, php-7.0.22RC1 |
|
#
08b9310e |
| 07-Jul-2017 |
Frederik Bosch |
implement same site cookie see https://bugs.php.net/bug.php?id=72230 see https://tools.ietf.org/html/draft-west-first-party-cookies-07 see https://scotthelme.co.uk/csrf-is-dead/
|
#
8d3f8ca1 |
| 03-Jul-2018 |
Peter Kokot |
Remove unused Git attributes ident The $Id$ keywords were used in Subversion where they can be substituted with filename, last revision number change, last changed date, and last use
Remove unused Git attributes ident 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.
show more ...
|
#
d9acfa45 |
| 05-Jul-2018 |
Nikita Popov |
Deprecate fgetss() and gzgetss() SplFileObject::fgetss() will also generate a deprecation notice through an internal call to fgetss(). Part of RFC https://wiki.php.net/rfc/depre
Deprecate fgetss() and gzgetss() SplFileObject::fgetss() will also generate a deprecation notice through an internal call to fgetss(). Part of RFC https://wiki.php.net/rfc/deprecations_php_7_3.
show more ...
|
#
50516a6e |
| 17-Jul-2018 |
Enno Woortmann |
Add implementation and tests for new methods - array_key_first(array $a) Returns the key of the first element or null - array_key_last(array $a) Returns the key of the last element or null
|
#
83f6f856 |
| 05-Jul-2018 |
Dmitry Stogov |
Use zval_ptr_dtor() instead of legacy zval_dtor(), to destroy unused values returned from PHP functions (they may be circular data structures).
|
#
b6fb5845 |
| 05-Jul-2018 |
Dmitry Stogov |
Replace zval_dtor() with specialized destructors
|
#
4a475a49 |
| 04-Jul-2018 |
Dmitry Stogov |
Replace legacy zval_dtor() by zval_ptr_dtor_nogc() or even more specialized destructors. zval_dtor() doesn't make a lot of sense in PHP-7.* and it's used incorrectly in some places. Its occur
Replace legacy zval_dtor() by zval_ptr_dtor_nogc() or even more specialized 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.
show more ...
|
#
0b90cf85 |
| 01-Jun-2018 |
Dmitry Stogov |
Removed "dead" code (zend_hash_update() never fails)
|
#
5eb1f92f |
| 28-May-2018 |
Dmitry Stogov |
Use zend_string_release_ex() instread of zend_string_release() in places, where we sure about string persistence.
|
#
524f5245 |
| 08-May-2018 |
Dmitry Stogov |
Avoid useless checks, using zend_string_efree(), in cases where the string is known to be a temporary allocated zend_string.
|
#
bb79e576 |
| 25-Mar-2018 |
Gabriel Caruso |
Fix arginfo for array_replace(_recursive) and array_merge(_recursive)
|