1
0
mirror of https://github.com/php/php-src.git synced 2026-04-23 16:08:35 +02:00
Commit Graph

112612 Commits

Author SHA1 Message Date
Peter Kokot 5ba4e55324 Merge branch 'PHP-7.4'
* PHP-7.4:
  Integrate libmbfl docs to README.md and LICENSE
2019-05-11 18:35:38 +02:00
Peter Kokot ab257ed320 Integrate libmbfl docs to README.md and LICENSE
- All credits, license info preserved, only merged together to not have
  to many places to edit.
- Changelogs integrated in the readme since they are not used anymore.
2019-05-11 18:29:30 +02:00
Peter Kokot 5b4514dee8 Merge branch 'PHP-7.4'
* PHP-7.4:
  Convert CRLF to LF in *.wsdl files
2019-05-11 17:17:40 +02:00
Peter Kokot 4e0e0b8152 Merge branch 'PHP-7.3' into PHP-7.4
* PHP-7.3:
  Convert CRLF to LF in *.wsdl files
2019-05-11 17:16:50 +02:00
Peter Kokot bec22af8d7 Merge branch 'PHP-7.2' into PHP-7.3
* PHP-7.2:
  Convert CRLF to LF in *.wsdl files
2019-05-11 17:15:08 +02:00
Peter Kokot b15bfb9129 Convert CRLF to LF in *.wsdl files
These EOL types are part of different environments and not part of the
tests themselves.
2019-05-11 17:12:28 +02:00
Peter Kokot 4b595655eb Merge branch 'PHP-7.4'
* PHP-7.4:
  Fix comment to match the future zts configuration option
2019-05-11 15:03:27 +02:00
Peter Kokot 8ef2121ee1 Fix comment to match the future zts configuration option 2019-05-11 15:03:17 +02:00
Peter Kokot d3924071c3 Merge branch 'PHP-7.4'
* PHP-7.4:
  Remove ffi README in favour of docs
2019-05-11 14:51:40 +02:00
Peter Kokot 4bfb86cdca Remove ffi README in favour of docs
- https://www.php.net/manual/en/book.ffi.php
- The FFI C parser is mentioned in the CONTRIBUTING.md file
2019-05-11 14:51:14 +02:00
Christoph M. Becker ac0e0c9a90 Merge branch 'PHP-7.4'
* PHP-7.4:
  Prevent race condition
2019-05-11 09:53:07 +02:00
Christoph M. Becker 330d773b3c Prevent race condition
This test may conflict with readdir_variation3.phpt otherwise.
2019-05-11 09:52:19 +02:00
Peter Kokot 9604e2f28f Merge branch 'PHP-7.4'
* PHP-7.4:
  Rename *.jpeg files to *.jpg
2019-05-11 03:28:11 +02:00
Peter Kokot a68e0767b3 Rename *.jpeg files to *.jpg
These file extensions are not part of these tests and *.jpg is more
common.
2019-05-11 03:22:19 +02:00
Peter Kokot 3539a902dc Merge branch 'PHP-7.4'
* PHP-7.4:
  Bump config.guess and config.sub
2019-05-11 00:25:31 +02:00
Peter Kokot e586d3f447 Bump config.guess and config.sub
```
wget -O config.guess 'https://git.savannah.gnu.org/gitweb/?p=config.git;a=blob_plain;f=config.guess;hb=HEAD'
wget -O config.sub 'https://git.savannah.gnu.org/gitweb/?p=config.git;a=blob_plain;f=config.sub;hb=HEAD'
```
2019-05-11 00:24:26 +02:00
Peter Kokot a3c88135d4 Merge branch 'PHP-7.4'
* PHP-7.4:
  Remove unused variables
2019-05-10 22:58:29 +02:00
Peter Kokot 313930a36a Remove unused variables 2019-05-10 22:58:14 +02:00
Christoph M. Becker a8a391a2f2 Merge branch 'PHP-7.4'
* PHP-7.4:
  Fix typo
  NEWS and UPGRADING for the scatter filter
2019-05-10 18:46:50 +02:00
Christoph M. Becker 1b0a33ec59 Merge branch 'PHP-7.3' into PHP-7.4
* PHP-7.3:
  Fix typo
2019-05-10 18:46:18 +02:00
Christoph M. Becker 49b5ffe48c Merge branch 'PHP-7.2' into PHP-7.3
* PHP-7.2:
  Fix typo
2019-05-10 18:44:47 +02:00
Christoph M. Becker 3759c6316d Fix typo
Since opcache.enable defaults to 1 anyway, this change is only
cosmetic.
2019-05-10 18:43:40 +02:00
Kalle Sommer Nielsen 7c92eb734f Merge branch 'master' of git.php.net:/php-src 2019-05-10 02:38:38 +03:00
Kalle Sommer Nielsen a2a84af4ed Merge branch 'PHP-7.4' of git.php.net:/php-src into PHP-7.4 2019-05-10 02:38:12 +03:00
Kalle Sommer Nielsen f13fdeadd6 NEWS and UPGRADING for the scatter filter 2019-05-10 02:37:02 +03:00
Kalle Sommer Nielsen 569e338104 Merge branch 'PHP-7.4'
* PHP-7.4:
  Implemented the gdScatter filter I wrote almost 10 years ago
