]> granicus.if.org Git - php/log
php
6 years agoMerge branch 'PHP-7.4'
Peter Kokot [Fri, 17 May 2019 17:05:16 +0000 (19:05 +0200)]
Merge branch 'PHP-7.4'

* PHP-7.4:
  Use *.data for tests data files

6 years agoUse *.data for tests data files
Peter Kokot [Fri, 17 May 2019 17:04:43 +0000 (19:04 +0200)]
Use *.data for tests data files

6 years agoMerge branch 'PHP-7.4'
Christoph M. Becker [Fri, 17 May 2019 11:33:23 +0000 (13:33 +0200)]
Merge branch 'PHP-7.4'

* PHP-7.4:
  Fix #78025: segfault when accessing properties of DOMDocumentType

6 years agoMerge branch 'PHP-7.3' into PHP-7.4
Christoph M. Becker [Fri, 17 May 2019 11:32:53 +0000 (13:32 +0200)]
Merge branch 'PHP-7.3' into PHP-7.4

* PHP-7.3:
  Fix #78025: segfault when accessing properties of DOMDocumentType

6 years agoMerge branch 'PHP-7.2' into PHP-7.3
Christoph M. Becker [Fri, 17 May 2019 11:31:52 +0000 (13:31 +0200)]
Merge branch 'PHP-7.2' into PHP-7.3

* PHP-7.2:
  Fix #78025: segfault when accessing properties of DOMDocumentType

6 years agoFix #78025: segfault when accessing properties of DOMDocumentType
Christoph M. Becker [Fri, 17 May 2019 11:31:18 +0000 (13:31 +0200)]
Fix #78025: segfault when accessing properties of DOMDocumentType

Instead of following the NULL pointer, we return an empty string.

6 years agoMerge branch 'PHP-7.4'
Peter Kokot [Fri, 17 May 2019 02:00:04 +0000 (04:00 +0200)]
Merge branch 'PHP-7.4'

* PHP-7.4:
  Use *.data for fixture files

6 years agoUse *.data for fixture files
Peter Kokot [Fri, 17 May 2019 01:59:23 +0000 (03:59 +0200)]
Use *.data for fixture files

6 years agoMerge branch 'PHP-7.4'
Peter Kokot [Fri, 17 May 2019 01:18:13 +0000 (03:18 +0200)]
Merge branch 'PHP-7.4'

* PHP-7.4:
  Update UPGRADING about LiteSpeed
  Rename configure --with-litespeed to --enable-litespeed

6 years agoUpdate UPGRADING about LiteSpeed
Peter Kokot [Fri, 17 May 2019 01:18:02 +0000 (03:18 +0200)]
Update UPGRADING about LiteSpeed

6 years agoRename configure --with-litespeed to --enable-litespeed
Peter Kokot [Sat, 11 May 2019 03:19:28 +0000 (05:19 +0200)]
Rename configure --with-litespeed to --enable-litespeed

This syncs the configuration option of the litespeed module to be
compliant with the approach of:
--with-foo (when something additional needs to be installed such as
  libfoo)
--enable-foo (when extension/sapi doesn't have dependencies on some
  library)

6 years agoMerge branch 'concatenation_precedence'
Bob Weinand [Thu, 16 May 2019 16:37:42 +0000 (18:37 +0200)]
Merge branch 'concatenation_precedence'

6 years agoMerge branch 'PHP-7.4'
Bob Weinand [Thu, 16 May 2019 16:37:05 +0000 (18:37 +0200)]
Merge branch 'PHP-7.4'

6 years agoMerge branch 'deprecate_concat_add_sub' into PHP-8.4
Bob Weinand [Thu, 16 May 2019 16:31:28 +0000 (18:31 +0200)]
Merge branch 'deprecate_concat_add_sub' into PHP-8.4

6 years agoMerge branch 'PHP-7.4'
Peter Kokot [Thu, 16 May 2019 05:43:52 +0000 (07:43 +0200)]
Merge branch 'PHP-7.4'

