]> granicus.if.org Git - php/log
php
6 years agoMerge branch 'PHP-7.3'
Nikita Popov [Tue, 18 Sep 2018 10:39:13 +0000 (12:39 +0200)]
Merge branch 'PHP-7.3'

6 years agoRemove invalid free
Nikita Popov [Tue, 18 Sep 2018 10:37:12 +0000 (12:37 +0200)]
Remove invalid free

The initialization of buffer has been moved further down in 7.3,
so this free is no longer legal.

6 years agoDrop --without-libzip option from Travis
Nikita Popov [Mon, 17 Sep 2018 15:24:06 +0000 (17:24 +0200)]
Drop --without-libzip option from Travis

We need to build against the system libzip now.

Also add an UPGRADING note.

6 years agoRemove bundled libzip
Nikita Popov [Mon, 17 Sep 2018 15:19:12 +0000 (17:19 +0200)]
Remove bundled libzip

6 years agodrop support for bundled libzip (linux)
Remi Collet [Thu, 7 Sep 2017 12:26:19 +0000 (14:26 +0200)]
drop support for bundled libzip (linux)

6 years agoDrop unused variable
Nikita Popov [Mon, 17 Sep 2018 19:34:31 +0000 (21:34 +0200)]
Drop unused variable

6 years agoRemove legacy add_*_unset() macros
Nikita Popov [Mon, 17 Sep 2018 19:27:25 +0000 (21:27 +0200)]
Remove legacy add_*_unset() macros

These have been superseded by add_*_null().

6 years agoRemove add_method() macro
Nikita Popov [Mon, 17 Sep 2018 19:25:01 +0000 (21:25 +0200)]
Remove add_method() macro

Which uses add_assoc_function(), which doesn't exist anymore...

6 years agoMerge branch 'PHp-7.3'
Anatol Belski [Tue, 18 Sep 2018 08:47:34 +0000 (10:47 +0200)]
Merge branch 'PHp-7.3'

* PHp-7.3:
  Add spectre switch for suitable vc14 versions

6 years agoMerge branch 'PHP-7.2' into PHP-7.3
Anatol Belski [Tue, 18 Sep 2018 08:46:44 +0000 (10:46 +0200)]
Merge branch 'PHP-7.2' into PHP-7.3

* PHP-7.2:
  Add spectre switch for suitable vc14 versions

6 years agoMerge branch 'PHP-7.1' into PHP-7.2
Anatol Belski [Tue, 18 Sep 2018 08:45:18 +0000 (10:45 +0200)]
Merge branch 'PHP-7.1' into PHP-7.2

* PHP-7.1:
  Add spectre switch for suitable vc14 versions

6 years agoAdd spectre switch for suitable vc14 versions
Anatol Belski [Tue, 18 Sep 2018 08:43:52 +0000 (10:43 +0200)]
Add spectre switch for suitable vc14 versions

6 years agoReplace ZEND_ACC_ANON_BOUND, ZEND_ACC_UNRESOLVED_PARENT and ZEND_ACC_UNRESOLVED_INTER...
Dmitry Stogov [Tue, 18 Sep 2018 08:41:40 +0000 (11:41 +0300)]
Replace ZEND_ACC_ANON_BOUND, ZEND_ACC_UNRESOLVED_PARENT and ZEND_ACC_UNRESOLVED_INTERFACES with single ZEND_ACC_LINKED.

6 years agoRemove HAVE_STDARG_H
Peter Kokot [Mon, 17 Sep 2018 02:39:01 +0000 (04:39 +0200)]
Remove HAVE_STDARG_H

The C89 standard and later defines the `<stdarg.h>` header as part of
the standard headers [1]. On current systems it is always present and
can be included unconditionally.

Checking for presence and functionality of the `<stdarg.h>` header and
variadic function is not relevant anymore on current systems since this
is always available.

Also Autoconf suggests relying on at least C89 or above [2] and [3].

The following files were regenerated with re2c 1.0.3:
- Zend/zend_language_scanner.c
- Zend/zend_language_scanner_defs.h

