]> granicus.if.org Git - php/log
php
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

6 years agoOptimisation: Check for private property in parent class makes sense only if we alrea...
Dmitry Stogov [Wed, 12 Sep 2018 06:57:36 +0000 (09:57 +0300)]
Optimisation: Check for private property in parent class makes sense only if we already found a property info. Check for property started with "\\0" makes sense only if we didn't find property info.

6 years agoSimplify method visibility checks
Dmitry Stogov [Wed, 12 Sep 2018 05:31:01 +0000 (08:31 +0300)]
Simplify method visibility checks

6 years agoMerge branch 'PHP-7.3'
Ferenc Kovacs [Tue, 11 Sep 2018 22:08:34 +0000 (00:08 +0200)]
Merge branch 'PHP-7.3'

6 years agoMerge branch 'PHP-7.2' into PHP-7.3
Ferenc Kovacs [Tue, 11 Sep 2018 22:06:33 +0000 (00:06 +0200)]
Merge branch 'PHP-7.2' into PHP-7.3

6 years agoMerge branch 'PHP-7.1' into PHP-7.2
Ferenc Kovacs [Tue, 11 Sep 2018 22:04:40 +0000 (00:04 +0200)]
Merge branch 'PHP-7.1' into PHP-7.2

6 years agoMerge branch 'PHP-7.0' into PHP-7.1
Ferenc Kovacs [Tue, 11 Sep 2018 22:02:18 +0000 (00:02 +0200)]
Merge branch 'PHP-7.0' into PHP-7.1

6 years agoMerge branch 'PHP-5.6' into PHP-7.0
Ferenc Kovacs [Tue, 11 Sep 2018 22:00:46 +0000 (00:00 +0200)]
Merge branch 'PHP-5.6' into PHP-7.0

6 years ago5.6.39 will be the next
Ferenc Kovacs [Tue, 11 Sep 2018 21:58:17 +0000 (23:58 +0200)]
5.6.39 will be the next

6 years agoUse Zend API helper functions
Dmitry Stogov [Tue, 11 Sep 2018 20:50:43 +0000 (23:50 +0300)]
Use Zend API helper functions

6 years agoThis increment is not necessary anymore.
Dmitry Stogov [Tue, 11 Sep 2018 19:56:31 +0000 (22:56 +0300)]
This increment is not necessary anymore.

6 years agoAdditional fix for bug #76860.
Dmitry Stogov [Tue, 11 Sep 2018 15:29:27 +0000 (18:29 +0300)]
Additional fix for bug #76860.

6 years agoMerge branch 'PHP-7.3'
Christoph M. Becker [Tue, 11 Sep 2018 14:30:52 +0000 (16:30 +0200)]
Merge branch 'PHP-7.3'

* PHP-7.3:
  [ci skip] Update NEWS wrt. php-7.3.RC1 tagging

6 years ago[ci skip] Update NEWS wrt. php-7.3.RC1 tagging
Christoph M. Becker [Tue, 11 Sep 2018 14:28:36 +0000 (16:28 +0200)]
[ci skip] Update NEWS wrt. php-7.3.RC1 tagging

6 years agoRenumber ZEND_ACC_... flags
Dmitry Stogov [Tue, 11 Sep 2018 14:21:17 +0000 (17:21 +0300)]
Renumber ZEND_ACC_... flags

6 years agoRemoved weird test, trait can't be "static" or "final".
Dmitry Stogov [Tue, 11 Sep 2018 14:07:06 +0000 (17:07 +0300)]
Removed weird test, trait can't be "static" or "final".

6 years agoDrop unused variable
Nikita Popov [Tue, 11 Sep 2018 13:16:11 +0000 (15:16 +0200)]
Drop unused variable

6 years agoUse mnemonic names
Dmitry Stogov [Tue, 11 Sep 2018 11:54:11 +0000 (14:54 +0300)]
Use mnemonic names

6 years agoMerge branch 'PHP-7.3'
Christoph M. Becker [Tue, 11 Sep 2018 10:23:50 +0000 (12:23 +0200)]
Merge branch 'PHP-7.3'

* PHP-7.3:
  Fix #76510: file_exists() stopped working for phar://

6 years agoFix #76510: file_exists() stopped working for phar://
Christoph M. Becker [Tue, 11 Sep 2018 10:23:20 +0000 (12:23 +0200)]
Fix #76510: file_exists() stopped working for phar://

We work around a strlen() optimization bug in GCC 8[1] by checking
whether the used GCC exhibits the broken behavior, and if so by
disabling `optimize-strlen`.

[1] <https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86914>

6 years agoGet rid of ZEND_ACC_IMPLICIT_PUBLIC
Dmitry Stogov [Tue, 11 Sep 2018 09:26:26 +0000 (12:26 +0300)]
Get rid of ZEND_ACC_IMPLICIT_PUBLIC

6 years agoAdded test for bug #76860 (Missed "Accessing static property as non static" warning).
Dmitry Stogov [Tue, 11 Sep 2018 09:10:14 +0000 (12:10 +0300)]
Added test for bug #76860 (Missed "Accessing static property as non static" warning).
It's already fixed by previous commit.

6 years agoSquashed commit of the following:
Dmitry Stogov [Tue, 11 Sep 2018 08:56:45 +0000 (11:56 +0300)]
Squashed commit of the following:

commit 2d3cac9e005d6bef9aa73ab57cc674aa53125954
Author: Dmitry Stogov <dmitry@zend.com>
Date:   Tue Sep 11 11:54:47 2018 +0300

    Fixed static property access