* PHP-7.4:
  Rename *.tif to *.tiff for consistency

6 years agoRename *.tif to *.tiff for consistency
Peter Kokot [Thu, 16 May 2019 05:41:45 +0000 (07:41 +0200)]
Rename *.tif to *.tiff for consistency

There really isn't any practical difference between these two, but repo
currently uses *.tiff files more than 8.3 variant filenames of *.tif.
Also these aren't part of the test.

6 years agoMerge branch 'PHP-7.4'
Nikita Popov [Wed, 15 May 2019 12:36:53 +0000 (14:36 +0200)]
Merge branch 'PHP-7.4'

6 years agoMerge branch 'PHP-7.3' into PHP-7.4
Nikita Popov [Wed, 15 May 2019 12:36:45 +0000 (14:36 +0200)]
Merge branch 'PHP-7.3' into PHP-7.4

6 years agoFixed bug #78015
Nikita Popov [Wed, 15 May 2019 12:35:31 +0000 (14:35 +0200)]
Fixed bug #78015

Don't try to evaluate various operations with partial array operands.
We could evaluate some of these, but let's be conservative for now...

6 years agoMerge branch 'PHP-7.4'
Nikita Popov [Wed, 15 May 2019 10:49:50 +0000 (12:49 +0200)]
Merge branch 'PHP-7.4'

6 years agoMerge branch 'PHP-7.3' into PHP-7.4
Nikita Popov [Wed, 15 May 2019 10:49:03 +0000 (12:49 +0200)]
Merge branch 'PHP-7.3' into PHP-7.4

6 years agoMerge branch 'PHP-7.2' into PHP-7.3
Nikita Popov [Wed, 15 May 2019 10:48:25 +0000 (12:48 +0200)]
Merge branch 'PHP-7.2' into PHP-7.3

6 years agoFixed bug #76980
Nikita Popov [Wed, 15 May 2019 10:46:23 +0000 (12:46 +0200)]
Fixed bug #76980

If we perform a class fetch that is not marked as exception safe,
convert exceptions thrown by autoloaders into a fatal error.

Ideally fetching the interfaces would be exception safe, but as it
isn't right now, we must abort at this point.

6 years agoMerge branch 'PHP-7.4'
Christoph M. Becker [Wed, 15 May 2019 09:33:15 +0000 (11:33 +0200)]
Merge branch 'PHP-7.4'

* PHP-7.4:
  Update NEWS regarding re-tagging 7.3.6RC1

6 years agoMerge branch 'PHP-7.3' into PHP-7.4
Christoph M. Becker [Wed, 15 May 2019 09:32:43 +0000 (11:32 +0200)]
Merge branch 'PHP-7.3' into PHP-7.4

* PHP-7.3:
  Update NEWS regarding re-tagging 7.3.6RC1

6 years agoUpdate NEWS regarding re-tagging 7.3.6RC1
Christoph M. Becker [Wed, 15 May 2019 09:31:53 +0000 (11:31 +0200)]
Update NEWS regarding re-tagging 7.3.6RC1

6 years agoMerge branch 'PHP-7.4'
Dmitry Stogov [Wed, 15 May 2019 08:07:51 +0000 (11:07 +0300)]
Merge branch 'PHP-7.4'

* PHP-7.4:
  Removed ability to compile PHP without EX(run_time_cache). ZEND_EX_USE_RUN_TIME_CACHE was always defined.

6 years agoRemoved ability to compile PHP without EX(run_time_cache). ZEND_EX_USE_RUN_TIME_CACHE...
Dmitry Stogov [Wed, 15 May 2019 08:06:26 +0000 (11:06 +0300)]
Removed ability to compile PHP without EX(run_time_cache). ZEND_EX_USE_RUN_TIME_CACHE was always defined.

6 years agoMerge branch 'PHP-7.4'
Sara Golemon [Wed, 15 May 2019 00:24:01 +0000 (20:24 -0400)]
Merge branch 'PHP-7.4'

* PHP-7.4:
  Bump for 7.2.20