Refs:
[1] https://port70.net/~nsz/c/c89/c89-draft.html#4.1.2
[2] http://git.savannah.gnu.org/cgit/autoconf.git/tree/lib/autoconf/headers.m4
[3] https://www.gnu.org/software/autoconf/manual/autoconf-2.69/autoconf.html

6 years agoRemove HAVE_STRING_H
Peter Kokot [Sat, 15 Sep 2018 23:14:08 +0000 (01:14 +0200)]
Remove HAVE_STRING_H

The C89 standard and later defines the `<string.h>` header as part of
the standard headers [1] and on current systems it is always present.

Code included also `<strings.h>` header as an alterinative in some
files. This kind of check was relevant on some older systems where the
`<strings.h>` file included definitions for the C89 compliant
`<string.h>`. Today such alternative check is not required anymore. The
`<strings.h>` file is part of the POSIX definition these days.

Also Autoconf suggests doing this and relying on C89 or above [2] and [3].

This patch also cleans few unused `<strings.h>` inclusions in the libmbfl.

[1]: https://port70.net/~nsz/c/c89/c89-draft.html#4.1.2
[2]: http://git.savannah.gnu.org/cgit/autoconf.git/tree/lib/autoconf/headers.m4
[3]: https://www.gnu.org/software/autoconf/manual/autoconf-2.69/autoconf.html

6 years agoFix config.guess and config.sub files in .gitignore
Peter Kokot [Tue, 18 Sep 2018 03:21:19 +0000 (05:21 +0200)]
Fix config.guess and config.sub files in .gitignore

Files `config.guess` and `config.sub` are committed in the php-src
repository so these don't need to be ignored for the root directory.
For the extensions these can be ignored in case of building extension
inside the php-src with phpize.

6 years agoMerge branch 'PHP-7.3'
Pierrick Charron [Tue, 18 Sep 2018 00:31:36 +0000 (20:31 -0400)]
Merge branch 'PHP-7.3'

6 years agoMerge branch 'PHP-7.2' into PHP-7.3
Pierrick Charron [Tue, 18 Sep 2018 00:31:07 +0000 (20:31 -0400)]
Merge branch 'PHP-7.2' into PHP-7.3

6 years agoMerge branch 'PHP-7.1' into PHP-7.2
Pierrick Charron [Tue, 18 Sep 2018 00:30:18 +0000 (20:30 -0400)]
Merge branch 'PHP-7.1' into PHP-7.2

6 years agoFix 76480: Use curl_multi_wait() so that timeouts are respected
Pierrick Charron [Tue, 18 Sep 2018 00:28:44 +0000 (20:28 -0400)]
Fix 76480: Use curl_multi_wait() so that timeouts are respected

6 years agoRemove my_estrdup() and my_efree() macros
Nikita Popov [Mon, 17 Sep 2018 18:52:12 +0000 (20:52 +0200)]
Remove my_estrdup() and my_efree() macros

Replace the single use of my_efree().

6 years agoRemove ZEND_EARLY_BINDING_* constants
Nikita Popov [Mon, 17 Sep 2018 18:46:46 +0000 (20:46 +0200)]
Remove ZEND_EARLY_BINDING_* constants

It seems like these were never actually used.

6 years agoRemove ZEND_OBJECTS_STORE_HANDLERS macro
Nikita Popov [Mon, 17 Sep 2018 16:38:50 +0000 (18:38 +0200)]
Remove ZEND_OBJECTS_STORE_HANDLERS macro

Object store handlers are no longer a thing since PHP 7.

6 years agoRemove unused ZEND_CT and ZEND_RT constants
Nikita Popov [Mon, 17 Sep 2018 16:36:08 +0000 (18:36 +0200)]
Remove unused ZEND_CT and ZEND_RT constants

6 years agoRemove unused HAVE_BROKEN_GLIBC_FOPEN_APPEND
Nikita Popov [Mon, 17 Sep 2018 16:26:50 +0000 (18:26 +0200)]
Remove unused HAVE_BROKEN_GLIBC_FOPEN_APPEND

