]> granicus.if.org Git - php/log
php
6 years agoMerge branch 'PHP-7.4'
Christoph M. Becker [Mon, 18 Mar 2019 14:00:02 +0000 (15:00 +0100)]
Merge branch 'PHP-7.4'

* PHP-7.4:

6 years agoMerge branch 'PHP-7.3' into PHP-7.4
Christoph M. Becker [Mon, 18 Mar 2019 13:59:08 +0000 (14:59 +0100)]
Merge branch 'PHP-7.3' into PHP-7.4

* PHP-7.3:
  Simplfy test case

6 years agoMerge branch 'PHP-7.4'
Nikita Popov [Mon, 18 Mar 2019 11:33:12 +0000 (12:33 +0100)]
Merge branch 'PHP-7.4'

6 years agoAccept zend_string* instead of char* in php_pcre_match_impl()
Nikita Popov [Mon, 18 Mar 2019 11:25:10 +0000 (12:25 +0100)]
Accept zend_string* instead of char* in php_pcre_match_impl()

6 years agoMerge branch 'PHP-7.3'
Xinchen Hui [Mon, 18 Mar 2019 11:30:20 +0000 (19:30 +0800)]
Merge branch 'PHP-7.3'

* PHP-7.3:
  Simplfy test case

6 years agoMerge branch 'PHP-7.2' into PHP-7.3
Xinchen Hui [Mon, 18 Mar 2019 11:30:11 +0000 (19:30 +0800)]
Merge branch 'PHP-7.2' into PHP-7.3

* PHP-7.2:
  Simplfy test case

6 years agoSimplfy test case
Xinchen Hui [Mon, 18 Mar 2019 11:28:23 +0000 (19:28 +0800)]
Simplfy test case