6 years agoMerge branch 'PHP-7.3' into PHP-7.4
Sara Golemon [Wed, 15 May 2019 00:23:41 +0000 (20:23 -0400)]
Merge branch 'PHP-7.3' into PHP-7.4

* PHP-7.3:
  Bump for 7.2.20

6 years agoMerge branch 'PHP-7.2' into PHP-7.3
Sara Golemon [Wed, 15 May 2019 00:23:25 +0000 (20:23 -0400)]
Merge branch 'PHP-7.2' into PHP-7.3

* PHP-7.2:
  Bump for 7.2.20

6 years agoBump for 7.2.20
Sara Golemon [Wed, 15 May 2019 00:22:00 +0000 (20:22 -0400)]
Bump for 7.2.20

6 years agoMerge branch 'PHP-7.4'
Peter Kokot [Tue, 14 May 2019 22:00:14 +0000 (00:00 +0200)]
Merge branch 'PHP-7.4'

* PHP-7.4:
  Update changelogs
  Fix bug #62397 - disable_functions does not work with eval.

6 years agoUpdate changelogs
Peter Kokot [Tue, 14 May 2019 22:00:01 +0000 (00:00 +0200)]
Update changelogs

6 years agoFix bug #62397 - disable_functions does not work with eval.
Benjamin Eberlei [Sun, 28 Apr 2019 15:30:09 +0000 (17:30 +0200)]
Fix bug #62397 - disable_functions does not work with eval.

6 years agoMerge branch 'PHP-7.4'
Peter Kokot [Tue, 14 May 2019 21:33:31 +0000 (23:33 +0200)]
Merge branch 'PHP-7.4'

* PHP-7.4:
  Rename *.dat to *.data for common file type

6 years agoRename *.dat to *.data for common file type
Peter Kokot [Tue, 14 May 2019 21:31:42 +0000 (23:31 +0200)]
Rename *.dat to *.data for common file type

File extension in this case is not part of the test.

6 years agoMerge branch 'PHP-7.4'
Peter Kokot [Tue, 14 May 2019 19:51:51 +0000 (21:51 +0200)]
Merge branch 'PHP-7.4'

* PHP-7.4:
  Enhance the tokenizer data generator script

6 years agoEnhance the tokenizer data generator script
Peter Kokot [Tue, 14 May 2019 19:50:29 +0000 (21:50 +0200)]
Enhance the tokenizer data generator script

Changes:
- executable from any location (for example, project root)
- some minor common shell scripts CS fixes
- error reporting done based on the presence of the parser file

6 years agoMerge branch 'PHP-7.4'
Nikita Popov [Tue, 14 May 2019 13:04:39 +0000 (15:04 +0200)]
Merge branch 'PHP-7.4'

6 years agoWarn about non well-formed arguments in bcmath
vladyslavstartsev [Tue, 30 Apr 2019 14:33:04 +0000 (17:33 +0300)]
Warn about non well-formed arguments in bcmath

Co-Authored-By: Nikita Popov <nikita.ppv@googlemail.com>
Co-Authored-By: Christoph M. Becker <cmbecker69@gmx.de>
6 years agoMerge branch 'PHP-7.4'
Nikita Popov [Tue, 14 May 2019 12:59:36 +0000 (14:59 +0200)]
Merge branch 'PHP-7.4'

6 years agoAdd RETURN_EMPTY_ARRAY() / RETVAL_EMPTY_ARRAY()
Nikita Popov [Tue, 14 May 2019 12:57:10 +0000 (14:57 +0200)]
Add RETURN_EMPTY_ARRAY() / RETVAL_EMPTY_ARRAY()

The usual wrappers around ZVAL_EMPTY_ARRAY()...

6 years agoMerge branch 'PHP-7.4'
Dmitry Stogov [Tue, 14 May 2019 12:09:30 +0000 (15:09 +0300)]
Merge branch 'PHP-7.4'

* PHP-7.4:
  Moved NEWS entry
  Fixed possible crashes, because of inconsistent PCRE cache and opcache SHM reset