This has not been used since PHP 5.0.

6 years agoUse different loop terminating conditions
Dmitry Stogov [Mon, 17 Sep 2018 17:39:28 +0000 (20:39 +0300)]
Use different loop terminating conditions

6 years agoMerge branch 'PHP-7.3'
Dmitry Stogov [Mon, 17 Sep 2018 17:21:05 +0000 (20:21 +0300)]
Merge branch 'PHP-7.3'

* PHP-7.3:
  Allow switching back to Zend MM heap.

6 years agoAllow switching back to Zend MM heap.
Dmitry Stogov [Mon, 17 Sep 2018 17:20:13 +0000 (20:20 +0300)]
Allow switching back to Zend MM heap.

6 years agoRemove __USE_GNU defines
Nikita Popov [Mon, 17 Sep 2018 15:51:00 +0000 (17:51 +0200)]
Remove __USE_GNU defines

This is an internal glibc macro, it should not be necessary to use
it if we already define _GNU_SOURCE (we do through
AC_USE_SYSTEM_EXTENSIONS). Needing to use __USE_GNU generally
indicates an inclusion order problem (libc header included before
config.h).

6 years agoDon't export anything in php_sysvmsg.h
Nikita Popov [Mon, 17 Sep 2018 15:49:09 +0000 (17:49 +0200)]
Don't export anything in php_sysvmsg.h

These are all only relevant for the implementation.

6 years agoSet correct error code and adapt test
Anatol Belski [Mon, 17 Sep 2018 15:18:39 +0000 (17:18 +0200)]
Set correct error code and adapt test

6 years agoSwitch Travis build to Xenial
Nikita Popov [Mon, 17 Sep 2018 11:37:33 +0000 (13:37 +0200)]
Switch Travis build to Xenial

Also explicitly start the mysql and pgsql services, as these are
no longer running by default.

6 years agoFix getColumnMeta() test
Nikita Popov [Mon, 17 Sep 2018 14:36:05 +0000 (16:36 +0200)]
Fix getColumnMeta() test

Newer MySQL versions are stricter about invalid values. Three issues
are fixed:

* Don't use negative values with ZEROFILL. ZEROFILL implies UNSIGNED.
* Use a legal TIMESTAMP value. TIMESTAMP does not accept a Unix timestamp.
* Specify BIGINT values as strings, to avoid overflows.

6 years agoDon't install libt1-dev on travis
Nikita Popov [Mon, 17 Sep 2018 11:47:35 +0000 (13:47 +0200)]
Don't install libt1-dev on travis

Support for libt1 has been removed from ext/gd in PHP 7.0 by
7dcfdbbee431c93c52605e1df323d18e0c6088e9, so we no longer need
to install this package. It is also no longer available on newer
Ubuntu versions.

6 years agoRemove unused MREMAP_MAYMOVE compatibility define
Nikita Popov [Mon, 17 Sep 2018 10:18:09 +0000 (12:18 +0200)]
Remove unused MREMAP_MAYMOVE compatibility define

6 years agoFix error setting, both errors are needed
Anatol Belski [Mon, 17 Sep 2018 11:33:49 +0000 (13:33 +0200)]
Fix error setting, both errors are needed

6 years agoRemove unused HAVE_MEM_MMAP_ANON and HAVE_MEM_MMAP_ZERO checks
Nikita Popov [Mon, 17 Sep 2018 10:03:45 +0000 (12:03 +0200)]
Remove unused HAVE_MEM_MMAP_ANON and HAVE_MEM_MMAP_ZERO checks

These haven't been used since the MM rewrite in PHP 7.0. Nowadays
we assume that either MAP_ANON or MAP_ANONYMOUS is available.

6 years agoRemove __GNUC__ guard around stddef.h include
Nikita Popov [Mon, 17 Sep 2018 09:54:22 +0000 (11:54 +0200)]
Remove __GNUC__ guard around stddef.h include

