]> granicus.if.org Git - php/log
php
6 years ago[ci skip] Typo
Stanislav Malyshev [Wed, 1 Aug 2018 05:40:21 +0000 (22:40 -0700)]
[ci skip] Typo

6 years ago[ci skip] Ugh, whitespace
Stanislav Malyshev [Tue, 31 Jul 2018 19:44:51 +0000 (12:44 -0700)]
[ci skip] Ugh, whitespace

6 years ago[ci skip] Clarify difference between security & regular bugfixes
Stanislav Malyshev [Tue, 31 Jul 2018 19:43:22 +0000 (12:43 -0700)]
[ci skip] Clarify difference between security & regular bugfixes

6 years agoMerge branch 'PHP-7.3'
Anatol Belski [Tue, 31 Jul 2018 15:32:49 +0000 (17:32 +0200)]
Merge branch 'PHP-7.3'

* PHP-7.3:
  Fix length to copy

6 years agoFix length to copy
Anatol Belski [Tue, 31 Jul 2018 15:31:13 +0000 (17:31 +0200)]
Fix length to copy

6 years agoUPDATE README.GIT-RULES wrt. PHP-7.3
Christoph M. Becker [Tue, 31 Jul 2018 15:06:44 +0000 (17:06 +0200)]
UPDATE README.GIT-RULES wrt. PHP-7.3

We also add a respective note to README.RELEASE_PROCESS, so this won't
get overlooked again.

6 years agoPrepare UPGRADING(.INTERNALS) for PHP 7.4
Christoph M. Becker [Tue, 31 Jul 2018 13:54:03 +0000 (15:54 +0200)]
Prepare UPGRADING(.INTERNALS) for PHP 7.4

We also add this as task to README.RELEASE_PROCESS, so that it's not
overlooked next time.

6 years agoMerge branch 'PHP-7.3'
Christoph M. Becker [Tue, 31 Jul 2018 12:11:59 +0000 (14:11 +0200)]
Merge branch 'PHP-7.3'

* PHP-7.3:
  Fix ZEND_EXTENSION_API_NO

6 years agoFix ZEND_EXTENSION_API_NO
Christoph M. Becker [Tue, 31 Jul 2018 12:11:39 +0000 (14:11 +0200)]
Fix ZEND_EXTENSION_API_NO

6 years agoFix README.RELEASE_PROCESS
Christoph M. Becker [Tue, 31 Jul 2018 12:09:31 +0000 (14:09 +0200)]
Fix README.RELEASE_PROCESS

The version has to be updated in configure.ac; by running `./configure`
afterwards, main/php_versions.h will be updated automatically.

6 years agoPrepare for PHP 7.4
Christoph M. Becker [Tue, 31 Jul 2018 11:56:24 +0000 (13:56 +0200)]
Prepare for PHP 7.4

6 years agoUpdate API version numbers
Christoph M. Becker [Tue, 31 Jul 2018 11:28:47 +0000 (13:28 +0200)]
Update API version numbers

These are supposed to be final now for PHP 7.3.

6 years agoFix UPGRADING
Christoph M. Becker [Tue, 31 Jul 2018 11:31:28 +0000 (13:31 +0200)]
Fix UPGRADING

6 years agoUpdate UPGRADING wrt. samesite cookie RFC
Christoph M. Becker [Tue, 31 Jul 2018 10:48:33 +0000 (12:48 +0200)]
Update UPGRADING wrt. samesite cookie RFC

Cf. <https://wiki.php.net/rfc/same-site-cookie>.

6 years agoSupport for samesite cookies with array syntax
Pedro Magalhães [Thu, 19 Jul 2018 01:40:39 +0000 (02:40 +0100)]
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

6 years agoimplement same site cookie see https://bugs.php.net/bug.php?id=72230 see https:/...
Frederik Bosch [Fri, 7 Jul 2017 17:06:53 +0000 (19:06 +0200)]
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/

6 years agoImproved method visibility checks
Dmitry Stogov [Tue, 31 Jul 2018 10:05:57 +0000 (13:05 +0300)]
Improved method visibility checks