6 years agoMerge branch 'PHP-7.3' into PHP-7.4
Dmitry Stogov [Tue, 14 May 2019 12:09:17 +0000 (15:09 +0300)]
Merge branch 'PHP-7.3' into PHP-7.4

* PHP-7.3:
  Moved NEWS entry
  Fixed possible crashes, because of inconsistent PCRE cache and opcache SHM reset

6 years agoMoved NEWS entry
Dmitry Stogov [Tue, 14 May 2019 11:55:28 +0000 (14:55 +0300)]
Moved NEWS entry

6 years agoMerge branch 'PHP-7.2' into PHP-7.3
Dmitry Stogov [Tue, 14 May 2019 11:54:30 +0000 (14:54 +0300)]
Merge branch 'PHP-7.2' into PHP-7.3

* PHP-7.2:
  Fixed possible crashes, because of inconsistent PCRE cache and opcache SHM reset

6 years agoFixed possible crashes, because of inconsistent PCRE cache and opcache SHM reset
Dmitry Stogov [Tue, 14 May 2019 11:53:52 +0000 (14:53 +0300)]
Fixed possible crashes, because of inconsistent PCRE cache and opcache SHM reset

6 years agoMerge branch 'PHP-7.4'
Christoph M. Becker [Tue, 14 May 2019 11:20:38 +0000 (13:20 +0200)]
Merge branch 'PHP-7.4'

* PHP-7.4:
  Prevent further potential test conflicts

6 years agoPrevent further potential test conflicts
Christoph M. Becker [Tue, 14 May 2019 11:19:58 +0000 (13:19 +0200)]
Prevent further potential test conflicts

6 years agoMerge branch 'PHP-7.4'
Christoph M. Becker [Tue, 14 May 2019 09:46:06 +0000 (11:46 +0200)]
Merge branch 'PHP-7.4'

* PHP-7.4:
  Prepare 7.3.7-dev

6 years agoMerge branch 'PHP-7.3' into PHP-7.4
Christoph M. Becker [Tue, 14 May 2019 09:45:42 +0000 (11:45 +0200)]
Merge branch 'PHP-7.3' into PHP-7.4

* PHP-7.3:
  Prepare 7.3.7-dev

6 years agoPrepare 7.3.7-dev
Christoph M. Becker [Tue, 14 May 2019 09:44:58 +0000 (11:44 +0200)]
Prepare 7.3.7-dev

6 years agoMerge branch 'PHP-7.4'
Christoph M. Becker [Tue, 14 May 2019 08:26:25 +0000 (10:26 +0200)]
Merge branch 'PHP-7.4'

* PHP-7.4:
  Fix test case

6 years agoMerge branch 'PHP-7.3' into PHP-7.4
Christoph M. Becker [Tue, 14 May 2019 08:26:05 +0000 (10:26 +0200)]
Merge branch 'PHP-7.3' into PHP-7.4

* PHP-7.3:
  Fix test case

6 years agoMerge branch 'PHP-7.2' into PHP-7.3
Christoph M. Becker [Tue, 14 May 2019 08:25:02 +0000 (10:25 +0200)]
Merge branch 'PHP-7.2' into PHP-7.3

* PHP-7.2:
  Fix test case

6 years agoFix test case
Christoph M. Becker [Tue, 14 May 2019 08:23:58 +0000 (10:23 +0200)]
Fix test case

stderr is supposed to be redirected to NUL (which is roughly equivalent
to /dev/null on POSIX), but actually was redirected to a file.

6 years agoMerge branch 'PHP-7.4'
Christoph M. Becker [Tue, 14 May 2019 08:12:11 +0000 (10:12 +0200)]
Merge branch 'PHP-7.4'

* PHP-7.4:
  Prevent test conflicts

6 years agoPrevent test conflicts
Christoph M. Becker [Tue, 14 May 2019 08:06:04 +0000 (10:06 +0200)]
Prevent test conflicts

6 years agoMerge branch 'PHP-7.4'
Peter Kokot [Tue, 14 May 2019 01:20:11 +0000 (03:20 +0200)]
Merge branch 'PHP-7.4'