HAVE_STDDEF_H guards have been removed by
6c1ff61a368a26c8f2cbf383aa8a26fc30cf59ef, because the header is
always available in C89. This removes a __GNUC__ guard for the
same header.

6 years agoFix localized error messages and memory leaks
Anatol Belski [Mon, 17 Sep 2018 07:48:33 +0000 (09:48 +0200)]
Fix localized error messages and memory leaks

The FormatMessage API needs to LocalFree the delivered error messages.
In cases where messages are delivered in non ASCII compatible encoding,
the messages might be unreadable. This aligns the error message encoding
with the encoding settings in PHP, the focus is UTF-8 as default.

Initialize error buffer

Avoid code duplication

6 years agoDon't use xml resource in openssl test
Nikita Popov [Mon, 17 Sep 2018 08:20:26 +0000 (10:20 +0200)]
Don't use xml resource in openssl test

Instead use a file resource, removing the dependency on ext/xml.

6 years agoRemove PHP_XML_INTERNAL defines
Nikita Popov [Mon, 17 Sep 2018 08:13:18 +0000 (10:13 +0200)]
Remove PHP_XML_INTERNAL defines

This macro is no longer used.

6 years agoPerform final GC before the object store is freed
Nikita Popov [Sun, 16 Sep 2018 11:42:00 +0000 (13:42 +0200)]
Perform final GC before the object store is freed

free_object_storage intentionally does not free the object allocations
to make sure that they show up as leaks. However, if the object is in
the GC root buffer, the later GC run may end up freeing the allocation,
hiding the leak.

Avoid this by moving the final GC run before free_object_storage, the
way it was done before fast_shutdown was integrated into core.

6 years agoRemove HAVE_STDIO_H
Peter Kokot [Mon, 17 Sep 2018 00:00:51 +0000 (02:00 +0200)]
Remove HAVE_STDIO_H

The `<stdio.h>` header file is part of the standard C89 headers [1]
and on current systems can be included unconditionally.

Since PHP requires at least C89 or greater, the `HAVE_STDIO_H` symbol
defined by Autoconf [2] can be ommitted and simplifed.

Refs:
[1] https://port70.net/~nsz/c/c89/c89-draft.html#4.1.2
[2] https://git.savannah.gnu.org/cgit/autoconf.git/tree/lib/autoconf/headers.m4

6 years agoMake PHP development tools files executable
Peter Kokot [Sun, 16 Sep 2018 22:02:36 +0000 (00:02 +0200)]
Make PHP development tools files executable

This patch makes few remaining PHP development tools files
executable and adds a shebang to them.

The `#!/usr/bin/env php` shebang provides running the script via
`./script.php` and uses env to find PHP script location on the system.
At the same time it still provides running the script with a user
defined PHP location using `php script.php`. Shebang is not visible in
the output of the generated file.

6 years agoExplain why the test was skipped
Gabriel Caruso [Sun, 16 Sep 2018 20:31:06 +0000 (17:31 -0300)]
Explain why the test was skipped

6 years agoRemove HAVE_STDLIB_H
Peter Kokot [Sat, 15 Sep 2018 21:59:45 +0000 (23:59 +0200)]
Remove HAVE_STDLIB_H

The C89 and later standard defines the `<stdlib.h>` header as part of
the standard headers [1] and on current systems it is always present
and the `HAVE_STDLIB_H` symbol can be removed.

Also Autoconf suggests doing this and relying on C89 or above [2] and [3].

[1] https://port70.net/~nsz/c/c89/c89-draft.html#4.1.2
[2] http://git.savannah.gnu.org/cgit/autoconf.git/tree/lib/autoconf/headers.m4
[3] https://www.gnu.org/software/autoconf/manual/autoconf-2.69/autoconf.html

6 years agoRemove HAVE_SYS_VARARGS_H
Peter Kokot [Sun, 16 Sep 2018 01:31:24 +0000 (03:31 +0200)]
Remove HAVE_SYS_VARARGS_H