6 years agoSimplified property name to string conversion
Dmitry Stogov [Tue, 31 Jul 2018 09:24:53 +0000 (12:24 +0300)]
Simplified property name to string conversion

6 years agoRemoved useless IS_UNDEF checks
Dmitry Stogov [Tue, 31 Jul 2018 09:23:46 +0000 (12:23 +0300)]
Removed useless IS_UNDEF checks

6 years agoRemove TSRM_CHECK_GCC_ARG and LIBZEND_CPLUSPLUS_CHECKS
Peter Kokot [Tue, 31 Jul 2018 03:59:05 +0000 (05:59 +0200)]
Remove TSRM_CHECK_GCC_ARG and LIBZEND_CPLUSPLUS_CHECKS

This removes two old Autoconf macro definitions since they are not used
anymore.

6 years agoFix minor Autoconf coding style
Peter Kokot [Tue, 31 Jul 2018 01:09:44 +0000 (03:09 +0200)]
Fix minor Autoconf coding style

This fixes two minor Autoconf coding styles. Double quotes in arguments
don't need to be escaped. This removes warning given by autoreconf:
- warning: back quotes and double quotes must not be escaped in...

6 years agoUpdate NEWS [ci skip]
Anatol Belski [Mon, 30 Jul 2018 17:44:59 +0000 (19:44 +0200)]
Update NEWS [ci skip]

6 years agoMerge branch 'PHP-7.2'
Anatol Belski [Mon, 30 Jul 2018 17:44:01 +0000 (19:44 +0200)]
Merge branch 'PHP-7.2'

* PHP-7.2:
  Update NEWS [ci skip]
  Update NEWS [ci skip]

6 years agoUpdate NEWS [ci skip]
Anatol Belski [Mon, 30 Jul 2018 17:43:23 +0000 (19:43 +0200)]
Update NEWS [ci skip]

6 years agoMerge branch 'PHP-7.1' into PHP-7.2
Anatol Belski [Mon, 30 Jul 2018 17:42:45 +0000 (19:42 +0200)]
Merge branch 'PHP-7.1' into PHP-7.2

* PHP-7.1:
  Update NEWS [ci skip]

6 years agoUpdate NEWS [ci skip]
Anatol Belski [Mon, 30 Jul 2018 17:42:10 +0000 (19:42 +0200)]
Update NEWS [ci skip]

6 years agoMerge branch 'PHP-7.2'
Anatol Belski [Mon, 30 Jul 2018 16:29:40 +0000 (18:29 +0200)]
Merge branch 'PHP-7.2'

* PHP-7.2:
  Fixed bug #75402 Possible Memory Leak using PDO::CURSOR_SCROLL option

6 years agoMerge branch 'PHP-7.1' into PHP-7.2
Anatol Belski [Mon, 30 Jul 2018 16:28:53 +0000 (18:28 +0200)]
Merge branch 'PHP-7.1' into PHP-7.2

* PHP-7.1:
  Fixed bug #75402 Possible Memory Leak using PDO::CURSOR_SCROLL option

6 years agoFixed bug #75402 Possible Memory Leak using PDO::CURSOR_SCROLL option
Anatol Belski [Mon, 30 Jul 2018 16:27:59 +0000 (18:27 +0200)]
Fixed bug #75402 Possible Memory Leak using PDO::CURSOR_SCROLL option

6 years agoUse better macros
Dmitry Stogov [Mon, 30 Jul 2018 13:48:34 +0000 (16:48 +0300)]
Use better macros

6 years agoLoop optimization
Dmitry Stogov [Mon, 30 Jul 2018 13:08:45 +0000 (16:08 +0300)]
Loop optimization

6 years agoMake more tests run on 64bit plataforms
Gabriel Caruso [Fri, 27 Jul 2018 03:19:13 +0000 (00:19 -0300)]
Make more tests run on 64bit plataforms

6 years agoGive a reason why the test was skipped
Gabriel Caruso [Sun, 29 Jul 2018 16:44:22 +0000 (13:44 -0300)]
Give a reason why the test was skipped

