]> granicus.if.org Git - php/log
php
6 years agoMerge branch 'PHP-7.4'
Peter Kokot [Sat, 11 May 2019 22:19:20 +0000 (00:19 +0200)]
Merge branch 'PHP-7.4'

* PHP-7.4:
  Use PKG_CHECK_MODULES to detect the systemd library

6 years agoUse PKG_CHECK_MODULES to detect the systemd library
Hugh McMaster [Fri, 10 May 2019 12:00:39 +0000 (22:00 +1000)]
Use PKG_CHECK_MODULES to detect the systemd library

6 years agoMerge branch 'PHP-7.4'
Jakub Zelenka [Sat, 11 May 2019 19:10:43 +0000 (20:10 +0100)]
Merge branch 'PHP-7.4'

6 years agoMerge branch 'PHP-7.3' into PHP-7.4
Jakub Zelenka [Sat, 11 May 2019 19:10:13 +0000 (20:10 +0100)]
Merge branch 'PHP-7.3' into PHP-7.4

6 years agoMerge branch 'PHP-7.2' into PHP-7.3
Jakub Zelenka [Sat, 11 May 2019 19:08:57 +0000 (20:08 +0100)]
Merge branch 'PHP-7.2' into PHP-7.3

6 years agoFix bug #77934 (php-fpm kill -USR2 not working)
Jakub Zelenka [Sat, 11 May 2019 19:07:39 +0000 (20:07 +0100)]
Fix bug #77934 (php-fpm kill -USR2 not working)

6 years agoMerge branch 'PHP-7.4'
Peter Kokot [Sat, 11 May 2019 19:06:22 +0000 (21:06 +0200)]
Merge branch 'PHP-7.4'

* PHP-7.4:
  Using PDO instead because of consistency

6 years agoUsing PDO instead because of consistency
peter279k [Sat, 11 May 2019 18:19:07 +0000 (02:19 +0800)]
Using PDO instead because of consistency

6 years agoMerge branch 'PHP-7.4'
Peter Kokot [Sat, 11 May 2019 18:29:36 +0000 (20:29 +0200)]
Merge branch 'PHP-7.4'

* PHP-7.4:
  list interfaces/adding just "binary" state status.

6 years agolist interfaces/adding just "binary" state status.
David Carlier [Sun, 27 Jan 2019 21:59:28 +0000 (21:59 +0000)]
list interfaces/adding just "binary" state status.

6 years agoMerge branch 'PHP-7.4'
Peter Kokot [Sat, 11 May 2019 17:53:20 +0000 (19:53 +0200)]
Merge branch 'PHP-7.4'

* PHP-7.4:
  Remove dead DEBUG_CFLAGS setting

6 years agoRemove dead DEBUG_CFLAGS setting
Peter Kokot [Sat, 11 May 2019 13:10:44 +0000 (15:10 +0200)]
Remove dead DEBUG_CFLAGS setting

The USE_MAINTAINER_MODE has been removed via
a4c484a4d85e01874653570b7829a248330eb9fb and
43ed9039494a7484c2e3997ceae191ed6b640a62

6 years agoMerge branch 'PHP-7.4'
Peter Kokot [Sat, 11 May 2019 17:48:13 +0000 (19:48 +0200)]
Merge branch 'PHP-7.4'

* PHP-7.4:
  Remove unused symbol definition
  Remove redundant memory.h file

6 years agoRemove unused symbol definition
Peter Kokot [Sat, 11 May 2019 11:18:25 +0000 (13:18 +0200)]
Remove unused symbol definition

6 years agoRemove redundant memory.h file
Peter Kokot [Sat, 11 May 2019 00:31:01 +0000 (02:31 +0200)]
Remove redundant memory.h file

The memory.h file is part of the pre-C89 era and is on today's systems
only a simple wrapper for including the final string.h header file.