Outdated systems used to provide the `<varargs.h>` and in case of PHP
`<sys/varargs.h>`. [1]

Current systems have `<stdarg.h>` which is also a C89 standard header
and systems have it always present. [2]

[1] https://en.wikipedia.org/wiki/Stdarg.h#varargs.h
[2] https://port70.net/~nsz/c/c89/c89-draft.html#4.1.2

6 years agoUse EXPECT instead of EXPECTF when possible
Gabriel Caruso [Thu, 16 Aug 2018 02:52:44 +0000 (23:52 -0300)]
Use EXPECT instead of EXPECTF when possible

6 years agoRemove unnecessary destroy wrappers
Nikita Popov [Sun, 16 Sep 2018 15:14:46 +0000 (17:14 +0200)]
Remove unnecessary destroy wrappers

There used to be needed due to ZEND_FILE_LINE in debug builds.
As the argument is no longer passed, we don't need the wrappers
either.

6 years agoRemove unused ZEND_FILE_LINE in i_zval_ptr_dtor
Nikita Popov [Sun, 16 Sep 2018 15:12:44 +0000 (17:12 +0200)]
Remove unused ZEND_FILE_LINE in i_zval_ptr_dtor

6 years agoDon't hard-code object number in expectation
Christoph M. Becker [Sun, 16 Sep 2018 13:52:18 +0000 (15:52 +0200)]
Don't hard-code object number in expectation

6 years agoRemove checks for libxml < 2.6.11
Nikita Popov [Sun, 16 Sep 2018 09:32:18 +0000 (11:32 +0200)]
Remove checks for libxml < 2.6.11

These are below our minimum version requirement.

6 years agoRemove IS_EXT_MODULE defines
Nikita Popov [Sun, 16 Sep 2018 09:09:51 +0000 (11:09 +0200)]
Remove IS_EXT_MODULE defines

I'm not sure what this was used for, but it doesn't look to be
relevant anymore.

6 years agoMake ext/xml API private
Nikita Popov [Sun, 16 Sep 2018 09:07:40 +0000 (11:07 +0200)]
Make ext/xml API private

Also remove dead functions

6 years agoUpdate to SQLite 3.25.0
Christoph M. Becker [Sat, 15 Sep 2018 21:12:25 +0000 (23:12 +0200)]
Update to SQLite 3.25.0

6 years agoSilence ar warning
Richard Fussenegger [Fri, 12 Jan 2018 21:52:47 +0000 (22:52 +0100)]
Silence ar warning

6 years agoRevert "Implement #67331: Have parse_ini_file add empty entries"
Christoph M. Becker [Sat, 15 Sep 2018 15:08:58 +0000 (17:08 +0200)]
Revert "Implement #67331: Have parse_ini_file add empty entries"

This reverts commit 3f3e914df33793a36f51b4e44745d6a5aec4f685.

The commit broke some tests on Windows, and generally needs more
though.

6 years agoImplement #67331: Have parse_ini_file add empty entries
Christoph M. Becker [Tue, 28 Aug 2018 20:48:18 +0000 (22:48 +0200)]
Implement #67331: Have parse_ini_file add empty entries

Some INI processors allow to specify empty values by just giving the
key without the equals sign, for instance MySQL and Python.  It appears
to be sensible to add this possibility to our INI parser, so that it
can be used for such INI files as well.  We choose NULL as the value of
empty values.

This syntactical enhancement is a (minor) BC break, though, as can be
seen by the necessary change to bug49692.ini.  The “comment” formerly
has been simply ignored, but now it would be parsed as key with an
empty value.

This PR is based on Adam's former patch.

6 years agoChange default of $variant param of idn_to_ascii() and idn_to_utf8()
Christoph M. Becker [Sat, 15 Sep 2018 12:37:55 +0000 (14:37 +0200)]
Change default of $variant param of idn_to_ascii() and idn_to_utf8()