6 years agoRemove superfluous SKIPIF sections of always available functions
Gabriel Caruso [Sun, 29 Jul 2018 18:45:38 +0000 (15:45 -0300)]
Remove superfluous SKIPIF sections of always available functions

6 years agoAdded missing define
Dmitry Stogov [Mon, 30 Jul 2018 10:29:09 +0000 (13:29 +0300)]
Added missing define

6 years agoRemoved duplicate code. zend_fetch_dimension_address_LIST_w() was a copy of zend_fetc...
Dmitry Stogov [Mon, 30 Jul 2018 07:53:39 +0000 (10:53 +0300)]
Removed duplicate code. zend_fetch_dimension_address_LIST_w() was a copy of zend_fetch_dimension_address_W(), ZEND_FETCH_LIST_W_SPEC_CV_... a  copy of ZEND_FETCH_DIM_W_SPEC_CV_...

6 years agoFix AC_RUN_IFELSE calls when cross-compiling
Peter Kokot [Mon, 30 Jul 2018 04:38:59 +0000 (06:38 +0200)]
Fix AC_RUN_IFELSE calls when cross-compiling

AC_RUN_IFELSE program can't be run when cross-compiling. This fix removes
warnings given by autotools scripts.

6 years ago[ci skip] Fix typo
Peter Kokot [Mon, 30 Jul 2018 04:28:40 +0000 (06:28 +0200)]
[ci skip] Fix typo

6 years agoRemove superfluous SKIPIF sections of always available constants
Gabriel Caruso [Mon, 30 Jul 2018 03:53:28 +0000 (00:53 -0300)]
Remove superfluous SKIPIF sections of always available constants

6 years agoReplace obsolete AC_TRY_FOO with AC_FOO_IFELSE
Peter Kokot [Sun, 29 Jul 2018 23:50:24 +0000 (01:50 +0200)]
Replace obsolete AC_TRY_FOO with AC_FOO_IFELSE

Autoconf 2.50 released in 2001 made several macros obsolete including
the AC_TRY_RUN, AC_TRY_COMPILE and AC_TRY_LINK:
http://git.savannah.gnu.org/cgit/autoconf.git/tree/ChangeLog.2

These macros should be replaced with the current AC_FOO_IFELSE instead:
- AC_TRY_RUN with AC_RUN_IFELSE and AC_LANG_SOURCE
- AC_TRY_LINK with AC_LINK_IFELSE and AC_LANG_PROGRAM
- AC_TRY_COMPILE with AC_COMPILE_IFELSE and AC_LANG_PROGRAM

PHP 5.4 to 7.1 require Autoconf 2.59+ version, PHP 7.2 and above require
2.64+ version, and the PHP 7.2 phpize script requires 2.59+ version which
are all greater than above mentioned 2.50 version therefore systems
should be well supported by now.

This patch was created with the help of autoupdate script:
autoupdate <file>

Reference docs:
- https://www.gnu.org/software/autoconf/manual/autoconf-2.69/html_node/Obsolete-Macros.html
- https://www.gnu.org/software/autoconf/manual/autoconf-2.59/autoconf.pdf

6 years agoRemove superfluous SKIPIF sections of always available interfaces
Gabriel Caruso [Sun, 29 Jul 2018 21:03:34 +0000 (18:03 -0300)]
Remove superfluous SKIPIF sections of always available interfaces

6 years ago[ci skip] Document RETSIGTYPE
Peter Kokot [Sun, 29 Jul 2018 19:32:35 +0000 (21:32 +0200)]
[ci skip] Document RETSIGTYPE

6 years agoRemove superfluous SKIPIF sections of always available functions
Gabriel Caruso [Sun, 29 Jul 2018 18:42:19 +0000 (15:42 -0300)]
Remove superfluous SKIPIF sections of always available functions

6 years ago[ci skip] Fix typo
Gabriel Caruso [Sun, 29 Jul 2018 16:48:35 +0000 (13:48 -0300)]
[ci skip] Fix typo