6 years agoMerge branch 'PHP-7.4'
Peter Kokot [Sat, 11 May 2019 17:45:00 +0000 (19:45 +0200)]
Merge branch 'PHP-7.4'

* PHP-7.4:
  Simplify ext/mbstring/libmbfl/config.h creation

6 years agoSimplify ext/mbstring/libmbfl/config.h creation
Peter Kokot [Sat, 11 May 2019 00:26:29 +0000 (02:26 +0200)]
Simplify ext/mbstring/libmbfl/config.h creation

- The config.h.in is part of the standalone libmbfl library and it is
  forked and bundled.

6 years agoMerge branch 'PHP-7.4'
Peter Kokot [Sat, 11 May 2019 16:35:38 +0000 (18:35 +0200)]
Merge branch 'PHP-7.4'

* PHP-7.4:
  Integrate libmbfl docs to README.md and LICENSE

6 years agoIntegrate libmbfl docs to README.md and LICENSE
Peter Kokot [Sat, 11 May 2019 16:29:30 +0000 (18:29 +0200)]
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.

6 years agoMerge branch 'PHP-7.4'
Peter Kokot [Sat, 11 May 2019 15:17:40 +0000 (17:17 +0200)]
Merge branch 'PHP-7.4'

* PHP-7.4:
  Convert CRLF to LF in *.wsdl files

6 years agoMerge branch 'PHP-7.3' into PHP-7.4
Peter Kokot [Sat, 11 May 2019 15:16:50 +0000 (17:16 +0200)]
Merge branch 'PHP-7.3' into PHP-7.4

* PHP-7.3:
  Convert CRLF to LF in *.wsdl files

6 years agoMerge branch 'PHP-7.2' into PHP-7.3
Peter Kokot [Sat, 11 May 2019 15:15:08 +0000 (17:15 +0200)]
Merge branch 'PHP-7.2' into PHP-7.3

* PHP-7.2:
  Convert CRLF to LF in *.wsdl files

6 years agoConvert CRLF to LF in *.wsdl files
Peter Kokot [Sat, 11 May 2019 15:12:28 +0000 (17:12 +0200)]
Convert CRLF to LF in *.wsdl files

These EOL types are part of different environments and not part of the
tests themselves.

6 years agoMerge branch 'PHP-7.4'
Peter Kokot [Sat, 11 May 2019 13:03:27 +0000 (15:03 +0200)]
Merge branch 'PHP-7.4'

* PHP-7.4:
  Fix comment to match the future zts configuration option

6 years agoFix comment to match the future zts configuration option
Peter Kokot [Sat, 11 May 2019 13:03:17 +0000 (15:03 +0200)]
Fix comment to match the future zts configuration option

6 years agoMerge branch 'PHP-7.4'
Peter Kokot [Sat, 11 May 2019 12:51:40 +0000 (14:51 +0200)]
Merge branch 'PHP-7.4'

* PHP-7.4:
  Remove ffi README in favour of docs

6 years agoRemove ffi README in favour of docs
Peter Kokot [Wed, 8 May 2019 22:29:43 +0000 (00:29 +0200)]
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

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

* PHP-7.4:
  Prevent race condition

6 years agoPrevent race condition
Christoph M. Becker [Sat, 11 May 2019 07:51:36 +0000 (09:51 +0200)]
Prevent race condition

This test may conflict with readdir_variation3.phpt otherwise.

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

* PHP-7.4:
  Rename *.jpeg files to *.jpg

6 years agoRename *.jpeg files to *.jpg
Peter Kokot [Sat, 11 May 2019 01:22:19 +0000 (03:22 +0200)]
Rename *.jpeg files to *.jpg

These file extensions are not part of these tests and *.jpg is more
common.

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

* PHP-7.4:
  Bump config.guess and config.sub