* PHP-7.4:
  Update changelog
  Use pkg-config for sqlite3 and pdo_sqlite

6 years agoUpdate changelog
Peter Kokot [Tue, 14 May 2019 01:20:03 +0000 (03:20 +0200)]
Update changelog

6 years agoUse pkg-config for sqlite3 and pdo_sqlite
Peter Kokot [Thu, 9 May 2019 21:23:39 +0000 (23:23 +0200)]
Use pkg-config for sqlite3 and pdo_sqlite

Following other migrations to pkg-config usage for the *nix build system
this migrates also sqlite3 and pdo_sqlite extensions.

6 years agoMerge branch 'PHP-7.4'
Peter Kokot [Tue, 14 May 2019 01:05:01 +0000 (03:05 +0200)]
Merge branch 'PHP-7.4'

* PHP-7.4:
  Add extensions naming conventions to ext_skel.php

6 years agoAdd extensions naming conventions to ext_skel.php
Peter Kokot [Sun, 12 May 2019 18:39:42 +0000 (20:39 +0200)]
Add extensions naming conventions to ext_skel.php

- first character is a letter
- followed by any number of letters, numbers, or underscores
- prefferred are lower case letters

6 years agoMerge branch 'PHP-7.4'
Peter Kokot [Tue, 14 May 2019 00:59:16 +0000 (02:59 +0200)]
Merge branch 'PHP-7.4'

* PHP-7.4:
  Convert CRLF to LF

6 years agoConvert CRLF to LF
Peter Kokot [Tue, 14 May 2019 00:59:06 +0000 (02:59 +0200)]
Convert CRLF to LF

6 years agoMerge branch 'PHP-7.4'
Dmitry Stogov [Mon, 13 May 2019 21:22:21 +0000 (00:22 +0300)]
Merge branch 'PHP-7.4'

* PHP-7.4:
  Fixed test on platforms that don't support fastcall calling convention

6 years agoFixed test on platforms that don't support fastcall calling convention
Dmitry Stogov [Mon, 13 May 2019 21:21:00 +0000 (00:21 +0300)]
Fixed test on platforms that don't support fastcall calling convention

6 years agoMerge branch 'PHP-7.4'
Peter Kokot [Mon, 13 May 2019 20:15:52 +0000 (22:15 +0200)]
Merge branch 'PHP-7.4'

* PHP-7.4:
  Remove example file for pgsql extension

6 years agoRemove example file for pgsql extension
Peter Kokot [Mon, 13 May 2019 20:14:58 +0000 (22:14 +0200)]
Remove example file for pgsql extension

This removes the example script in favour of the manual:
https://www.php.net/manual/en/book.pgsql.php

Patch for integrating these functions as an example has been submitted
also to PHP manual via edit.php.net.

6 years agoMerge branch 'PHP-7.4'
Jakub Zelenka [Mon, 13 May 2019 17:52:17 +0000 (18:52 +0100)]
Merge branch 'PHP-7.4'

6 years agoMerge branch 'PHP-7.3' into PHP-7.4
Jakub Zelenka [Mon, 13 May 2019 17:51:41 +0000 (18:51 +0100)]
Merge branch 'PHP-7.3' into PHP-7.4

6 years agoMerge branch 'PHP-7.2' into PHP-7.3
Jakub Zelenka [Mon, 13 May 2019 17:51:05 +0000 (18:51 +0100)]
Merge branch 'PHP-7.2' into PHP-7.3

6 years agoAdd ping to the fpm test for bug #77934
Jakub Zelenka [Mon, 13 May 2019 17:47:43 +0000 (18:47 +0100)]
Add ping to the fpm test for bug #77934

6 years agoMerge branch 'PHP-7.4'
Nikita Popov [Mon, 13 May 2019 12:43:10 +0000 (14:43 +0200)]
Merge branch 'PHP-7.4'

