]> granicus.if.org Git - php/log
php
6 years agoRemove outdated comment with PEAR xmlrpc dependency
Peter Kokot [Sat, 4 Aug 2018 16:22:08 +0000 (18:22 +0200)]
Remove outdated comment with PEAR xmlrpc dependency

The xmlrpc extension is not required to install PEAR anymore.

6 years agoFix possible stack buffer overflow
Anatol Belski [Sat, 4 Aug 2018 14:56:08 +0000 (16:56 +0200)]
Fix possible stack buffer overflow

6 years agoMerge branch 'PHP-7.2' into PHP-7.3
Peter Kokot [Sat, 4 Aug 2018 14:20:52 +0000 (16:20 +0200)]
Merge branch 'PHP-7.2' into PHP-7.3

* PHP-7.2:
  [ci skip] Update NEWS

6 years ago[ci skip] Update NEWS
Peter Kokot [Sat, 4 Aug 2018 14:19:47 +0000 (16:19 +0200)]
[ci skip] Update NEWS

Bug fix #76595 has been done after the 7.2.9RC1 release and should go
to appropriate NEWS location then.

6 years agoMerge branch 'PHP-7.2' into PHP-7.3
Peter Kokot [Sat, 4 Aug 2018 14:18:10 +0000 (16:18 +0200)]
Merge branch 'PHP-7.2' into PHP-7.3

* PHP-7.2:
  [ci skip] Update NEWS

6 years agoMerge branch 'PHP-7.1' into PHP-7.2
Peter Kokot [Sat, 4 Aug 2018 14:17:26 +0000 (16:17 +0200)]
Merge branch 'PHP-7.1' into PHP-7.2

* PHP-7.1:
  [ci skip] Update NEWS

6 years ago[ci skip] Update NEWS
Peter Kokot [Sat, 4 Aug 2018 14:16:07 +0000 (16:16 +0200)]
[ci skip] Update NEWS

Bug fix #76595 has been done after RC release and should go to
appropriate NEWS location then.

6 years agoMerge branch 'PHP-7.2' into PHP-7.3
Christoph M. Becker [Sat, 4 Aug 2018 11:49:29 +0000 (13:49 +0200)]
Merge branch 'PHP-7.2' into PHP-7.3

* PHP-7.2:
  Fix #76704: mb_detect_order return value varies based on argument type

6 years ago[ci skip] Fix NEWS
Christoph M. Becker [Sat, 4 Aug 2018 11:44:59 +0000 (13:44 +0200)]
[ci skip] Fix NEWS

beta1 has already been released, but does not contain the fix for bug
76595.

6 years agoMerge branch 'PHP-7.1' into PHP-7.2
Christoph M. Becker [Sat, 4 Aug 2018 10:57:05 +0000 (12:57 +0200)]
Merge branch 'PHP-7.1' into PHP-7.2

* PHP-7.1:
  Fix #76704: mb_detect_order return value varies based on argument type

6 years agoFix #76704: mb_detect_order return value varies based on argument type
Christoph M. Becker [Sat, 4 Aug 2018 10:51:57 +0000 (12:51 +0200)]
Fix #76704: mb_detect_order return value varies based on argument type

php_mb_parse_encoding_list() and php_mb_parse_encoding_array() are
supposed to return SUCCESS and FAILURE, not 1 and 0, respectively.

6 years ago[ci skip] Update NEWS
Peter Kokot [Sat, 4 Aug 2018 04:41:34 +0000 (06:41 +0200)]
[ci skip] Update NEWS

6 years agoMerge branch 'PHP-7.2' into PHP-7.3
Peter Kokot [Sat, 4 Aug 2018 04:40:44 +0000 (06:40 +0200)]
Merge branch 'PHP-7.2' into PHP-7.3

* PHP-7.2:
  [ci skip] Update NEWS

6 years ago[ci skip] Update NEWS
Peter Kokot [Sat, 4 Aug 2018 04:40:31 +0000 (06:40 +0200)]
[ci skip] Update NEWS

6 years agoMerge branch 'PHP-7.2' into PHP-7.3
Peter Kokot [Sat, 4 Aug 2018 04:39:46 +0000 (06:39 +0200)]
Merge branch 'PHP-7.2' into PHP-7.3

* PHP-7.2:
  [ci skip] Update NEWS

6 years agoMerge branch 'PHP-7.1' into PHP-7.2
Peter Kokot [Sat, 4 Aug 2018 04:39:33 +0000 (06:39 +0200)]
Merge branch 'PHP-7.1' into PHP-7.2

* PHP-7.1:
  [ci skip] Update NEWS

6 years ago[ci skip] Update NEWS
Peter Kokot [Sat, 4 Aug 2018 04:39:19 +0000 (06:39 +0200)]
[ci skip] Update NEWS

6 years agoMerge branch 'PHP-7.2' into PHP-7.3
Peter Kokot [Sat, 4 Aug 2018 04:37:15 +0000 (06:37 +0200)]
Merge branch 'PHP-7.2' into PHP-7.3