6 years agoBump config.guess and config.sub
Peter Kokot [Fri, 10 May 2019 22:24:26 +0000 (00:24 +0200)]
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'
```

6 years agoMerge branch 'PHP-7.4'
Peter Kokot [Fri, 10 May 2019 20:58:29 +0000 (22:58 +0200)]
Merge branch 'PHP-7.4'

* PHP-7.4:
  Remove unused variables

6 years agoRemove unused variables
Peter Kokot [Fri, 10 May 2019 02:02:14 +0000 (04:02 +0200)]
Remove unused variables

6 years agoMerge branch 'PHP-7.4'
Christoph M. Becker [Fri, 10 May 2019 16:46:50 +0000 (18:46 +0200)]
Merge branch 'PHP-7.4'

* PHP-7.4:
  Fix typo
  NEWS and UPGRADING for the scatter filter

6 years agoMerge branch 'PHP-7.3' into PHP-7.4
Christoph M. Becker [Fri, 10 May 2019 16:46:18 +0000 (18:46 +0200)]
Merge branch 'PHP-7.3' into PHP-7.4

* PHP-7.3:
  Fix typo

6 years agoMerge branch 'PHP-7.2' into PHP-7.3
Christoph M. Becker [Fri, 10 May 2019 16:44:47 +0000 (18:44 +0200)]
Merge branch 'PHP-7.2' into PHP-7.3

* PHP-7.2:
  Fix typo

6 years agoFix typo
Christoph M. Becker [Fri, 10 May 2019 16:43:40 +0000 (18:43 +0200)]
Fix typo

Since opcache.enable defaults to 1 anyway, this change is only
cosmetic.

6 years agoMerge branch 'master' of git.php.net:/php-src
Kalle Sommer Nielsen [Thu, 9 May 2019 23:38:38 +0000 (02:38 +0300)]
Merge branch 'master' of git.php.net:/php-src

6 years agoMerge branch 'PHP-7.4' of git.php.net:/php-src into PHP-7.4
Kalle Sommer Nielsen [Thu, 9 May 2019 23:38:12 +0000 (02:38 +0300)]
Merge branch 'PHP-7.4' of git.php.net:/php-src into PHP-7.4

6 years agoNEWS and UPGRADING for the scatter filter
Kalle Sommer Nielsen [Thu, 9 May 2019 23:37:02 +0000 (02:37 +0300)]
NEWS and UPGRADING for the scatter filter

6 years agoMerge branch 'PHP-7.4'
Kalle Sommer Nielsen [Thu, 9 May 2019 23:24:01 +0000 (02:24 +0300)]
Merge branch 'PHP-7.4'

* PHP-7.4:
  Implemented the gdScatter filter I wrote almost 10 years ago

6 years agoImplemented the gdScatter filter I wrote almost 10 years ago
Kalle Sommer Nielsen [Thu, 9 May 2019 23:23:40 +0000 (02:23 +0300)]
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.

6 years agoMerge branch 'PHP-7.4'
Peter Kokot [Thu, 9 May 2019 23:05:24 +0000 (01:05 +0200)]
Merge branch 'PHP-7.4'

* PHP-7.4:
  Remove unused variable

6 years agoRemove unused variable
Peter Kokot [Thu, 9 May 2019 23:05:19 +0000 (01:05 +0200)]
Remove unused variable

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

* PHP-7.4:
  Remove dead code from configure.ac

6 years agoRemove dead code from configure.ac
Peter Kokot [Tue, 7 May 2019 02:05:14 +0000 (04:05 +0200)]
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.

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

* PHP-7.4:
  Disable checking for library in ext skeleton

6 years agoDisable checking for library in ext skeleton
Peter Kokot [Thu, 9 May 2019 22:21:09 +0000 (00:21 +0200)]
Disable checking for library in ext skeleton

6 years agoDisable checking for library in the ext skeleton
Peter Kokot [Thu, 9 May 2019 22:16:55 +0000 (00:16 +0200)]
Disable checking for library in the ext skeleton

6 years agoMerge branch 'PHP-7.4'
George Wang [Thu, 9 May 2019 22:16:09 +0000 (18:16 -0400)]
Merge branch 'PHP-7.4'

6 years agoMerge branch 'PHP-7.3' into PHP-7.4
George Wang [Thu, 9 May 2019 22:15:48 +0000 (18:15 -0400)]
Merge branch 'PHP-7.3' into PHP-7.4

6 years agoMerge branch 'PHP-7.2' into PHP-7.3
George Wang [Thu, 9 May 2019 22:14:11 +0000 (18:14 -0400)]
Merge branch 'PHP-7.2' into PHP-7.3

6 years agoUpdated LiteSpeed SAPI to 7.3.2 to allow request header value length up to 64K.
George Wang [Thu, 9 May 2019 22:13:25 +0000 (18:13 -0400)]
Updated LiteSpeed SAPI to 7.3.2 to allow request header value length up to 64K.

6 years agoMerge branch 'PHP-7.4'
Peter Kokot [Thu, 9 May 2019 17:07:39 +0000 (19:07 +0200)]
Merge branch 'PHP-7.4'

* PHP-7.4:
  Remove unused functions

6 years agoRemove unused functions
Peter Kokot [Thu, 9 May 2019 02:33:13 +0000 (04:33 +0200)]
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

6 years agoMerge branch 'PHP-7.4'
Christoph M. Becker [Thu, 9 May 2019 14:57:23 +0000 (16:57 +0200)]
Merge branch 'PHP-7.4'

* PHP-7.4:
  Fix erroneous assertions

6 years agoMerge branch 'PHP-7.3' into PHP-7.4
Christoph M. Becker [Thu, 9 May 2019 14:56:57 +0000 (16:56 +0200)]
Merge branch 'PHP-7.3' into PHP-7.4

* PHP-7.3:
  Fix erroneous assertions

6 years agoMerge branch 'PHP-7.2' into PHP-7.3
Christoph M. Becker [Thu, 9 May 2019 14:55:35 +0000 (16:55 +0200)]
Merge branch 'PHP-7.2' into PHP-7.3

* PHP-7.2:
  Fix erroneous assertions

6 years agoFix erroneous assertions
Christoph M. Becker [Thu, 9 May 2019 14:54:11 +0000 (16:54 +0200)]
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.

6 years agoMerge branch 'PHP-7.4'
Nikita Popov [Thu, 9 May 2019 14:05:58 +0000 (16:05 +0200)]
Merge branch 'PHP-7.4'

6 years agoUpdate the extension template file to use PKG_CHECK_MODULES
Hugh McMaster [Sun, 5 May 2019 13:25:40 +0000 (23:25 +1000)]
Update the extension template file to use PKG_CHECK_MODULES

6 years agoMerge branch 'PHP-7.4'
Nikita Popov [Thu, 9 May 2019 12:35:25 +0000 (14:35 +0200)]
Merge branch 'PHP-7.4'

6 years agoFixed bug #71030
Nikita Popov [Thu, 9 May 2019 12:19:53 +0000 (14:19 +0200)]
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.

6 years agoMerge branch 'PHP-7.4'
Nikita Popov [Thu, 9 May 2019 10:36:33 +0000 (12:36 +0200)]
Merge branch 'PHP-7.4'

6 years agoMerge branch 'PHP-7.3' into PHP-7.4
Nikita Popov [Thu, 9 May 2019 10:36:20 +0000 (12:36 +0200)]
Merge branch 'PHP-7.3' into PHP-7.4

6 years agoMerge branch 'PHP-7.2' into PHP-7.3
Nikita Popov [Thu, 9 May 2019 10:34:46 +0000 (12:34 +0200)]
Merge branch 'PHP-7.2' into PHP-7.3

6 years agoFixed bug #75186
Nikita Popov [Thu, 9 May 2019 10:29:33 +0000 (12:29 +0200)]
Fixed bug #75186

6 years agoMerge branch 'PHP-7.4'
Christoph M. Becker [Thu, 9 May 2019 10:16:48 +0000 (12:16 +0200)]
Merge branch 'PHP-7.4'

* PHP-7.4:
  Fix log_verbosity_bug.phpt

6 years agoMerge branch 'PHP-7.3' into PHP-7.4
Christoph M. Becker [Thu, 9 May 2019 10:16:16 +0000 (12:16 +0200)]
Merge branch 'PHP-7.3' into PHP-7.4

* PHP-7.3:
  Fix log_verbosity_bug.phpt

6 years agoMerge branch 'PHP-7.2' into PHP-7.3
Christoph M. Becker [Thu, 9 May 2019 10:15:32 +0000 (12:15 +0200)]
Merge branch 'PHP-7.2' into PHP-7.3

* PHP-7.2:
  Fix log_verbosity_bug.phpt

6 years agoFix log_verbosity_bug.phpt
Christoph M. Becker [Thu, 9 May 2019 10:15:00 +0000 (12:15 +0200)]
Fix log_verbosity_bug.phpt

This test may fail on Windows due to the file cache fallback.  We
ensure that this will not happen.

6 years agoMerge branch 'PHP-7.4'
Nikita Popov [Thu, 9 May 2019 10:03:29 +0000 (12:03 +0200)]
Merge branch 'PHP-7.4'

6 years agoFixed bug #77951
Nikita Popov [Thu, 9 May 2019 10:02:16 +0000 (12:02 +0200)]
Fixed bug #77951

Treat singleton references as non-references in ReflectionReference
and return null for them.

6 years agoMerge branch 'PHP-7.4'
Peter Kokot [Wed, 8 May 2019 20:02:49 +0000 (22:02 +0200)]
Merge branch 'PHP-7.4'

* PHP-7.4:
  Remove unused functions

6 years agoRemove unused functions
Peter Kokot [Tue, 7 May 2019 01:07:21 +0000 (03:07 +0200)]
Remove unused functions

- zend_mm_bitset_find_zero
- zend_mm_bitset_find_one
- zend_mm_bitset_find_zero_and_set
- zend_is_by_ref_func_arg_fetch

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

* PHP-7.4:
  Remove redundant example/test libsodium.php file

6 years agoRemove redundant example/test libsodium.php file
Peter Kokot [Mon, 6 May 2019 00:10:06 +0000 (02:10 +0200)]
Remove redundant example/test libsodium.php file

6 years agoMerge branch 'PHP-7.4'
Peter Kokot [Wed, 8 May 2019 19:59:02 +0000 (21:59 +0200)]
Merge branch 'PHP-7.4'

* PHP-7.4:
  Remove unused example/test fileinfo.php script

6 years agoRemove unused example/test fileinfo.php script
Peter Kokot [Sun, 5 May 2019 23:48:50 +0000 (01:48 +0200)]
Remove unused example/test fileinfo.php script

6 years agoMerge branch 'PHP-7.4'
Peter Kokot [Wed, 8 May 2019 19:56:10 +0000 (21:56 +0200)]
Merge branch 'PHP-7.4'

* PHP-7.4:
  Remove example PHP script from FFI

6 years agoRemove example PHP script from FFI
Peter Kokot [Sun, 5 May 2019 23:40:15 +0000 (01:40 +0200)]
Remove example PHP script from FFI

FFI README.md already includes the PHP example with more information.

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

* PHP-7.4:
  Remove vcsclean script

6 years agoRemove vcsclean script
Peter Kokot [Sat, 4 May 2019 15:28:24 +0000 (17:28 +0200)]
Remove vcsclean script

The vcsclean script is really only a wrapper for a git clean command.
Developers should use the more proper and clear native Git command
directly instead:
`git clean -Xfd`

6 years agoMerge branch 'PHP-7.4'
Christoph M. Becker [Wed, 8 May 2019 17:26:30 +0000 (19:26 +0200)]
Merge branch 'PHP-7.4'

* PHP-7.4:
  Add {TMP} placeholder for PHPT INI sections

6 years agoMerge branch 'PHP-7.3' into PHP-7.4
Christoph M. Becker [Wed, 8 May 2019 17:26:02 +0000 (19:26 +0200)]
Merge branch 'PHP-7.3' into PHP-7.4

* PHP-7.3:
  Add {TMP} placeholder for PHPT INI sections

6 years agoMerge branch 'PHP-7.2' into PHP-7.3
Christoph M. Becker [Wed, 8 May 2019 17:22:21 +0000 (19:22 +0200)]
Merge branch 'PHP-7.2' into PHP-7.3

* PHP-7.2:
  Add {TMP} placeholder for PHPT INI sections

6 years agoAdd {TMP} placeholder for PHPT INI sections
Christoph M. Becker [Wed, 8 May 2019 15:54:02 +0000 (17:54 +0200)]
Add {TMP} placeholder for PHPT INI sections

Several tests use `/tmp` in the `--INI--` section, but this is not
portable.  We therefore introduce the `{TMP}` placeholder which
evaluates to the system's temporary directory using
`sys_get_temp_dir()`.

We also remove the doubtful `strpos()` optimization.

6 years agoMerge branch 'PHP-7.4'
Nikita Popov [Wed, 8 May 2019 15:06:34 +0000 (17:06 +0200)]
Merge branch 'PHP-7.4'

6 years agoUse fast zpp for ReflectionClass constructor
Nikita Popov [Wed, 8 May 2019 15:04:28 +0000 (17:04 +0200)]
Use fast zpp for ReflectionClass constructor

At this point zpp overhead makes up a significant part of this
function.

6 years agoMerge branch 'PHP-7.4'
Dmitry Stogov [Wed, 8 May 2019 13:48:42 +0000 (16:48 +0300)]
Merge branch 'PHP-7.4'

* PHP-7.4:
  Improve PHP hash function. See Daniel Lemire's blog post https://lemire.me/blog/2016/07/21/accelerating-php-hashing-by-unoptimizing-it/

6 years agoImprove PHP hash function.
Dmitry Stogov [Wed, 8 May 2019 13:43:54 +0000 (16:43 +0300)]
Improve PHP hash function.
See Daniel Lemire's blog post https://lemire.me/blog/2016/07/21/accelerating-php-hashing-by-unoptimizing-it/

6 years agoMerge branch 'PHP-7.4'
Nikita Popov [Wed, 8 May 2019 13:44:29 +0000 (15:44 +0200)]
Merge branch 'PHP-7.4'

6 years agoOptimize $name/$class property population in reflection
Nikita Popov [Wed, 8 May 2019 13:30:53 +0000 (15:30 +0200)]
Optimize $name/$class property population in reflection

Instead of going through write_property, directly assign to the
respective property slot.

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

6 years agoRefactor inheritance type check implementation
Nikita Popov [Wed, 8 May 2019 10:11:12 +0000 (12:11 +0200)]
Refactor inheritance type check implementation

Extract the self/parent name resolution code and drop unnecessary
string copies/releases. Store the fe/proto types in local variables.

6 years agoMerge branch 'PHP-7.4'
Nikita Popov [Wed, 8 May 2019 09:51:50 +0000 (11:51 +0200)]
Merge branch 'PHP-7.4'

6 years agoDeduplicate inheritance type check implementation
Nikita Popov [Wed, 8 May 2019 09:24:08 +0000 (11:24 +0200)]
Deduplicate inheritance type check implementation

Make the check covariant (insofar as it is allowed now, i.e.
nullability and iterable) and call it with appropriate argument
order for both parameter and return types.

This makes it simpler to extend to full variance support.

6 years agoMerge branch 'PHP-7.4'
Nikita Popov [Wed, 8 May 2019 09:38:10 +0000 (11:38 +0200)]
Merge branch 'PHP-7.4'