According to the “Deprecate and remove INTL_IDNA_VARIANT_2003” RFC[1],
we change the default of the $variant parameter of `idn_to_ascii()` and
`idn_to_utf8()` from `INTL_IDNA_VARIANT_2003` to
`INTL_IDNA_VARIANT_UTS46`.

[1] <https://wiki.php.net/rfc/deprecate-and-remove-intl_idna_variant_2003>

6 years agoRequire ICU ≥ 50.1
Christoph M. Becker [Thu, 6 Sep 2018 12:04:44 +0000 (14:04 +0200)]
Require ICU ≥ 50.1

Given that ICU is a set of lively developed libraries, that ICU 50.1
has been released on 2012-11-05, and PHP 7.4 is scheduled to be
released seven years after it, we consider it appropriate to ditch
these legacy versions.

Particularly, that would be a reasonable groundwork to implement part
two of the “Deprecate and remove INTL_IDNA_VARIANT_2003” RFC[1], namely
to default idn_to_ascii()'s and idn_to_utf8()'s $variant parameter to
INTL_IDNA_VARIANT_UTS46, which is not defined in ICU < 4.6.

See also the related discussion on internals@[2].

[1] <https://wiki.php.net/rfc/deprecate-and-remove-intl_idna_variant_2003>
[2] <http://news.php.net/php.internals/101626>ff

6 years agoMerge branch 'PHP-7.3'
Christoph M. Becker [Sat, 15 Sep 2018 11:25:49 +0000 (13:25 +0200)]
Merge branch 'PHP-7.3'

* PHP-7.3:
  Fix #76886: Can't build xmlrpc with expat

6 years agoMerge branch 'PHP-7.2' into PHP-7.3
Christoph M. Becker [Sat, 15 Sep 2018 11:24:05 +0000 (13:24 +0200)]
Merge branch 'PHP-7.2' into PHP-7.3

* PHP-7.2:
  Fix #76886: Can't build xmlrpc with expat

6 years agoFix #76886: Can't build xmlrpc with expat
Thomas Petazzoni [Thu, 5 Apr 2018 20:50:00 +0000 (22:50 +0200)]
Fix #76886: Can't build xmlrpc with expat

We fix it by including "php.h" in the HAVE_LIBEXPAT case.

6 years agoMerge branch 'PHP-7.3'
Dmitry Stogov [Fri, 14 Sep 2018 07:33:32 +0000 (10:33 +0300)]
Merge branch 'PHP-7.3'

* PHP-7.3:
  Fixed bug #76800 (foreach inconsistent if array modified during loop)

6 years agoMerge branch 'PHP-7.2' into PHP-7.3
Dmitry Stogov [Fri, 14 Sep 2018 07:32:31 +0000 (10:32 +0300)]
Merge branch 'PHP-7.2' into PHP-7.3

* PHP-7.2:
  Fixed bug #76800 (foreach inconsistent if array modified during loop)

6 years agoFixed bug #76800 (foreach inconsistent if array modified during loop)
Dmitry Stogov [Fri, 14 Sep 2018 07:28:31 +0000 (10:28 +0300)]
Fixed bug #76800 (foreach inconsistent if array modified during loop)

6 years agoMerge branch 'PHP-7.3'
Anatol Belski [Thu, 13 Sep 2018 17:28:02 +0000 (19:28 +0200)]
Merge branch 'PHP-7.3'

* PHP-7.3:
  Sync version for vc++ 15.9

6 years agoMerge branch 'PHP-7.2' into PHP-7.3
Anatol Belski [Thu, 13 Sep 2018 17:27:29 +0000 (19:27 +0200)]
Merge branch 'PHP-7.2' into PHP-7.3

* PHP-7.2:
  Sync version for vc++ 15.9

6 years agoMerge branch 'PHP-7.1' into PHP-7.2
Anatol Belski [Thu, 13 Sep 2018 17:26:49 +0000 (19:26 +0200)]
Merge branch 'PHP-7.1' into PHP-7.2

* PHP-7.1:
  Sync version for vc++ 15.9