commit 31786ee27282f319f3ef2a07635b1f325cbd67c6
Author: Dmitry Stogov <dmitry@zend.com>
Date:   Tue Sep 11 11:05:29 2018 +0300

    Avoid duplicate checks

commit 5ae502b979ea33d058d01a9421eec5afd0084e8d
Author: Dmitry Stogov <dmitry@zend.com>
Date:   Tue Sep 11 10:39:17 2018 +0300

    Optimization

commit 82c17f0e8af02c9cf7d1bbdae4e3158330148203
Author: Dmitry Stogov <dmitry@zend.com>
Date:   Tue Sep 11 09:26:50 2018 +0300

    Removed unused zend_duplicate_property_info()

commit ba53d1d0dd91d5530328a11cac93ff9e75c462b5
Merge: eacc11b8fd c4b14370cf
Author: Dmitry Stogov <dmitry@zend.com>
Date:   Tue Sep 11 09:24:13 2018 +0300

    Merge branch 'master' into shadow

    * master:
      7.0.33 next
      Sync NEWS [ci skip]
      add NEWS for 76582
      Enforce ordering of property compare in object comparisons
      Fixed wrong assertion
      Skip test on unsuitable env

commit eacc11b8fdeb002ee6a149defd8b5a8c3412896a
Author: Dmitry Stogov <dmitry@zend.com>
Date:   Mon Sep 10 13:12:39 2018 +0300

    Fixed failure of ext/spl/tests/array_017.phpt

commit 62d1871430a1b81c84b790460afff0682648689a
Author: Dmitry Stogov <dmitry@zend.com>
Date:   Mon Sep 10 11:55:07 2018 +0300

    Fixed issues

commit 1d37e3a40e4d07c4b933ed6f9d2e649dd01180f0
Merge: d6c3f098b6 1e550e6f7e
Author: Dmitry Stogov <dmitry@zend.com>
Date:   Mon Sep 10 10:21:20 2018 +0300

    Merge branch 'master' into shadow

    * master:
      Update NEWS
      Fix for bug #76582
      Fix ssl stream reneg limit test to print only after first renegotiation
      Make a copy unconditionally
      Fix memory leak in pcre cache
      Remove not needed checking for <errno.h>
      Remove HAVE_ASSERT_H
      Add test for bug #76850
      Fixed bug #76850 Exit code mangled by set locale/preg_match
      Remove empty PHP tags from test
      Fix #75273: php_zlib_inflate_filter() may not update bytes_consumed
      Fix PCRE2 exclusion and remove dead libs in Makefile.gcov
      Report mem leaks to stderr if no Win debugger is present
      Use combined assignment contanation operator
      Fixed bug #76796
      Support fixed address mmap without replacement

commit d6c3f098b6015e76d042691de0af2e1426c66829
Author: Dmitry Stogov <dmitry@zend.com>
Date:   Fri Sep 7 13:56:30 2018 +0300

    Get rid of ZEND_ACC_SHADOW

6 years agoMerge branch 'PHP-7.3'
Anatol Belski [Tue, 11 Sep 2018 05:02:03 +0000 (07:02 +0200)]
Merge branch 'PHP-7.3'

* PHP-7.3:
  7.0.33 next

6 years agoMerge branch 'PHP-7.2' into PHP-7.3
Anatol Belski [Tue, 11 Sep 2018 05:01:44 +0000 (07:01 +0200)]
Merge branch 'PHP-7.2' into PHP-7.3

* PHP-7.2:
  7.0.33 next

6 years agoMerge branch 'PHP-7.1' into PHP-7.2
Anatol Belski [Tue, 11 Sep 2018 05:01:18 +0000 (07:01 +0200)]
Merge branch 'PHP-7.1' into PHP-7.2

* PHP-7.1:
  7.0.33 next

6 years agoMerge branch 'PHP-7.0' into PHP-7.1
Anatol Belski [Tue, 11 Sep 2018 05:00:48 +0000 (07:00 +0200)]
Merge branch 'PHP-7.0' into PHP-7.1

* PHP-7.0:
  7.0.33 next

6 years ago7.0.33 next
Anatol Belski [Tue, 11 Sep 2018 05:00:15 +0000 (07:00 +0200)]
7.0.33 next

6 years agoMerge branch 'PHP-7.3'
Anatol Belski [Mon, 10 Sep 2018 14:58:42 +0000 (16:58 +0200)]
Merge branch 'PHP-7.3'

* PHP-7.3:
  Sync NEWS [ci skip]

6 years agoMerge branch 'PHP-7.2' into PHP-7.3
Anatol Belski [Mon, 10 Sep 2018 14:58:33 +0000 (16:58 +0200)]
Merge branch 'PHP-7.2' into PHP-7.3

* PHP-7.2:
  Sync NEWS [ci skip]

6 years agoMerge branch 'PHP-7.1' into PHP-7.2
Anatol Belski [Mon, 10 Sep 2018 14:58:02 +0000 (16:58 +0200)]
Merge branch 'PHP-7.1' into PHP-7.2

* PHP-7.1:
  Sync NEWS [ci skip]

6 years agoMerge branch 'PHP-7.0' into PHP-7.1
Anatol Belski [Mon, 10 Sep 2018 14:57:24 +0000 (16:57 +0200)]
Merge branch 'PHP-7.0' into PHP-7.1

* PHP-7.0:
  Sync NEWS [ci skip]

6 years agoSync NEWS [ci skip]
Anatol Belski [Mon, 10 Sep 2018 14:56:37 +0000 (16:56 +0200)]
Sync NEWS [ci skip]