2019-05-10 02:24:01 +03:00
Kalle Sommer Nielsen bcd11a1dfb Implemented the gdScatter filter I wrote almost 10 years ago
This filter is available as of libgd 2.1.0 which is our bare minimum for
external compilation of ext/gd.

The scatter filter works by iterating over all pixels in the image and
shifting them randomly based on two modifier (`plus` and `sub`) values:

dest_x = (int)(x + ((rand() % (plus - sub)) + sub));
dest_y = (int)(y + ((rand() % (plus - sub)) + sub));

Additionally the scatter filter also supports by only shifting pixels where
the current pixel being iterated is one or more colors, allowing the scatter
filter to only effect solid colors in part of an image.

Note, due to the nature of randomness and implementation, pixels who were
shifted ahead of iteration will be shifted once more and therefore the
bottom right of an image may contain a slight scatter effect due to this.
2019-05-10 02:23:40 +03:00
Peter Kokot 08e7e6ffe6 Merge branch 'PHP-7.4'
* PHP-7.4:
  Remove unused variable
2019-05-10 01:05:24 +02:00
Peter Kokot 1ab3704143 Remove unused variable 2019-05-10 01:05:19 +02:00
Peter Kokot 1e0a4ac10e Merge branch 'PHP-7.4'
* PHP-7.4:
  Remove dead code from configure.ac
2019-05-10 00:44:51 +02:00
Peter Kokot f7b62b115e Remove dead code from configure.ac
SAPI apache has been removed and now there is apache2handler so this
warning hasn't been used for a while.
2019-05-10 00:44:09 +02:00
Peter Kokot c90ea769fd Merge branch 'PHP-7.4'
* PHP-7.4:
  Disable checking for library in ext skeleton
2019-05-10 00:21:39 +02:00
Peter Kokot 8fc21d5cd6 Disable checking for library in ext skeleton 2019-05-10 00:21:09 +02:00
Peter Kokot 071acf7b84 Disable checking for library in the ext skeleton 2019-05-10 00:17:54 +02:00
George Wang 487ffb45d2 Merge branch 'PHP-7.4' 2019-05-09 18:16:09 -04:00
George Wang dc63b0e480 Merge branch 'PHP-7.3' into PHP-7.4 2019-05-09 18:15:48 -04:00
George Wang d2037b1bd4 Merge branch 'PHP-7.2' into PHP-7.3 2019-05-09 18:14:11 -04:00
George Wang af4143753f Updated LiteSpeed SAPI to 7.3.2 to allow request header value length up to 64K. 2019-05-09 18:13:25 -04:00
Peter Kokot 34bc920382 Merge branch 'PHP-7.4'
* PHP-7.4:
  Remove unused functions
2019-05-09 19:07:39 +02:00
Peter Kokot ec518aef10 Remove unused functions
- _get_zval_ptr_cv_deref_BP_VAR_UNSET
- _get_zval_ptr_cv_deref_BP_VAR_IS
- _get_zval_ptr_cv_deref_BP_VAR_RW
- _get_zval_ptr_cv_deref_BP_VAR_W
2019-05-09 19:07:24 +02:00
Christoph M. Becker bcefc345bd Merge branch 'PHP-7.4'
* PHP-7.4:
  Fix erroneous assertions
2019-05-09 16:57:23 +02:00
Christoph M. Becker d0d290d4aa Merge branch 'PHP-7.3' into PHP-7.4
* PHP-7.3:
  Fix erroneous assertions
2019-05-09 16:56:57 +02:00
Christoph M. Becker fd1ffa4692 Merge branch 'PHP-7.2' into PHP-7.3
* PHP-7.2:
  Fix erroneous assertions
2019-05-09 16:55:35 +02:00
Christoph M. Becker 27f168cf63 Fix erroneous assertions
Since PHP strings are binary safe (i.e. they may contain NUL bytes), we
must not assume that strlen()/wcslen() actually return the length of
the string.  Only if the given in_len is zero, it is safe to assert
this.
2019-05-09 16:54:11 +02:00
Nikita Popov 167d4bdb62 Merge branch 'PHP-7.4' 2019-05-09 16:05:58 +02:00
Hugh McMaster 0025a39b45 Update the extension template file to use PKG_CHECK_MODULES 2019-05-09 16:05:46 +02:00
Nikita Popov b8c2b43778 Merge branch 'PHP-7.4' 2019-05-09 14:35:25 +02:00
Nikita Popov d0a56f707f Fixed bug #71030
Make sure to always fetch the RHS of a list assignment first, instead
of special casing known self-assignments, which will not detect cases
using references correctly.

As a side-effect, it is no longer possible to do something like
byRef(list($x) = $y). This worked by accident previously, but only
if $y was a CV and the self-assignment case did not trigger.
However it shouldn't work for the same reason that byRef($x = $y)
doesn't. Conversely byRef(list(&$x) = $y) and byRef($x =& $y)
continue to be legal.
2019-05-09 14:31:39 +02:00
Nikita Popov 9f87831470 Merge branch 'PHP-7.4' 2019-05-09 12:36:33 +02:00
Nikita Popov 4b40a46bf1 Merge branch 'PHP-7.3' into PHP-7.4 2019-05-09 12:36:20 +02:00