6 years agoImplement spread operator in arrays
CHU Zhaowei [Sat, 6 Oct 2018 14:04:41 +0000 (22:04 +0800)]
Implement spread operator in arrays

RFC: https://wiki.php.net/rfc/spread_operator_for_array

Closes GH-3640.

6 years agoMerge branch 'PHP-7.4'
Dmitry Stogov [Mon, 13 May 2019 12:16:28 +0000 (15:16 +0300)]
Merge branch 'PHP-7.4'

* PHP-7.4:
  Check for supported libffi ABI

6 years agoCheck for supported libffi ABI
Dmitry Stogov [Mon, 13 May 2019 12:15:51 +0000 (15:15 +0300)]
Check for supported libffi ABI

6 years agoMerge branch 'PHP-7.4'
Christoph M. Becker [Mon, 13 May 2019 11:11:40 +0000 (13:11 +0200)]
Merge branch 'PHP-7.4'

* PHP-7.4:
  Fix #78003: strip_tags output change since PHP 7.3

6 years agoMerge branch 'PHP-7.3' into PHP-7.4
Christoph M. Becker [Mon, 13 May 2019 11:11:07 +0000 (13:11 +0200)]
Merge branch 'PHP-7.3' into PHP-7.4

* PHP-7.3:
  Fix #78003: strip_tags output change since PHP 7.3

6 years agoFix #78003: strip_tags output change since PHP 7.3
Christoph M. Becker [Mon, 13 May 2019 11:10:24 +0000 (13:10 +0200)]
Fix #78003: strip_tags output change since PHP 7.3

A refactoring of the strip tags state machine[1] missed the special
treatment of `depth > 0` when a `>` is encountered in state 2 or 3.  We
re-add it for BC reasons.

[1] <http://git.php.net/?p=php-src.git;a=commit;h=5cf64742773ddbf9af69d962a4d12b567fcf0084>

6 years agoMerge branch 'PHP-7.4'
Dmitry Stogov [Mon, 13 May 2019 10:34:07 +0000 (13:34 +0300)]
Merge branch 'PHP-7.4'

* PHP-7.4:
  ARM64 may be big endian

6 years agoARM64 may be big endian
Dmitry Stogov [Mon, 13 May 2019 10:33:03 +0000 (13:33 +0300)]
ARM64 may be big endian

6 years agoMerge branch 'PHP-7.4'
Dmitry Stogov [Mon, 13 May 2019 09:36:49 +0000 (12:36 +0300)]
Merge branch 'PHP-7.4'

* PHP-7.4:
  Load 8 bytes at a time in hash_func. (Sebastian Pop)

6 years agoLoad 8 bytes at a time in hash_func. (Sebastian Pop)
Dmitry Stogov [Mon, 13 May 2019 09:34:53 +0000 (12:34 +0300)]
Load 8 bytes at a time in hash_func. (Sebastian Pop)

6 years agoMerge branch 'PHP-7.4'
Nikita Popov [Mon, 13 May 2019 09:06:44 +0000 (11:06 +0200)]
Merge branch 'PHP-7.4'

6 years agoMerge branch 'PHP-7.3' into PHP-7.4
Nikita Popov [Mon, 13 May 2019 09:06:35 +0000 (11:06 +0200)]
Merge branch 'PHP-7.3' into PHP-7.4

6 years agoMerge branch 'PHP-7.2' into PHP-7.3
Nikita Popov [Mon, 13 May 2019 09:06:14 +0000 (11:06 +0200)]
Merge branch 'PHP-7.2' into PHP-7.3

6 years agoFix #77993: Wrong parse error for invalid hex literal on Windows
Theodore Brown [Thu, 9 May 2019 19:19:52 +0000 (14:19 -0500)]
Fix #77993: Wrong parse error for invalid hex literal on Windows

If a PHP file contains an invalid hex literal such as `0x_10`, the expected error
is `Parse error: syntax error, unexpected 'x_10' (T_STRING) in %s on line %d`.

This already worked correctly on Linux, but on Windows prior to this patch a different
error was produced: `Parse error: Invalid numeric literal in %s on line %d`.