6 years agoSync version for vc++ 15.9
Anatol Belski [Thu, 13 Sep 2018 17:25:23 +0000 (19:25 +0200)]
Sync version for vc++ 15.9

6 years agoRemove zend_check_private()
Dmitry Stogov [Thu, 13 Sep 2018 10:47:06 +0000 (13:47 +0300)]
Remove zend_check_private()

6 years agoMerge branch 'master' of git.php.net:php-src
Dmitry Stogov [Thu, 13 Sep 2018 10:38:27 +0000 (13:38 +0300)]
Merge branch 'master' of git.php.net:php-src

* 'master' of git.php.net:php-src:
  Fix a typo in a class catch in Phar

6 years agoSimplify __clone() visibility check (magic methods still don't respect ZEND_ACC_CHANGED).
Dmitry Stogov [Thu, 13 Sep 2018 10:36:09 +0000 (13:36 +0300)]
Simplify __clone() visibility check (magic methods still don't respect ZEND_ACC_CHANGED).

6 years agoFix a typo in a class catch in Phar
Tyson Andre [Sun, 9 Sep 2018 00:45:10 +0000 (20:45 -0400)]
Fix a typo in a class catch in Phar

6 years agoMake visibilty check in is_callable() to be consistent with zend_std_get_method()
Dmitry Stogov [Thu, 13 Sep 2018 09:24:59 +0000 (12:24 +0300)]
Make visibilty check in is_callable() to be consistent with zend_std_get_method()

6 years agoMerge branch 'PHP-7.3'
Anatol Belski [Thu, 13 Sep 2018 09:07:09 +0000 (11:07 +0200)]
Merge branch 'PHP-7.3'

* PHP-7.3:
  Backport changes for OpenSSL 1.1.1 CI integration

6 years agoMerge branch 'PHP-7.2' into PHP-7.3
Anatol Belski [Thu, 13 Sep 2018 09:06:47 +0000 (11:06 +0200)]
Merge branch 'PHP-7.2' into PHP-7.3

* PHP-7.2:
  Backport changes for OpenSSL 1.1.1 CI integration

6 years agoBackport changes for OpenSSL 1.1.1 CI integration
Anatol Belski [Wed, 12 Sep 2018 17:59:20 +0000 (19:59 +0200)]
Backport changes for OpenSSL 1.1.1 CI integration

Add debug message for failing test parts

(cherry picked from commit a45169a6ba54b13484d70cb474679c96347f779b)

Show all unmatched errors when test failed

(cherry picked from commit 70159652541c62b5f3bbb26da76b7e56987b2544)

More possibly colliding libs to remove from the test image

(cherry picked from commit 3008ad1a49210e4604522a987cbdd27a5a0a2c42)

Remove colliding file from CI image

(cherry picked from commit 6220d21c3420ff0d7366d410920ba5279fba3893)

Fix typo

(cherry picked from commit 24517d82cf8dc708d08bc77435ad418de4bdff4e)

6 years agoFix typo
Anatol Belski [Thu, 13 Sep 2018 08:06:49 +0000 (10:06 +0200)]
Fix typo

6 years agoRemove colliding file from CI image
Anatol Belski [Thu, 13 Sep 2018 08:05:27 +0000 (10:05 +0200)]
Remove colliding file from CI image

6 years agoSplit error code into "cold" functions and cleanup.
Dmitry Stogov [Thu, 13 Sep 2018 07:31:49 +0000 (10:31 +0300)]
Split error code into "cold" functions and cleanup.

6 years agoMicro-optimization (condition reordering)
Dmitry Stogov [Thu, 13 Sep 2018 06:31:38 +0000 (09:31 +0300)]
Micro-optimization (condition reordering)

6 years agotypo
Dmitry Stogov [Thu, 13 Sep 2018 05:49:21 +0000 (08:49 +0300)]
typo

6 years agoMore possibly colliding libs to remove from the test image
Anatol Belski [Wed, 12 Sep 2018 22:49:54 +0000 (00:49 +0200)]
More possibly colliding libs to remove from the test image

6 years agoMicro-optimization
Dmitry Stogov [Wed, 12 Sep 2018 22:41:19 +0000 (01:41 +0300)]
Micro-optimization

6 years agoAvoid unnecesury iterations over parent classes, in case of no overriden private...
Dmitry Stogov [Wed, 12 Sep 2018 20:47:52 +0000 (23:47 +0300)]
Avoid unnecesury iterations over parent classes, in case of no overriden private properties.

6 years agoShow all unmatched errors when test failed
Anatol Belski [Wed, 12 Sep 2018 20:27:30 +0000 (22:27 +0200)]
Show all unmatched errors when test failed

6 years agoAdd debug message for failing test parts
Anatol Belski [Wed, 12 Sep 2018 17:59:20 +0000 (19:59 +0200)]
Add debug message for failing test parts

6 years agoOptimize method/property visibility checks
Dmitry Stogov [Wed, 12 Sep 2018 15:59:12 +0000 (18:59 +0300)]
Optimize method/property visibility checks

6 years agoMerge branch 'PHP-7.3'
Anatol Belski [Wed, 12 Sep 2018 14:26:26 +0000 (16:26 +0200)]
Merge branch 'PHP-7.3'

* PHP-7.3:
  Improve error code matching

6 years agoMerge branch 'PHP-7.2' into PHP-7.3
Anatol Belski [Wed, 12 Sep 2018 14:25:39 +0000 (16:25 +0200)]
Merge branch 'PHP-7.2' into PHP-7.3

* PHP-7.2:
  Improve error code matching

6 years agoMerge branch 'PHP-7.1' into PHP-7.2
Anatol Belski [Wed, 12 Sep 2018 14:24:38 +0000 (16:24 +0200)]
Merge branch 'PHP-7.1' into PHP-7.2

* PHP-7.1:
  Improve error code matching

6 years agoImprove error code matching
Anatol Belski [Wed, 12 Sep 2018 14:22:22 +0000 (16:22 +0200)]
Improve error code matching

6 years agoMerge branch 'PHP-7.3'
Anatol Belski [Wed, 12 Sep 2018 10:12:38 +0000 (12:12 +0200)]
Merge branch 'PHP-7.3'

* PHP-7.3:
  Update binary SDK version for AppVeyor

6 years agoMerge branch 'PHP-7.2' into PHP-7.3
Anatol Belski [Wed, 12 Sep 2018 10:11:47 +0000 (12:11 +0200)]
Merge branch 'PHP-7.2' into PHP-7.3

* PHP-7.2:
  Update binary SDK version for AppVeyor

6 years agoMerge branch 'PHP-7.1' into PHP-7.2
Anatol Belski [Wed, 12 Sep 2018 10:11:07 +0000 (12:11 +0200)]
Merge branch 'PHP-7.1' into PHP-7.2

* PHP-7.1:
  Update binary SDK version for AppVeyor

6 years agoUpdate binary SDK version for AppVeyor
Anatol Belski [Wed, 12 Sep 2018 10:09:32 +0000 (12:09 +0200)]
Update binary SDK version for AppVeyor

6 years agoMerge branch 'PHP-7.3'
Dmitry Stogov [Wed, 12 Sep 2018 09:27:48 +0000 (12:27 +0300)]
Merge branch 'PHP-7.3'

* PHP-7.3:
  Fixed bug #76869 (Incorrect bypassing protected method accessibilty check).

6 years agoFixed bug #76869 (Incorrect bypassing protected method accessibilty check).
Dmitry Stogov [Wed, 12 Sep 2018 09:16:50 +0000 (12:16 +0300)]
Fixed bug #76869 (Incorrect bypassing protected method accessibilty check).

6 years agoBetter ZEND_ACC_CHANGED handling
Dmitry Stogov [Wed, 12 Sep 2018 08:43:15 +0000 (11:43 +0300)]
Better ZEND_ACC_CHANGED handling