6 years agoRun tokenizer_data_gen.sh to reorganize tokens
Gabriel Caruso [Sun, 29 Jul 2018 16:21:33 +0000 (13:21 -0300)]
Run tokenizer_data_gen.sh to reorganize tokens

This will help us in future PRs, reducing the numbers of changed lines

6 years agoRemove obsolete AC_TYPE_SIGNAL
Peter Kokot [Mon, 23 Jul 2018 05:25:38 +0000 (07:25 +0200)]
Remove obsolete AC_TYPE_SIGNAL

The AC_TYPE_SIGNAL macro defined the RETSIGTYPE based on the signal
type defined in the signal.h. On pre C89 sistems (K&R C) it could be
void or int. Since C89 it can be safely assumed that the signal and
therefore the RETSIGTYPE is always void, so the RETSIGTYPE can be
replaced with void in the code if it uses it. PHP doesn't use the
RETSIGTYPE in current code anyway.

Refs:
- https://www.gnu.org/software/autoconf/manual/autoconf-2.69/html_node/Obsolete-Macros.html

6 years agoUpgrade deprecated AC_OUTPUT macro calls
Peter Kokot [Sat, 28 Jul 2018 21:09:06 +0000 (23:09 +0200)]
Upgrade deprecated AC_OUTPUT macro calls

Autoconf 2.50 made several changes to macro calls. These include also
arguments passed to AC_OUTPUT macro. The upgrading chapter in Autoconf
documentation include an example of using AC_OUTPUT with
AC_CONFIG_FILES and AC_CONFIG_COMMANDS:
- https://www.gnu.org/software/autoconf/manual/autoconf-2.69/html_node/Obsolete-Macros.html

PHP 5.4 to 7.1 require Autoconf 2.59+, PHP 7.2+ require Autoconf 2.64+,
and PHP 7.2 phpize script requires Autoconf 2.59+ which are all greater
than above mentioned 2.50 version. Systems out there should well support
this by now.

This patch was created with the help of autoupdate script:
autoupdate <file>

More info on where exactly this got deprecated:
- ftp://ftp.gnu.org/old-gnu/Manuals/autoconf-2.13/html_mono/autoconf.html
- ftp://ftp.auckland.ac.nz/pub/gnu/Manuals/autoconf-2.52/html_chapter/autoconf_15.html
- http://git.savannah.gnu.org/cgit/autoconf.git/tree/NEWS

6 years agoUpgrade AX_FUNC_WHICH_GETHOSTBYNAME_R to serial 8
Peter Kokot [Thu, 26 Jul 2018 15:12:07 +0000 (17:12 +0200)]
Upgrade AX_FUNC_WHICH_GETHOSTBYNAME_R to serial 8

The AX_FUNC_WHICH_GETHOSTBYNAME_R macro is from the Autoconf Archive.
Latest version of the file has few docs changes. File is also renamed
as is a pattern of other m4 Autoconf Archive files.

Refs:
- http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_func_which_gethostbyname_r.m4

6 years agoTrim trailing whitespaces in build files
Peter Kokot [Sun, 29 Jul 2018 01:53:52 +0000 (03:53 +0200)]
Trim trailing whitespaces in build files

Some editors utilizing .editorconfig automatically trim whitespaces. For
convenience this patch removes whitespaces in certain build files in
Zend and TSRM folders.

6 years ago[ci skip] Note HAVE_ST_BLKSIZE and HAVE_ST_RDEV
Peter Kokot [Sun, 29 Jul 2018 12:44:56 +0000 (14:44 +0200)]
[ci skip] Note HAVE_ST_BLKSIZE and HAVE_ST_RDEV

6 years agoReplace obsolete AC_STRUCT_ST_BLKSIZE and AC_STRUCT_ST_RDEV
Peter Kokot [Sun, 29 Jul 2018 11:12:33 +0000 (13:12 +0200)]
Replace obsolete AC_STRUCT_ST_BLKSIZE and AC_STRUCT_ST_RDEV