6 years agoRequire semicolon after SAVE_CURL_ERROR()
GITSRC [Mon, 13 May 2019 08:21:46 +0000 (16:21 +0800)]
Require semicolon after SAVE_CURL_ERROR()

6 years agoMerge branch 'PHP-7.4'
Nikita Popov [Mon, 13 May 2019 08:52:00 +0000 (10:52 +0200)]
Merge branch 'PHP-7.4'

6 years agoSupport content_type stream context option in soap
Vincent JARDIN [Tue, 23 Apr 2019 21:10:38 +0000 (23:10 +0200)]
Support content_type stream context option in soap

Allows overriding the HTTP header using the HTTP context:

    $client = new SoapClient('http://url.wsdl&v=latest', [
      'stream_context' => stream_context_create([
        'http' => [
          'content_type' => 'foobarX',
        ],
      ]),
    ]);

6 years agoMerge branch 'PHP-7.4'
Christoph M. Becker [Mon, 13 May 2019 06:54:22 +0000 (08:54 +0200)]
Merge branch 'PHP-7.4'

* PHP-7.4:
  Deprecate and ignore $version parameter of curl_version()

6 years agoDeprecate and ignore $version parameter of curl_version()
Christoph M. Becker [Mon, 13 May 2019 06:53:41 +0000 (08:53 +0200)]
Deprecate and ignore $version parameter of curl_version()

`curl_version()`[1] (of ext/curl) makes `curl_version_info()`[2] (of
libcurl) available to PHP userland.  The latter requires to pass an
`age` argument which usually is `CURLVERSION_NOW`, so that the
information returned by the runtime matches the declarations used
during compile time.  For C programs it is simply necessary to pass
this information, and in rare occasions it might make sense to pass
something else than `CURLVERSION_NOW`.  curl.h notes:

| The 'CURLVERSION_NOW' is the symbolic name meant to be used by
| basically all programs ever that want to get version information.

For the PHP binding, using a newer `age` than available at compile time
will neither provide the PHP program more information, nor would using
an older `age` have tangible benefits.

We therefore deprecate the useless `$version` parameter, and if it is
passed nonetheless, we use `CURLVERSION_NOW` instead of the supplied
value, and raise a warning.

[1] <https://www.php.net/manual/en/function.curl-version.php>
[2] <https://curl.haxx.se/libcurl/c/curl_version_info.html>

6 years agoMerge branch 'PHP-7.4'
Peter Kokot [Mon, 13 May 2019 01:54:10 +0000 (03:54 +0200)]
Merge branch 'PHP-7.4'

* PHP-7.4:
  Convert CRLF to LF

6 years agoMerge branch 'PHP-7.3' into PHP-7.4
Peter Kokot [Mon, 13 May 2019 01:53:49 +0000 (03:53 +0200)]
Merge branch 'PHP-7.3' into PHP-7.4

* PHP-7.3:
  Convert CRLF to LF

6 years agoMerge branch 'PHP-7.2' into PHP-7.3
Peter Kokot [Mon, 13 May 2019 01:53:31 +0000 (03:53 +0200)]
Merge branch 'PHP-7.2' into PHP-7.3

* PHP-7.2:
  Convert CRLF to LF

6 years agoConvert CRLF to LF
Peter Kokot [Mon, 13 May 2019 01:51:00 +0000 (03:51 +0200)]
Convert CRLF to LF

These files are tracked with CRLF line endings in Git and can be
converted to LF. Neither are parts of tests or code itself.

6 years agoMerge branch 'PHP-7.4'
Peter Kokot [Mon, 13 May 2019 00:58:52 +0000 (02:58 +0200)]
Merge branch 'PHP-7.4'

* PHP-7.4:
  [ci skip] Remove outdated fastcgi info in favor of the manual

6 years ago[ci skip] Remove outdated fastcgi info in favor of the manual
Peter Kokot [Mon, 13 May 2019 00:57:20 +0000 (02:57 +0200)]
[ci skip] Remove outdated fastcgi info in favor of the manual