* PHP-7.2:
  Fix bug 76595: Update phpdbg man page

6 years agoMerge branch 'PHP-7.1' into PHP-7.2
Peter Kokot [Sat, 4 Aug 2018 04:35:40 +0000 (06:35 +0200)]
Merge branch 'PHP-7.1' into PHP-7.2

* PHP-7.1:
  Fix bug 76595: Update phpdbg man page

6 years agoFix bug 76595: Update phpdbg man page
Kevin Abel [Mon, 9 Jul 2018 01:37:21 +0000 (20:37 -0500)]
Fix bug 76595: Update phpdbg man page

Send phpdbg.1 man page through configure replacements
Update phpdbg.1 man page to include all options
Fixes formatting to be more consistent with php.1
Fix paragraph whitespace and ignore phpdbg.1

6 years agoRemove asan incompatible options
Anatol Belski [Fri, 3 Aug 2018 12:10:37 +0000 (14:10 +0200)]
Remove asan incompatible options

6 years agoUpdate UPGRADING.INTERNALS wrt. Same Site Cookies
Christoph M. Becker [Fri, 3 Aug 2018 08:52:31 +0000 (10:52 +0200)]
Update UPGRADING.INTERNALS wrt. Same Site Cookies

6 years agoUpdate maintainer info [skip ci]
Anatol Belski [Fri, 3 Aug 2018 05:49:29 +0000 (07:49 +0200)]
Update maintainer info [skip ci]

6 years agoMerge branch 'PHP-7.2' into PHP-7.3
Anatol Belski [Fri, 3 Aug 2018 05:11:23 +0000 (07:11 +0200)]
Merge branch 'PHP-7.2' into PHP-7.3

* PHP-7.2:
  Improve cleanup

6 years agoMerge branch 'PHP-7.1' into PHP-7.2
Anatol Belski [Fri, 3 Aug 2018 05:10:27 +0000 (07:10 +0200)]
Merge branch 'PHP-7.1' into PHP-7.2

* PHP-7.1:
  Improve cleanup

6 years agoImprove cleanup
Anatol Belski [Fri, 3 Aug 2018 05:08:53 +0000 (07:08 +0200)]
Improve cleanup

The persistent connection locks the file which might prevent deletion.

6 years agoMerge branch 'PHP-7.2' into PHP-7.3
Anatol Belski [Thu, 2 Aug 2018 19:40:50 +0000 (21:40 +0200)]
Merge branch 'PHP-7.2' into PHP-7.3

* PHP-7.2:
  Fix callbacks
  bump version

6 years agoMerge branch 'PHP-7.1' into PHP-7.2
Anatol Belski [Thu, 2 Aug 2018 19:20:04 +0000 (21:20 +0200)]
Merge branch 'PHP-7.1' into PHP-7.2

* PHP-7.1:
  Fix callbacks
  bump version

6 years agoFix callbacks
Anatol Belski [Thu, 2 Aug 2018 16:59:34 +0000 (18:59 +0200)]
Fix callbacks

The signatures wasn't synced in 7.0

6 years agoCleanup unused items
Anatol Belski [Thu, 2 Aug 2018 16:28:18 +0000 (18:28 +0200)]
Cleanup unused items

6 years agoMerge branch 'PHP-7.2' into HEAD
Sara Golemon [Thu, 2 Aug 2018 15:23:14 +0000 (11:23 -0400)]
Merge branch 'PHP-7.2' into HEAD

* PHP-7.2:
  Roll NEWS for 7.2.10

6 years agoRoll NEWS for 7.2.10
Sara Golemon [Thu, 2 Aug 2018 15:21:40 +0000 (11:21 -0400)]
Roll NEWS for 7.2.10

6 years ago[ci skip] Fix wrong dash character in UPGRADING
Michael Moravec [Thu, 2 Aug 2018 11:38:56 +0000 (13:38 +0200)]
[ci skip] Fix wrong dash character in UPGRADING

6 years agoSuppress more irrelevant clang warnings
Anatol Belski [Wed, 1 Aug 2018 16:18:37 +0000 (18:18 +0200)]
Suppress more irrelevant clang warnings

6 years agoUnused var
Xinchen Hui [Wed, 1 Aug 2018 06:49:06 +0000 (14:49 +0800)]
Unused var

6 years agoFix clang compilation
Anatol Belski [Wed, 1 Aug 2018 14:19:54 +0000 (16:19 +0200)]
Fix clang compilation

By usage of -fmodules, all the intrinsic items are loaded automatically.
The headers included come however from Visual Studio, thus bringing some
conflicting declarations. On the other hand, -fmodules is needed to
mitigate linking issues with clang in VS compatibility mode.

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 agobump version
Joe Watkins [Tue, 31 Jul 2018 14:38:35 +0000 (16:38 +0200)]
bump version

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 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.