Autoconf 2.50 released in 2001 has made several macros obsolete. Instead
of the AC_STRUCT_ST_BLKSIZE and AC_STRUCT_ST_RDEV the new
AC_CHECK_MEMBERS should be used.

When checking for the presence of stat struct members st_blkzize and
st_rdev the new AC_CHECK_MEMBERS macro defines new constants
HAVE_STRUCT_STAT_ST_BLKSIZE and HAVE_STRUCT_STAT_ST_RDEV.

Old constants HAVE_ST_BLKSIZE and HAVE_ST_RDEV need to be replaced
respectively in PHP code (this patch) and in PHP extenstions if they use
them.

PHP 5.4 to 7.1 require Autoconf 2.59+ version, PHP 7.2 and above require
2.64+ version, and the PHP 7.2 phpize script requires 2.59+ version which
are all greater than above mentioned 2.50 version.

6 years ago[ci skip] Note removal of PHP_PROG_LEX
Peter Kokot [Sun, 29 Jul 2018 11:37:48 +0000 (13:37 +0200)]
[ci skip] Note removal of PHP_PROG_LEX

6 years agoRemove unused PHP_PROG_LEX macro
Peter Kokot [Thu, 26 Jul 2018 05:05:47 +0000 (07:05 +0200)]
Remove unused PHP_PROG_LEX macro

Since PHP 5.3 flex lexer has been replaced with re2c. Commit
0f9e2b1753661afe1c0dee6982e161fcf00d349f made PHP_PROG_LEX macro still
available for BC.

In commit df6bd506d492292ef4353b0f8da0c34eeb076be5 it was updated. Since
this macro is entirely not used in PHP source code anymore from PHP 5.3
and up, this patch removes it together with some old traces of warnings
suppression and comments.

6 years agoRemove unused libmbfl build system related files
Peter Kokot [Thu, 26 Jul 2018 21:55:55 +0000 (23:55 +0200)]
Remove unused libmbfl build system related files

PHP build system already builds necessary files also from libmbfl
directory using the mbstring config.m4 file.

6 years agoReplace obsolete AC_AIX with AC_USE_SYSTEM_EXTENSIONS
Peter Kokot [Wed, 25 Jul 2018 07:34:25 +0000 (09:34 +0200)]
Replace obsolete AC_AIX with AC_USE_SYSTEM_EXTENSIONS

Since Autoconf 2.62 the AC_AIX macro has been made obsolete and should
be replaced with the AC_USE_SYSTEM_EXTENSIONS instead.

Both macro behaviors are the same since the old one is just a wrapper
around the new AC_USE_SYSTEM_EXTENSIONS:
http://git.savannah.gnu.org/cgit/autoconf.git/tree/lib/autoconf/specific.m4

PHP 7.2+ and the main configure.ac script require minimum Autoconf 2.64+.

Refs:
- http://git.savannah.gnu.org/cgit/autoconf.git/tree/NEWS
- https://www.gnu.org/software/autoconf/manual/autoconf-2.69/html_node/Obsolete-Macros.html

6 years agoFix typo in config.m4
Peter Kokot [Sun, 29 Jul 2018 04:10:16 +0000 (06:10 +0200)]
Fix typo in config.m4

The AC_CHECK_FUNCS has the following synopsis:
AC_CHECK_FUNCS(function..., [action-if-found], [action-if-not-found]).

Fourth argument doesn't exist.

6 years agoTrim trailing whitespaces in build files
Peter Kokot [Sun, 29 Jul 2018 01:43:45 +0000 (03:43 +0200)]
Trim trailing whitespaces in build files