(I was working on the same bug while nikic committed the similar fix

6 years agoMerge branch 'PHP-7.4'
Nikita Popov [Mon, 18 Mar 2019 11:16:24 +0000 (12:16 +0100)]
Merge branch 'PHP-7.4'

6 years agoMerge branch 'PHP-7.3' into PHP-7.4
Nikita Popov [Mon, 18 Mar 2019 11:16:18 +0000 (12:16 +0100)]
Merge branch 'PHP-7.3' into PHP-7.4

6 years agoMerge branch 'PHP-7.2' into PHP-7.3
Nikita Popov [Mon, 18 Mar 2019 11:16:12 +0000 (12:16 +0100)]
Merge branch 'PHP-7.2' into PHP-7.3

6 years agoMake test independent of icu version
Nikita Popov [Mon, 18 Mar 2019 11:14:33 +0000 (12:14 +0100)]
Make test independent of icu version

We don't really care about the actual output here, just that it
doesn't fail.

6 years agoMerge branch 'PHP-7.4'
Nikita Popov [Mon, 18 Mar 2019 10:41:24 +0000 (11:41 +0100)]
Merge branch 'PHP-7.4'

6 years agoMerge branch 'PHP-7.3' into PHP-7.4
Nikita Popov [Mon, 18 Mar 2019 10:41:19 +0000 (11:41 +0100)]
Merge branch 'PHP-7.3' into PHP-7.4

6 years agoMerge branch 'PHP-7.2' into PHP-7.3
Nikita Popov [Mon, 18 Mar 2019 10:39:58 +0000 (11:39 +0100)]
Merge branch 'PHP-7.2' into PHP-7.3

6 years agoAllow DateTimeImmutable in datefmt_format_object()
Nikita Popov [Mon, 18 Mar 2019 10:39:16 +0000 (11:39 +0100)]
Allow DateTimeImmutable in datefmt_format_object()

As pointed out in a comment on bug #65683.

6 years agoMerge branch 'PHP-7.4'
Nikita Popov [Mon, 18 Mar 2019 10:07:43 +0000 (11:07 +0100)]
Merge branch 'PHP-7.4'

6 years agoMerge branch 'PHP-7.3' into PHP-7.4
Nikita Popov [Mon, 18 Mar 2019 10:07:36 +0000 (11:07 +0100)]
Merge branch 'PHP-7.3' into PHP-7.4

6 years agoMerge branch 'PHP-7.2' into PHP-7.3
Nikita Popov [Mon, 18 Mar 2019 10:07:27 +0000 (11:07 +0100)]
Merge branch 'PHP-7.2' into PHP-7.3

6 years agoPartial fix for bug #77751
Nikita Popov [Mon, 18 Mar 2019 10:04:25 +0000 (11:04 +0100)]
Partial fix for bug #77751

This avoids the segfault, but it will not make writing to the
SplFileObject during output shutdown work.

6 years agoMerge branch 'PHP-7.4'
Nikita Popov [Mon, 18 Mar 2019 09:51:40 +0000 (10:51 +0100)]
Merge branch 'PHP-7.4'

6 years agoMerge branch 'PHP-7.3' into PHP-7.4
Nikita Popov [Mon, 18 Mar 2019 09:51:20 +0000 (10:51 +0100)]
Merge branch 'PHP-7.3' into PHP-7.4

6 years agoMerge branch 'PHP-7.2' into PHP-7.3
Nikita Popov [Mon, 18 Mar 2019 09:50:39 +0000 (10:50 +0100)]
Merge branch 'PHP-7.2' into PHP-7.3

6 years agoFixed bug #77743
Nikita Popov [Mon, 18 Mar 2019 09:49:53 +0000 (10:49 +0100)]
Fixed bug #77743

6 years agoMerge branch 'PHP-7.4'
Christoph M. Becker [Mon, 18 Mar 2019 09:21:38 +0000 (10:21 +0100)]
Merge branch 'PHP-7.4'

* PHP-7.4:
  Fix #76956: Wrong value for 'syslog.filter' documented in php.ini

6 years agoMerge branch 'PHP-7.3' into PHP-7.4
Christoph M. Becker [Mon, 18 Mar 2019 09:20:41 +0000 (10:20 +0100)]
Merge branch 'PHP-7.3' into PHP-7.4

* PHP-7.3:
  Fix #76956: Wrong value for 'syslog.filter' documented in php.ini

6 years agoFix #76956: Wrong value for 'syslog.filter' documented in php.ini
Christoph M. Becker [Mon, 18 Mar 2019 09:04:18 +0000 (10:04 +0100)]
Fix #76956: Wrong value for 'syslog.filter' documented in php.ini

6 years agoMerge branch 'PHP-7.4'
Nikita Popov [Mon, 18 Mar 2019 09:14:19 +0000 (10:14 +0100)]
Merge branch 'PHP-7.4'

6 years agoMerge branch 'PHP-7.3' into PHP-7.4
Nikita Popov [Mon, 18 Mar 2019 09:14:03 +0000 (10:14 +0100)]
Merge branch 'PHP-7.3' into PHP-7.4

6 years agoRemove x86 bit test optimization
Nikita Popov [Mon, 18 Mar 2019 09:12:15 +0000 (10:12 +0100)]
Remove x86 bit test optimization

This is undefined behavior and we cannot rely on it. Additionally it
breaks builds using undefined behavior sanitizers.

6 years agoMerge branch 'PHP-7.2' into PHP-7.3
Nikita Popov [Mon, 18 Mar 2019 09:11:25 +0000 (10:11 +0100)]
Merge branch 'PHP-7.2' into PHP-7.3

6 years agoFix unused variable warning
Nikita Popov [Mon, 18 Mar 2019 09:11:00 +0000 (10:11 +0100)]
Fix unused variable warning

6 years agoMerge branch 'PHP-7.4'
Nikita Popov [Mon, 18 Mar 2019 09:05:16 +0000 (10:05 +0100)]
Merge branch 'PHP-7.4'

6 years agoMerge branch 'PHP-7.3' into PHP-7.4
Nikita Popov [Mon, 18 Mar 2019 09:04:59 +0000 (10:04 +0100)]
Merge branch 'PHP-7.3' into PHP-7.4

6 years agoMerge branch 'PHP-7.2' into PHP-7.3
Nikita Popov [Mon, 18 Mar 2019 09:04:29 +0000 (10:04 +0100)]
Merge branch 'PHP-7.2' into PHP-7.3

6 years agoDon't disable object slot reuse while running shutdown functions
twosee [Sat, 16 Mar 2019 05:21:48 +0000 (13:21 +0800)]
Don't disable object slot reuse while running shutdown functions

We only need to do this once we're running destructors. The current
approach interferes with some event loop code that runs everything
inside a shutdown function.

6 years agoMerge branch 'PHP-7.4'
Peter Kokot [Mon, 18 Mar 2019 01:14:24 +0000 (02:14 +0100)]
Merge branch 'PHP-7.4'

* PHP-7.4:
  [ci skip] Update changelog

6 years ago[ci skip] Update changelog
Peter Kokot [Mon, 18 Mar 2019 01:14:18 +0000 (02:14 +0100)]
[ci skip] Update changelog

6 years agoMerge branch 'PHP-7.4'
Peter Kokot [Mon, 18 Mar 2019 01:13:12 +0000 (02:13 +0100)]
Merge branch 'PHP-7.4'

* PHP-7.4:
  Sync AC_CHECK_SIZEOF m4 macro calls

6 years agoSync AC_CHECK_SIZEOF m4 macro calls
Peter Kokot [Thu, 14 Mar 2019 22:21:17 +0000 (23:21 +0100)]
Sync AC_CHECK_SIZEOF m4 macro calls

- AC_CHECK_SIZEOF is now called mostly only in PHP_CHECK_STDINT_TYPES()
  macro except for some parts checking for the 32 or 64 bit architecture.
- SIZEOF_CHAR removed since it is always 1
- ZEND_BIN_ID is now of a more logical pattern `BIN_48888` on 64bit
  architectures and `BIN_44444` on 32bit instead of literal string
  `BIN_SIZEOF_CHAR48888` on 64bit and `BIN_SIZEOF_CHAR44444` on 32bit.
  The unneeded SIZEOF_CHAR part has been removed.
- XMLRPC_TYPE_CHECKS removed
- The `long long int` is the same as `long long` and redundant checks
  removed accordingly.
- Removed PHP_CHECK_64BIT macro. Checking if current platform is 64bit
  or not can be also done simply by using a check of the long type on
  place. This removes redundant m4 macro PHP_CHECK_64BIT.

6 years agoMerge branch 'PHP-7.4'
Christoph M. Becker [Sun, 17 Mar 2019 22:32:53 +0000 (23:32 +0100)]
Merge branch 'PHP-7.4'

* PHP-7.4:
  Remove unused variables

6 years agoRemove unused variables
Fabien Villepinte [Fri, 8 Mar 2019 12:23:07 +0000 (13:23 +0100)]
Remove unused variables

6 years agoMerge remote-tracking branch 'refs/remotes/origin/master'
Derick Rethans [Sun, 17 Mar 2019 19:16:18 +0000 (15:16 -0400)]
Merge remote-tracking branch 'refs/remotes/origin/master'

6 years agoMerge remote-tracking branch 'refs/remotes/origin/PHP-7.4' into PHP-7.4
Derick Rethans [Sun, 17 Mar 2019 19:16:08 +0000 (15:16 -0400)]
Merge remote-tracking branch 'refs/remotes/origin/PHP-7.4' into PHP-7.4

6 years agoMerge branch 'PHP-7.4'
Derick Rethans [Sun, 17 Mar 2019 19:13:30 +0000 (15:13 -0400)]
Merge branch 'PHP-7.4'

6 years agoMerge branch 'PHP-7.3' into PHP-7.4
Derick Rethans [Sun, 17 Mar 2019 19:13:16 +0000 (15:13 -0400)]
Merge branch 'PHP-7.3' into PHP-7.4

6 years agoMerge branch 'PHP-7.4'
Peter Kokot [Sun, 17 Mar 2019 19:10:57 +0000 (20:10 +0100)]
Merge branch 'PHP-7.4'

* PHP-7.4:
  Remove outdated README for ext/json

6 years agoRemove outdated README for ext/json
Peter Kokot [Sun, 17 Mar 2019 19:10:26 +0000 (20:10 +0100)]
Remove outdated README for ext/json

The php manual already includes introduction to the JSON extension. The
re2c and bison version required to build parser and lexer files have
changed so to move this info on a central place this removes the README.

6 years agoMerge branch 'PHP-7.2' into PHP-7.3
Derick Rethans [Sun, 17 Mar 2019 18:55:53 +0000 (14:55 -0400)]
Merge branch 'PHP-7.2' into PHP-7.3

6 years agoFixed 7.2 compat issue
Derick Rethans [Sun, 17 Mar 2019 18:53:56 +0000 (14:53 -0400)]
Fixed 7.2 compat issue

6 years agoMerge branch 'PHP-7.4'
Derick Rethans [Sun, 17 Mar 2019 18:38:20 +0000 (14:38 -0400)]
Merge branch 'PHP-7.4'

6 years agoMerge branch 'PHP-7.3' into PHP-7.4
Derick Rethans [Sun, 17 Mar 2019 18:38:11 +0000 (14:38 -0400)]
Merge branch 'PHP-7.3' into PHP-7.4

6 years agoMerge branch 'PHP-7.2' into PHP-7.3
Derick Rethans [Sun, 17 Mar 2019 18:38:04 +0000 (14:38 -0400)]
Merge branch 'PHP-7.2' into PHP-7.3

6 years agoMerge branch 'pr/3888' into PHP-7.2
Derick Rethans [Sun, 17 Mar 2019 18:37:52 +0000 (14:37 -0400)]
Merge branch 'pr/3888' into PHP-7.2

6 years agoFixed bug #75113: Added DatePeriod::getRecurrences() method.
Ignace Nyamagana Butera [Tue, 26 Feb 2019 20:21:46 +0000 (21:21 +0100)]
Fixed bug #75113: Added DatePeriod::getRecurrences() method.

6 years agoMerge branch 'PHP-7.4'
Nuno Lopes [Sun, 17 Mar 2019 12:10:53 +0000 (08:10 -0400)]
Merge branch 'PHP-7.4'

* PHP-7.4:
  remove unneeded AC_REQUIRE([AC_PROG_YACC]) thanks Peter Kokot for noticing

6 years agoremove unneeded AC_REQUIRE([AC_PROG_YACC])
Nuno Lopes [Sun, 17 Mar 2019 12:10:41 +0000 (08:10 -0400)]
remove unneeded AC_REQUIRE([AC_PROG_YACC])
thanks Peter Kokot for noticing

6 years agoMerge branch 'PHP-7.4'
Peter Kokot [Sun, 17 Mar 2019 00:33:06 +0000 (01:33 +0100)]
Merge branch 'PHP-7.4'

* PHP-7.4:
  Remove duplicate PHP_C_BIGENDIAN check

6 years agoRemove duplicate PHP_C_BIGENDIAN check
Peter Kokot [Sun, 17 Mar 2019 00:31:28 +0000 (01:31 +0100)]
Remove duplicate PHP_C_BIGENDIAN check

The bigendian check is already done via configure.ac and the variable
ac_cv_c_bigendian_php is already set.

6 years agoMerge branch 'PHP-7.4'
Peter Kokot [Sat, 16 Mar 2019 22:54:54 +0000 (23:54 +0100)]
Merge branch 'PHP-7.4'

* PHP-7.4:
  Move distribution generator script to scripts/dev

6 years agoMove distribution generator script to scripts/dev
Peter Kokot [Sun, 24 Feb 2019 12:01:57 +0000 (13:01 +0100)]
Move distribution generator script to scripts/dev

The more proper place for shell scripts dedicated for development, and
releasing PHP should be the scripts/dev directory. Having a cleaner root
project directory helps find the main README.md and files relevant to
install PHP.

These scripts are also used by the release managers mostly who create
release packages and aren't used often by the majority of developers
working on and installing PHP.

6 years agoMerge branch 'PHP-7.4'
Peter Kokot [Sat, 16 Mar 2019 22:43:56 +0000 (23:43 +0100)]
Merge branch 'PHP-7.4'

* PHP-7.4:
  Enhance the buildconf script

6 years agoEnhance the buildconf script
Peter Kokot [Sat, 16 Feb 2019 19:29:42 +0000 (20:29 +0100)]
Enhance the buildconf script

Changes:
- Added a short introduction what this script does
- Added usually the expected -h and --help options with explanation
  for a reason for this script and its usage.
- Messages changed a bit so the PHP installation procedure becomes
  simpler without needing to constantly remind the reader what to run
  and what not in the documentations and installation instructions.
- cd into current working directory of the buildconf (this enables
  running the script from other locations and inside other scripts).
- check if make exists

6 years agoMerge branch 'PHP-7.4'
Peter Kokot [Sat, 16 Mar 2019 18:36:20 +0000 (19:36 +0100)]
Merge branch 'PHP-7.4'

* PHP-7.4:
  snmp: remove unused var

6 years agosnmp: remove unused var
Nuno Lopes [Sat, 16 Mar 2019 18:36:12 +0000 (19:36 +0100)]
snmp: remove unused var

6 years agoMerge branch 'PHP-7.4'
Peter Kokot [Sat, 16 Mar 2019 17:39:15 +0000 (18:39 +0100)]
Merge branch 'PHP-7.4'

* PHP-7.4:
  [ci skip] Remove make install step from README
  check for bison binary, not yacc this fixes compilation with recent bison

6 years ago[ci skip] Remove make install step from README
Peter Kokot [Sat, 16 Mar 2019 17:37:49 +0000 (18:37 +0100)]
[ci skip] Remove make install step from README

The `make install` step touches files outside of the source directory
and might cause confusions with people. It should be mentioned in more
details elsewhere in the installation chapter instead and how to
override it.

6 years agocheck for bison binary, not yacc
Nuno Lopes [Sat, 16 Mar 2019 16:22:44 +0000 (12:22 -0400)]
check for bison binary, not yacc
this fixes compilation with recent bison

6 years agocheck for bison binary, not yacc
Nuno Lopes [Sat, 16 Mar 2019 16:21:52 +0000 (12:21 -0400)]
check for bison binary, not yacc
this fixes compilation with recent bison

6 years agoMerge branch 'PHP-7.4'
Peter Kokot [Sat, 16 Mar 2019 14:18:58 +0000 (15:18 +0100)]
Merge branch 'PHP-7.4'

* PHP-7.4:
  [ci skip] Update changelog
  bump minimum bison version to 3.0 after last parser changes

6 years ago[ci skip] Update changelog
Peter Kokot [Sat, 16 Mar 2019 14:18:50 +0000 (15:18 +0100)]
[ci skip] Update changelog

6 years agobump minimum bison version to 3.0 after last parser changes
Nuno Lopes [Sat, 16 Mar 2019 10:32:43 +0000 (06:32 -0400)]
bump minimum bison version to 3.0 after last parser changes

6 years agobump minimum bison version to 3.0 after last parser changes
Nuno Lopes [Sat, 16 Mar 2019 10:28:36 +0000 (06:28 -0400)]
bump minimum bison version to 3.0 after last parser changes

6 years agosnmp: remove unused var
Nuno Lopes [Sat, 16 Mar 2019 10:19:35 +0000 (06:19 -0400)]
snmp: remove unused var

6 years ago[ci skip] Add Bishop Bettini as maintainer for phar & imap
Stanislav Malyshev [Sat, 16 Mar 2019 06:07:34 +0000 (23:07 -0700)]
[ci skip] Add Bishop Bettini as maintainer for phar & imap

6 years agoMerge branch 'PHP-7.4'
Peter Kokot [Sat, 16 Mar 2019 00:38:00 +0000 (01:38 +0100)]
Merge branch 'PHP-7.4'

* PHP-7.4:
  Make credits script executable from other paths

6 years agoMake credits script executable from other paths
Peter Kokot [Sat, 16 Mar 2019 00:37:34 +0000 (01:37 +0100)]
Make credits script executable from other paths

6 years agoMerge branch 'PHP-7.4'
Peter Kokot [Fri, 15 Mar 2019 22:51:54 +0000 (23:51 +0100)]
Merge branch 'PHP-7.4'

* PHP-7.4:
  Use separate output files in xmlreader tests

6 years agoUse separate output files in xmlreader tests
Fabien Villepinte [Fri, 15 Mar 2019 20:46:35 +0000 (21:46 +0100)]
Use separate output files in xmlreader tests

6 years agoMerge branch 'PHP-7.4'
Peter Kokot [Fri, 15 Mar 2019 22:36:47 +0000 (23:36 +0100)]
Merge branch 'PHP-7.4'

* PHP-7.4:
  Replace dirname(__FILE__) by __DIR__ in tests

6 years agoReplace dirname(__FILE__) by __DIR__ in tests
Fabien Villepinte [Fri, 15 Mar 2019 21:55:30 +0000 (22:55 +0100)]
Replace dirname(__FILE__) by __DIR__ in tests

6 years agoMerge branch 'PHP-7.4'
Pedro Magalhães [Fri, 15 Mar 2019 18:14:55 +0000 (18:14 +0000)]
Merge branch 'PHP-7.4'

* PHP-7.4:
  Added test for #77535 fix

6 years agoMerge branch 'PHP-7.3' into PHP-7.4
Pedro Magalhães [Fri, 15 Mar 2019 18:13:37 +0000 (18:13 +0000)]
Merge branch 'PHP-7.3' into PHP-7.4

* PHP-7.3:
  Added test for #77535 fix

6 years agoMerge branch 'PHP-7.2' into PHP-7.3
Pedro Magalhães [Fri, 15 Mar 2019 18:12:55 +0000 (18:12 +0000)]
Merge branch 'PHP-7.2' into PHP-7.3

* PHP-7.2:
  Added test for #77535 fix

6 years agoAdded test for #77535 fix
Pedro Magalhães [Fri, 15 Mar 2019 18:11:51 +0000 (18:11 +0000)]
Added test for #77535 fix

6 years agoMerge branch 'PHP-7.4'
Nikita Popov [Fri, 15 Mar 2019 16:08:08 +0000 (17:08 +0100)]
Merge branch 'PHP-7.4'

6 years agoMerge branch 'PHP-7.3' into PHP-7.4
Nikita Popov [Fri, 15 Mar 2019 16:08:01 +0000 (17:08 +0100)]
Merge branch 'PHP-7.3' into PHP-7.4

6 years agoMerge branch 'PHP-7.2' into PHP-7.3
Nikita Popov [Fri, 15 Mar 2019 16:07:48 +0000 (17:07 +0100)]
Merge branch 'PHP-7.2' into PHP-7.3

6 years agoDon't immediately destroy curl pushfunction
Nikita Popov [Fri, 15 Mar 2019 16:06:34 +0000 (17:06 +0100)]
Don't immediately destroy curl pushfunction

6 years agoMerge branch 'PHP-7.4'
Nikita Popov [Fri, 15 Mar 2019 11:06:29 +0000 (12:06 +0100)]
Merge branch 'PHP-7.4'

6 years agoRemove unnecessary precedence/associativity annotations
Nikita Popov [Fri, 15 Mar 2019 11:01:58 +0000 (12:01 +0100)]
Remove unnecessary precedence/associativity annotations

Some of these are entirely unnecessary. Some specify an associativity
for operators where the concept doesn't make sense and has no effect:
Explicit associativity is only meaningful for binary operators. For
unary operators and constrained operations like instanceof or assignment
the associativity specification has no effect and only serves to confuse.

For example assignments were specified as %left, even though they will
actually behave as right-associative due to the variable requirement on
the LHS. Similarly instanceof was specified as %nonassoc, but it will
behave as left-associative, due to the restrictions places on the RHS.

6 years agoMerge branch 'PHP-7.3'
Xinchen Hui [Fri, 15 Mar 2019 08:58:42 +0000 (16:58 +0800)]
Merge branch 'PHP-7.3'

* PHP-7.3:
  Fixed bug #77697 (Crash on Big_Endian platform)

6 years agoFixed bug #77697 (Crash on Big_Endian platform)
Xinchen Hui [Fri, 15 Mar 2019 08:58:08 +0000 (16:58 +0800)]
Fixed bug #77697 (Crash on Big_Endian platform)

6 years agoMerge branch 'PHP-7.4'
Peter Kokot [Thu, 14 Mar 2019 23:14:33 +0000 (00:14 +0100)]
Merge branch 'PHP-7.4'

* PHP-7.4:
  Add tests to XMLReader

6 years agoAdd tests to XMLReader
Thiago Carvalho [Thu, 12 Oct 2017 06:41:21 +0000 (08:41 +0200)]
Add tests to XMLReader

6 years agoFix failing test
Peter Kokot [Thu, 14 Mar 2019 19:41:19 +0000 (20:41 +0100)]
Fix failing test

Since aad39879f2d2e89de105c4f87d334ee129b4321c accessing undefined
constants always throws an Error exception.

6 years agoMerge branch 'PHP-7.4'
Peter Kokot [Thu, 14 Mar 2019 19:21:30 +0000 (20:21 +0100)]
Merge branch 'PHP-7.4'

* PHP-7.4:
  Clean build system

6 years agoClean build system
Peter Kokot [Wed, 13 Mar 2019 21:50:53 +0000 (22:50 +0100)]
Clean build system

Changes:
- AC_TYPE_SIZE_T called on only one place (configure.ac)
- AC_FUNC_ALLOCA called on only one place (configure.ac)
- AC_TYPE_UID_T called on only one place (configure.ac)
- HAVE_STRSTR removed since strstr is part of C89 standard [1]
- Remove checks for strtol and strpbrk
- Checking for the presence of perror function is not needed anymore
  since it is part of C89 standard and PHP calls it unconditionally.
- Checking for functions strdup, setenv, strerror, and memmove done only
  on one place (configure.ac)
- outdated check for snprintf removed

1: https://port70.net/~nsz/c/c89/c89-draft.html

6 years agoMerge branch 'PHP-7.4'
Peter Kokot [Thu, 14 Mar 2019 18:43:45 +0000 (19:43 +0100)]
Merge branch 'PHP-7.4'

* PHP-7.4:
  Remove HAVE_STRFTIME

6 years agoRemove HAVE_STRFTIME
Peter Kokot [Wed, 13 Mar 2019 22:14:37 +0000 (23:14 +0100)]
Remove HAVE_STRFTIME

Function strftime is part of the C89 standard [1] and current systems
don't need to check for its presence anymore.

Additionally, checks for strftime function in tests have been removed
since the PHP strftime function is now always available.

1: https://port70.net/~nsz/c/c89/c89-draft.html

6 years agoFix weakref object handlers for master
Nikita Popov [Thu, 14 Mar 2019 16:33:17 +0000 (17:33 +0100)]
Fix weakref object handlers for master