Some editors utilizing .editorconfig automatically trim whitespaces. For
convenience this patch removes whitespaces in certain build files:
- ext/*/config*.m4
- configure.ac
- acinclude.m4

6 years agoUpgrade AX_CHECK_COMPILE_FLAG macro to serial 6
Peter Kokot [Thu, 26 Jul 2018 14:29:23 +0000 (16:29 +0200)]
Upgrade AX_CHECK_COMPILE_FLAG macro to serial 6

The AX_CHECK_COMPILE_FLAG macro is from the Autoconf Archive. Latest
version of the file has a new All-permissive license for even more
convenience for usage.

Refs:
- http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_check_compile_flag.m4
- https://www.gnu.org/prep/maintain/html_node/License-Notices-for-Other-Files.html

6 years agoFix typos in code
Peter Kokot [Wed, 25 Jul 2018 22:03:10 +0000 (00:03 +0200)]
Fix typos in code

6 years agoRemove unused Git ident attributes from zip extension
Peter Kokot [Tue, 26 Jun 2018 22:51:02 +0000 (00:51 +0200)]
Remove unused Git ident attributes from zip extension

$Id attributes were used with SVN. With Git most of the Git ident
attributes in source code files are not used anymore.

6 years agoReverts some changes from 7ec64a83
Gabriel Caruso [Fri, 27 Jul 2018 11:01:43 +0000 (08:01 -0300)]
Reverts some changes from 7ec64a83

Checking for the PHP_VERSION_ID here is actually part of the test

6 years agoImproved assignment to "next" element of array ($a[] = ...)
Dmitry Stogov [Fri, 27 Jul 2018 10:15:22 +0000 (13:15 +0300)]
Improved assignment to "next" element of array ($a[] = ...)

6 years agoFixed bug #76667 (Segfault with divide-assign op and __get + __set)
Xinchen Hui [Fri, 27 Jul 2018 05:00:14 +0000 (13:00 +0800)]
Fixed bug #76667 (Segfault with divide-assign op and __get + __set)

6 years agoRemove superfluous check for PHP 7+ tests
Gabriel Caruso [Fri, 27 Jul 2018 03:48:30 +0000 (00:48 -0300)]
Remove superfluous check for PHP 7+ tests

6 years agoMerge branch 'PHP-7.2'
Christoph M. Becker [Thu, 26 Jul 2018 12:09:30 +0000 (14:09 +0200)]
Merge branch 'PHP-7.2'

* PHP-7.2:
  Fix #76665: SQLite3Stmt::bindValue() with SQLITE3_FLOAT doesn't juggle

6 years agoFixed ZTS build
Kalle Sommer Nielsen [Thu, 26 Jul 2018 12:01:49 +0000 (14:01 +0200)]
Fixed ZTS build

6 years agoSync with ab8094c6
Anatol Belski [Thu, 26 Jul 2018 11:58:08 +0000 (13:58 +0200)]
Sync with ab8094c6

6 years agoMerge branch 'PHP-7.1' into PHP-7.2
Christoph M. Becker [Thu, 26 Jul 2018 11:19:10 +0000 (13:19 +0200)]
Merge branch 'PHP-7.1' into PHP-7.2

* PHP-7.1:
  Fix #76665: SQLite3Stmt::bindValue() with SQLITE3_FLOAT doesn't juggle

6 years agoFix #76665: SQLite3Stmt::bindValue() with SQLITE3_FLOAT doesn't juggle
Christoph M. Becker [Thu, 26 Jul 2018 11:15:19 +0000 (13:15 +0200)]
Fix #76665: SQLite3Stmt::bindValue() with SQLITE3_FLOAT doesn't juggle

We need to ensure that a zval IS_DOUBLE before we access it as such.
In this case we apply common type juggling to do so.

6 years agoUse better check
Dmitry Stogov [Thu, 26 Jul 2018 11:13:33 +0000 (14:13 +0300)]
Use better check

6 years agoRemove extra semicolons
Gabriel Caruso [Thu, 26 Jul 2018 00:47:56 +0000 (21:47 -0300)]
Remove extra semicolons

6 years agoPack zend_constant.flags and zend_constant.module_number into reserved space inside...
Dmitry Stogov [Thu, 26 Jul 2018 09:58:07 +0000 (12:58 +0300)]
Pack zend_constant.flags and zend_constant.module_number into reserved space inside zend_constant.value.

6 years agoDocumented ZEND_ACC_* flags (values are kept unchanged, except for ZEND_ACC_IMMUTABLE...
Dmitry Stogov [Thu, 26 Jul 2018 07:42:57 +0000 (10:42 +0300)]
Documented ZEND_ACC_* flags (values are kept unchanged, except for ZEND_ACC_IMMUTABLE, that was introduced in 7.3 anyway)

6 years agoRemove unused variables
Gabriel Caruso [Thu, 26 Jul 2018 01:05:41 +0000 (22:05 -0300)]
Remove unused variables

6 years agoRemove extra semicolons
Gabriel Caruso [Thu, 26 Jul 2018 00:45:21 +0000 (21:45 -0300)]
Remove extra semicolons

6 years agoReplace obsolete AC_TRY_CPP with AC_PREPROC_IFELSE
Peter Kokot [Mon, 23 Jul 2018 03:19:11 +0000 (05:19 +0200)]
Replace obsolete AC_TRY_CPP with AC_PREPROC_IFELSE

The AC_TRY_CPP macro is obsolete since Autoconf 2.50 in 2001:
- http://git.savannah.gnu.org/cgit/autoconf.git/tree/NEWS
- https://www.gnu.org/software/autoconf/manual/autoconf-2.69/html_node/Obsolete-Macros.html

6 years agotypo
Dmitry Stogov [Wed, 25 Jul 2018 20:00:33 +0000 (23:00 +0300)]
typo

6 years agoEncode parent class name as IS_CONST operand in DECLARE_INHERITED_CLASS and DECLARE_A...
Dmitry Stogov [Wed, 25 Jul 2018 10:40:47 +0000 (13:40 +0300)]
Encode parent class name as IS_CONST operand in DECLARE_INHERITED_CLASS and DECLARE_ANON_INHERITED_CLASS opcodes (eliminate FETCH_CLAS
S opcode).

6 years agoFix typos in code comments
Peter Kokot [Wed, 25 Jul 2018 03:38:50 +0000 (05:38 +0200)]
Fix typos in code comments

6 years agoRegenerate scanners using re2c version >= 1.0.0 (newer version, at least, produce...
Dmitry Stogov [Wed, 25 Jul 2018 09:49:03 +0000 (12:49 +0300)]
Regenerate scanners using re2c version >= 1.0.0 (newer version, at least, produce less code)

6 years agoSplit add/sub_function(s) into fast and slow parts
Dmitry Stogov [Wed, 25 Jul 2018 09:48:16 +0000 (12:48 +0300)]
Split add/sub_function(s) into fast and slow parts

6 years agoRemove obsolete macro AC_DECL_YYTEXT
Peter Kokot [Sat, 21 Jul 2018 05:04:52 +0000 (07:04 +0200)]
Remove obsolete macro AC_DECL_YYTEXT

The macro AC_DECL_YYTEXT has been obsolete since Autoconf 2.50 released
in 2001. Now it is included in the AC_PROG_LEX macro.

Autoconf news info about obsoletion:
- http://git.savannah.gnu.org/cgit/autoconf.git/tree/NEWS

Docs:
https://www.gnu.org/software/autoconf/manual/autoconf-2.69/html_node/Obsolete-Macros.html

PHP 5.4 to 7.1 require Autoconf 2.59+ version, PHP 7.2 and above require
2.64+ version, and the PHP 7.2 phpize script requires 2.59+ version which
are all greater than above mentioned 2.50 version. Systems out there should
well support this by now.

6 years agoRemove unused Git attributes ident
Peter Kokot [Tue, 3 Jul 2018 00:52:16 +0000 (02:52 +0200)]
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.

6 years agoMerge branch 'PHP-7.2'
Christoph M. Becker [Tue, 24 Jul 2018 10:33:08 +0000 (12:33 +0200)]
Merge branch 'PHP-7.2'

* PHP-7.2:
  Fix #76643: Segmentation fault when using `output_add_rewrite_var`

6 years agoMerge branch 'PHP-7.1' into PHP-7.2
Christoph M. Becker [Tue, 24 Jul 2018 10:22:33 +0000 (12:22 +0200)]
Merge branch 'PHP-7.1' into PHP-7.2

* PHP-7.1:
  Fix #76643: Segmentation fault when using `output_add_rewrite_var`

6 years agoFix #76643: Segmentation fault when using `output_add_rewrite_var`
Christoph M. Becker [Tue, 24 Jul 2018 10:20:13 +0000 (12:20 +0200)]
Fix #76643: Segmentation fault when using `output_add_rewrite_var`

We have to check whether _SERVER is actually an array before we're
going to use it as such.

6 years agoBetter name: ZEND_PROPERTY_HAS => ZEND_PROPERTY_NOT_EMPTY
Dmitry Stogov [Tue, 24 Jul 2018 06:31:57 +0000 (09:31 +0300)]
Better name: ZEND_PROPERTY_HAS => ZEND_PROPERTY_NOT_EMPTY

6 years agoGive a meaningful name
Xinchen Hui [Tue, 24 Jul 2018 04:51:36 +0000 (12:51 +0800)]
Give a meaningful name

6 years agoMicro-optmization
Xinchen Hui [Tue, 24 Jul 2018 04:16:35 +0000 (12:16 +0800)]
Micro-optmization

6 years agoUpdate NEWs
Xinchen Hui [Tue, 24 Jul 2018 03:37:30 +0000 (11:37 +0800)]
Update NEWs

6 years agoMerge branch 'PHP-7.2'
Xinchen Hui [Tue, 24 Jul 2018 03:37:09 +0000 (11:37 +0800)]
Merge branch 'PHP-7.2'

* PHP-7.2:
  Update NEWs
  Fixed bug #68553 (array_column: null values in $index_key become incrementing keys in result)

Conflicts:
ext/standard/array.c

6 years agoUpdate NEWs
Xinchen Hui [Tue, 24 Jul 2018 03:35:43 +0000 (11:35 +0800)]
Update NEWs

6 years agoMerge branch 'PHP-7.1' into PHP-7.2
Xinchen Hui [Tue, 24 Jul 2018 03:35:22 +0000 (11:35 +0800)]
Merge branch 'PHP-7.1' into PHP-7.2

* PHP-7.1:
  Fixed bug #68553 (array_column: null values in $index_key become incrementing keys in result)

6 years agoFixed bug #68553 (array_column: null values in $index_key become incrementing keys...
Xinchen Hui [Tue, 24 Jul 2018 03:34:57 +0000 (11:34 +0800)]
Fixed bug #68553 (array_column: null values in $index_key become incrementing keys in result)

6 years agoMerge branch 'master' of https://github.com/oerdnj/php-src
Xinchen Hui [Tue, 24 Jul 2018 02:48:07 +0000 (10:48 +0800)]
Merge branch 'master' of https://github.com/oerdnj/php-src

* 'master' of https://github.com/oerdnj/php-src:
  Use __cpuid_count() from cpuid.h instead of custom assembly

6 years agoMerge branch 'master' of git.php.net:/php-src
Kalle Sommer Nielsen [Mon, 23 Jul 2018 15:38:52 +0000 (17:38 +0200)]
Merge branch 'master' of git.php.net:/php-src

6 years agoRemoved the generated-tests library, this is a left Zöe's phpruntests repository...
Kalle Sommer Nielsen [Mon, 23 Jul 2018 15:38:26 +0000 (17:38 +0200)]
Removed the generated-tests library, this is a left Zöe's phpruntests repository it seems and never fully implemented. The only times this part of the code has been touched throughout the years has been minor PRs and entire php-src grep commits.

If anything this belongs to the phpruntests.git repository.

6 years agoFixed tests
Dmitry Stogov [Mon, 23 Jul 2018 14:00:33 +0000 (17:00 +0300)]
Fixed tests

6 years agoAvoid code duplication
Dmitry Stogov [Mon, 23 Jul 2018 13:53:44 +0000 (16:53 +0300)]
Avoid code duplication

6 years agoFix HKEY registry path (not that it should matter, dead code, Anatol?)
Kalle Sommer Nielsen [Mon, 23 Jul 2018 13:37:02 +0000 (15:37 +0200)]
Fix HKEY registry path (not that it should matter, dead code, Anatol?)