]> granicus.if.org Git - php/log
php
6 years agoExtend skipif check
Anatol Belski [Tue, 13 Feb 2018 13:04:51 +0000 (14:04 +0100)]
Extend skipif check

6 years agoMerge branch 'PHP-7.1' into PHP-7.2
Joe [Mon, 12 Feb 2018 08:17:56 +0000 (09:17 +0100)]
Merge branch 'PHP-7.1' into PHP-7.2

* PHP-7.1:
  Fixed bug #68406 calling var_dump on a DateTimeZone object modifies it

6 years agoFixed bug #68406 calling var_dump on a DateTimeZone object modifies it
jhdxr [Thu, 21 Sep 2017 18:15:22 +0000 (02:15 +0800)]
Fixed bug #68406 calling var_dump on a DateTimeZone object modifies it

6 years agoMerge branch 'PHP-7.1' into PHP-7.2
Christoph M. Becker [Sun, 11 Feb 2018 11:49:41 +0000 (12:49 +0100)]
Merge branch 'PHP-7.1' into PHP-7.2

* PHP-7.1:
  Fix #75857: Timezone gets truncated when formatted

6 years agoFix #75857: Timezone gets truncated when formatted
Gabriel Caruso [Thu, 8 Feb 2018 12:05:00 +0000 (10:05 -0200)]
Fix #75857: Timezone gets truncated when formatted

Use sizeof buffer instead of hard-coded lenghts

6 years agoMerge branch 'PHP-7.1' into PHP-7.2
Nikita Popov [Sat, 10 Feb 2018 18:30:57 +0000 (19:30 +0100)]
Merge branch 'PHP-7.1' into PHP-7.2

6 years agoFixed bug #75928
Pedro Lacerda [Wed, 7 Feb 2018 02:55:31 +0000 (23:55 -0300)]
Fixed bug #75928

6 years agoMerge branch 'PHP-7.1' into PHP-7.2
Nikita Popov [Sat, 10 Feb 2018 18:19:09 +0000 (19:19 +0100)]
Merge branch 'PHP-7.1' into PHP-7.2

6 years agoEnhancements and fixes for print_pi in gdbinit
Mitch Hagstrand [Fri, 9 Feb 2018 17:30:45 +0000 (11:30 -0600)]
Enhancements and fixes for print_pi in gdbinit

1) Outputs the default value and the offset of a property
2) Fixed output of property flags

6 years agoFixed bug #75938
Nikita Popov [Fri, 9 Feb 2018 14:10:23 +0000 (15:10 +0100)]
Fixed bug #75938

New modulus range inference implementation has been verified using
https://gist.github.com/nikic/67947ff92cf0e1f7e931f2f0d4cf817f.

The computed bounds are not tight, but it seems to be very hard to
compute tight bounds on modulus operations.

6 years agoMerge branch 'PHP-7.1' into PHP-7.2
Joe [Thu, 8 Feb 2018 09:50:47 +0000 (10:50 +0100)]
Merge branch 'PHP-7.1' into PHP-7.2

* PHP-7.1:
  Fixes bug #75871 Use pkg-config for libxml2 if available

6 years agoFixes bug #75871 Use pkg-config for libxml2 if available
Pedro Magalhães [Tue, 6 Feb 2018 19:16:22 +0000 (19:16 +0000)]
Fixes bug #75871 Use pkg-config for libxml2 if available

6 years agoMerge branch 'PHP-7.1' into PHP-7.2
Joe [Thu, 8 Feb 2018 09:42:25 +0000 (10:42 +0100)]
Merge branch 'PHP-7.1' into PHP-7.2

* PHP-7.1:
  Fixed bug #49876 lib path on 64bit distros

6 years agoFixed bug #49876 lib path on 64bit distros
David Zuelke [Wed, 13 Sep 2017 22:03:37 +0000 (00:03 +0200)]
Fixed bug #49876 lib path on 64bit distros

6 years agoMerge branch 'PHP-7.1' into PHP-7.2
Joe [Thu, 8 Feb 2018 09:32:44 +0000 (10:32 +0100)]
Merge branch 'PHP-7.1' into PHP-7.2

* PHP-7.1:
  Fixed bug #65414

6 years agoFixed bug #65414
Bishop Bettini [Fri, 2 Feb 2018 02:29:37 +0000 (21:29 -0500)]
Fixed bug #65414

6 years agoFixed bug #65414
Bishop Bettini [Fri, 2 Feb 2018 02:29:37 +0000 (21:29 -0500)]
Fixed bug #65414

6 years agoMerge branch 'PHP-7.1' into PHP-7.2
Joe [Thu, 8 Feb 2018 09:17:50 +0000 (10:17 +0100)]
Merge branch 'PHP-7.1' into PHP-7.2

* PHP-7.1:
  Fixed bug #74519 strange behavior of AppendIterator

6 years agoFixed bug #74519 strange behavior of AppendIterator
CHU Zhaowei [Tue, 19 Dec 2017 16:22:27 +0000 (00:22 +0800)]
Fixed bug #74519 strange behavior of AppendIterator

6 years agofix #74519 strange behavior of AppendIterator
CHU Zhaowei [Sun, 10 Dec 2017 18:22:55 +0000 (02:22 +0800)]
fix #74519 strange behavior of AppendIterator

6 years agoFixed bug #75893
Nikita Popov [Mon, 5 Feb 2018 20:41:44 +0000 (21:41 +0100)]
Fixed bug #75893

It is not sufficient to just add the additional types for aliased
variables at the end of type inference, because types of derived
variables may depend on them. Make sure the additional types are
always added whenever the type of an aliased variable is updated.

6 years agoFixed bug #75729
Nikita Popov [Mon, 5 Feb 2018 20:08:18 +0000 (21:08 +0100)]
Fixed bug #75729

Don't try to evaluate substr() and strpos() at compile-time if
mbstring function overloading is enabled. I'm reusing the
COMPILE_NO_BUILTIN_STRLEN for the detection of mbstring function
overloading here, even if it's technically only about strlen()...

6 years agoMerge branch 'PHP-7.1' into PHP-7.2
Anatol Belski [Mon, 5 Feb 2018 09:40:45 +0000 (10:40 +0100)]
Merge branch 'PHP-7.1' into PHP-7.2

* PHP-7.1:
  Finer conditions, so /Qspectre is already usable with latest vc15

6 years agoFiner conditions, so /Qspectre is already usable with latest vc15
Anatol Belski [Mon, 5 Feb 2018 09:38:06 +0000 (10:38 +0100)]
Finer conditions, so /Qspectre is already usable with latest vc15

6 years agoMerge branch 'PHP-7.1' into PHP-7.2
Michael Wallner [Mon, 5 Feb 2018 08:07:00 +0000 (09:07 +0100)]
Merge branch 'PHP-7.1' into PHP-7.2

* PHP-7.1:
  fix bug #75916 DNS_CAA record results contain garbage

6 years agofix bug #75916 DNS_CAA record results contain garbage
Michael Wallner [Mon, 5 Feb 2018 08:04:07 +0000 (09:04 +0100)]
fix bug #75916 DNS_CAA record results contain garbage

It is assumed that DNS_CAA record values are zero terminated,
while its length is defined as (RDATA_LENGTH - tag_length - 2).

6 years agoMerge branch 'PHP-7.1' into PHP-7.2
Nikita Popov [Fri, 2 Feb 2018 21:31:40 +0000 (22:31 +0100)]
Merge branch 'PHP-7.1' into PHP-7.2

6 years agoFix SOURCE_DATE_EPOCH to not vary on timezones
Chris Lamb [Fri, 2 Feb 2018 11:20:58 +0000 (11:20 +0000)]
Fix SOURCE_DATE_EPOCH to not vary on timezones

6 years agoMerge branch 'PHP-7.1' into PHP-7.2
Anatol Belski [Fri, 2 Feb 2018 13:09:20 +0000 (14:09 +0100)]
Merge branch 'PHP-7.1' into PHP-7.2

* PHP-7.1:
  Switch to the new PHP SDK version on AppVeyor

6 years agoSwitch to the new PHP SDK version on AppVeyor
Anatol Belski [Fri, 2 Feb 2018 13:06:53 +0000 (14:06 +0100)]
Switch to the new PHP SDK version on AppVeyor

6 years agoEnsure there are no line breaks in the error msg
Anatol Belski [Thu, 1 Feb 2018 14:30:01 +0000 (15:30 +0100)]
Ensure there are no line breaks in the error msg

6 years ago[ci skip] Update NEWS
Anatol Belski [Thu, 1 Feb 2018 14:26:12 +0000 (15:26 +0100)]
[ci skip] Update NEWS

6 years agoMerge branch 'PHP-7.1' into PHP-7.2
Anatol Belski [Thu, 1 Feb 2018 14:25:55 +0000 (15:25 +0100)]
Merge branch 'PHP-7.1' into PHP-7.2

* PHP-7.1:
  [ci skip] Update NEWS
  Fix race conditions with Apache vhost vs. per dir config

6 years ago[ci skip] Update NEWS
Anatol Belski [Thu, 1 Feb 2018 14:25:15 +0000 (15:25 +0100)]
[ci skip] Update NEWS

6 years agoFix race conditions with Apache vhost vs. per dir config
Anatol Belski [Wed, 31 Jan 2018 19:15:30 +0000 (20:15 +0100)]
Fix race conditions with Apache vhost vs. per dir config

If the same php_value/php_flag is present in httpd.conf and .htaccess,
the key is potentially shared between threads. Unfortunately we can't
intern these keys using the current mechanism, because the MPM is setup
before the SAPI module setup is even started. A more elegant way were
to implement a kind of string pool for the thread safe Apache SAPI
config directives with the mechanism similar to what is done for the
SAPI setup now, but doing a separate management.

(cherry picked from commit 73eb5a78b9caa18d35624765f9b972c1ba48855d)

6 years agoFix race conditions with Apache vhost vs. per dir config
Anatol Belski [Wed, 31 Jan 2018 19:15:30 +0000 (20:15 +0100)]
Fix race conditions with Apache vhost vs. per dir config

If the same php_value/php_flag is present in httpd.conf and .htaccess,
the key is potentially shared between threads. Unfortunately we can't
intern these keys using the current mechanism, because the MPM is setup
before the SAPI module setup is even started. A more elegant way were
to implement a kind of string pool for the thread safe Apache SAPI
config directives with the mechanism similar to what is done for the
SAPI setup now, but doing a separate management.

6 years agoSync with timelib 2017.06
Derick Rethans [Wed, 31 Jan 2018 11:55:35 +0000 (11:55 +0000)]
Sync with timelib 2017.06

6 years agoUse correct certs for SNI server tests with separate key and cert
Jakub Zelenka [Tue, 30 Jan 2018 20:08:19 +0000 (20:08 +0000)]
Use correct certs for SNI server tests with separate key and cert

6 years agoMerge branch 'PHP-7.1' into PHP-7.2
Jakub Zelenka [Tue, 30 Jan 2018 20:02:34 +0000 (20:02 +0000)]
Merge branch 'PHP-7.1' into PHP-7.2

6 years agoUse correct certs for SNI server tests
Jakub Zelenka [Tue, 30 Jan 2018 19:58:40 +0000 (19:58 +0000)]
Use correct certs for SNI server tests

6 years agoMerge branch 'PHP-7.1' into PHP-7.2
Thomas Punt [Mon, 29 Jan 2018 11:13:22 +0000 (11:13 +0000)]
Merge branch 'PHP-7.1' into PHP-7.2

* PHP-7.1:
  Use the correct freeing function

6 years agoUse the correct freeing function
Thomas Punt [Mon, 29 Jan 2018 11:13:10 +0000 (11:13 +0000)]
Use the correct freeing function

6 years agoFixed bug #54289
Bishop Bettini [Sat, 6 Jan 2018 07:21:30 +0000 (02:21 -0500)]
Fixed bug #54289

If a directory is passed to Phar::extractTo(), loop over all
entries and extract all files with the given prefix.

7 years ago[ci skip] Update NEWS.
Anatol Belski [Sat, 27 Jan 2018 16:24:29 +0000 (17:24 +0100)]
[ci skip] Update NEWS.

7 years agofixed Big_endian issue on s390x for stream test cases
Sam Ding [Tue, 23 Jan 2018 21:46:55 +0000 (16:46 -0500)]
fixed Big_endian issue on s390x for stream test cases

7 years agoMerge branch 'PHP-7.1' into PHP-7.2
Christoph M. Becker [Sat, 27 Jan 2018 12:12:09 +0000 (13:12 +0100)]
Merge branch 'PHP-7.1' into PHP-7.2

* PHP-7.1:
  Revert "Fix #75878: RecursiveTreeIterator::setPostfix has wrong signature"

7 years agoRevert "Fix #75878: RecursiveTreeIterator::setPostfix has wrong signature"
Christoph M. Becker [Sat, 27 Jan 2018 12:11:30 +0000 (13:11 +0100)]
Revert "Fix #75878: RecursiveTreeIterator::setPostfix has wrong signature"

This reverts commit 4bd7658e1b44b72ff76913036c1b41f74318b065.

To avoid the BC break we apply the fix to master only.

7 years agoMerge branch 'PHP-7.1' into PHP-7.2
Christoph M. Becker [Sat, 27 Jan 2018 11:40:20 +0000 (12:40 +0100)]
Merge branch 'PHP-7.1' into PHP-7.2

* PHP-7.1:
  Fix #75878: RecursiveTreeIterator::setPostfix has wrong signature

7 years agoFix #75878: RecursiveTreeIterator::setPostfix has wrong signature
Christoph M. Becker [Sat, 27 Jan 2018 11:33:36 +0000 (12:33 +0100)]
Fix #75878: RecursiveTreeIterator::setPostfix has wrong signature

7 years agoMerge branch 'PHP-7.1' into PHP-7.2
Nikita Popov [Fri, 26 Jan 2018 21:28:48 +0000 (22:28 +0100)]
Merge branch 'PHP-7.1' into PHP-7.2

7 years agoBe consistent in clearing out in php_iconv_string()
Philip Prindeville [Thu, 25 Jan 2018 01:47:19 +0000 (18:47 -0700)]
Be consistent in clearing out in php_iconv_string()

7 years agoRestore initial values on graceful server restart.
Dmitry Stogov [Fri, 26 Jan 2018 12:22:36 +0000 (15:22 +0300)]
Restore initial values on graceful server restart.

7 years agoext/session: catch incompatible configure flags earlier.
Michael Orlitzky [Fri, 19 Jan 2018 23:53:22 +0000 (18:53 -0500)]
ext/session: catch incompatible configure flags earlier.

The session extension has a --with-mm flag that tells it to build
the mm backend ("mm" is the name of the library). However, that
backend is not thread-safe, and mod_mm.c will refuse to compile if
the --enable-maintainer-zts flag was also passed to the configure
script.

Rather than crash halfway through the build, this commit adds a check
to the session extension's config.m4 file. If both --with-mm and
--enable-maintainer-zts are "on," then the configure script will
die and explain that they can't be used together.

PHP-bug: 14269

7 years agoUpdated to version 2018.3 (2018c)
Derick Rethans [Wed, 24 Jan 2018 13:57:07 +0000 (13:57 +0000)]
Updated to version 2018.3 (2018c)

7 years agoEmpty merge
Derick Rethans [Wed, 24 Jan 2018 13:57:07 +0000 (13:57 +0000)]
Empty merge

7 years agoUpdated to version 2018.3 (2018c)
Derick Rethans [Wed, 24 Jan 2018 13:57:06 +0000 (13:57 +0000)]
Updated to version 2018.3 (2018c)

7 years agoMerge branch 'PHP-7.1' into PHP-7.2
Sara Golemon [Tue, 23 Jan 2018 16:11:37 +0000 (11:11 -0500)]
Merge branch 'PHP-7.1' into PHP-7.2

* PHP-7.1:
  Fix alignment of PG struct cause by ignore_user_abort big endian fix

7 years agoFix alignment of PG struct cause by ignore_user_abort big endian fix
Sara Golemon [Tue, 23 Jan 2018 16:06:34 +0000 (11:06 -0500)]
Fix alignment of PG struct cause by ignore_user_abort big endian fix

7 years agoMerge branch 'PHP-7.1' into PHP-7.2
Sara Golemon [Tue, 23 Jan 2018 14:24:47 +0000 (09:24 -0500)]
Merge branch 'PHP-7.1' into PHP-7.2

* PHP-7.1:
  Use Z_EXPECTED_LONG to initialize FAST_ZPP parsing loop

7 years agoMerge branch 'PHP-7.0' into PHP-7.1
Sara Golemon [Tue, 23 Jan 2018 14:24:40 +0000 (09:24 -0500)]
Merge branch 'PHP-7.0' into PHP-7.1

* PHP-7.0:
  Use Z_EXPECTED_LONG to initialize FAST_ZPP parsing loop

7 years agoUse Z_EXPECTED_LONG to initialize FAST_ZPP parsing loop
Sara Golemon [Tue, 23 Jan 2018 14:10:36 +0000 (09:10 -0500)]
Use Z_EXPECTED_LONG to initialize FAST_ZPP parsing loop

7 years agoMerge branch 'PHP-7.1' into PHP-7.2
Sara Golemon [Tue, 23 Jan 2018 13:58:53 +0000 (08:58 -0500)]
Merge branch 'PHP-7.1' into PHP-7.2

* PHP-7.1:
  BigEndian fix for ignore_user_abort. Use zend_bool to match OnUpdateBool

7 years agoBigEndian fix for ignore_user_abort. Use zend_bool to match OnUpdateBool
Sara Golemon [Tue, 23 Jan 2018 13:46:38 +0000 (08:46 -0500)]
BigEndian fix for ignore_user_abort. Use zend_bool to match OnUpdateBool

7 years ago[ci skip] Update NEWS
Anatol Belski [Mon, 22 Jan 2018 18:15:30 +0000 (19:15 +0100)]
[ci skip] Update NEWS

7 years agoMerge branch 'PHP-7.1' into PHP-7.2
Anatol Belski [Mon, 22 Jan 2018 18:15:02 +0000 (19:15 +0100)]
Merge branch 'PHP-7.1' into PHP-7.2

* PHP-7.1:
  [ci skip] Update NEWS

7 years ago[ci skip] Update NEWS
Anatol Belski [Mon, 22 Jan 2018 18:14:24 +0000 (19:14 +0100)]
[ci skip] Update NEWS

7 years agoMerge branch 'PHP-7.1' into PHP-7.2
Anatol Belski [Mon, 22 Jan 2018 16:03:48 +0000 (17:03 +0100)]
Merge branch 'PHP-7.1' into PHP-7.2

* PHP-7.1:
  Fixed bug #73725 Unable to retrieve value of varchar(max) type

7 years agoFixed bug #73725 Unable to retrieve value of varchar(max) type
Anatol Belski [Mon, 22 Jan 2018 16:02:54 +0000 (17:02 +0100)]
Fixed bug #73725 Unable to retrieve value of varchar(max) type

7 years agoUpdated NEWS
Xinchen Hui [Thu, 18 Jan 2018 02:53:58 +0000 (10:53 +0800)]
Updated NEWS

7 years agoMerge branch 'PHP-7.1' into PHP-7.2
Xinchen Hui [Thu, 18 Jan 2018 02:53:39 +0000 (10:53 +0800)]
Merge branch 'PHP-7.1' into PHP-7.2

* PHP-7.1:
  Fixed #75838 (Memory leak in pg_escape_bytea())

7 years agoFixed #75838 (Memory leak in pg_escape_bytea())
Xinchen Hui [Thu, 18 Jan 2018 02:53:23 +0000 (10:53 +0800)]
Fixed #75838 (Memory leak in pg_escape_bytea())

7 years agoMerge branch 'PHP-7.1' into PHP-7.2
Anatol Belski [Wed, 17 Jan 2018 13:47:39 +0000 (14:47 +0100)]
Merge branch 'PHP-7.1' into PHP-7.2

* PHP-7.1:
  Add switches for Spectre variant 1 mitigation

7 years agoAdd switches for Spectre variant 1 mitigation
Anatol Belski [Wed, 17 Jan 2018 13:31:51 +0000 (14:31 +0100)]
Add switches for Spectre variant 1 mitigation

7 years agoMerge branch 'PHP-7.1' into PHP-7.2
Anatol Belski [Tue, 16 Jan 2018 18:49:23 +0000 (19:49 +0100)]
Merge branch 'PHP-7.1' into PHP-7.2

* PHP-7.1:
  7.0.15 next

7 years ago7.0.15 next
Anatol Belski [Tue, 16 Jan 2018 18:47:35 +0000 (19:47 +0100)]
7.0.15 next

7 years agoFixed NEWS
Xinchen Hui [Tue, 16 Jan 2018 09:31:44 +0000 (17:31 +0800)]
Fixed NEWS

7 years agonext is 7.2.3
Remi Collet [Tue, 16 Jan 2018 08:54:57 +0000 (09:54 +0100)]
next is 7.2.3

7 years ago[ci skip] Update NEWS
Anatol Belski [Mon, 15 Jan 2018 16:48:08 +0000 (17:48 +0100)]
[ci skip] Update NEWS

7 years agoMerge branch 'PHP-7.1' into PHP-7.2
Anatol Belski [Mon, 15 Jan 2018 16:47:29 +0000 (17:47 +0100)]
Merge branch 'PHP-7.1' into PHP-7.2

* PHP-7.1:
  [ci skip] Update NEWS

7 years ago[ci skip] Update NEWS
Anatol Belski [Mon, 15 Jan 2018 16:46:34 +0000 (17:46 +0100)]
[ci skip] Update NEWS

7 years agoMerge branch 'PHP-7.1' into PHP-7.2
Anatol Belski [Mon, 15 Jan 2018 13:25:45 +0000 (14:25 +0100)]
Merge branch 'PHP-7.1' into PHP-7.2

* PHP-7.1:
  Allow pecl like usage in ext/phar, closes #2955

7 years agoAllow pecl like usage in ext/phar, closes #2955
Anatol Belski [Mon, 15 Jan 2018 13:23:46 +0000 (14:23 +0100)]
Allow pecl like usage in ext/phar, closes #2955

7 years agoMerge branch 'PHP-7.1' into PHP-7.2
Nikita Popov [Mon, 15 Jan 2018 11:16:00 +0000 (12:16 +0100)]
Merge branch 'PHP-7.1' into PHP-7.2

7 years agoFixed bug #75079
Nikita Popov [Mon, 15 Jan 2018 11:13:55 +0000 (12:13 +0100)]
Fixed bug #75079

7 years agoMerge branch 'PHP-7.1' into PHP-7.2
Anatol Belski [Sun, 14 Jan 2018 15:42:17 +0000 (16:42 +0100)]
Merge branch 'PHP-7.1' into PHP-7.2

* PHP-7.1:
  Sync for upcoming vc++ 15.6 version raise

7 years agoSync for upcoming vc++ 15.6 version raise
Anatol Belski [Sun, 14 Jan 2018 15:38:36 +0000 (16:38 +0100)]
Sync for upcoming vc++ 15.6 version raise

7 years ago[ci skip] Update NEWS
Anatol Belski [Sat, 13 Jan 2018 13:50:58 +0000 (14:50 +0100)]
[ci skip] Update NEWS

7 years agoMerge branch 'PHP-7.1' into PHP-7.2
Anatol Belski [Sat, 13 Jan 2018 13:50:00 +0000 (14:50 +0100)]
Merge branch 'PHP-7.1' into PHP-7.2

* PHP-7.1:
  [ci skip] Update NEWS

7 years ago[ci skip] Update NEWS
Anatol Belski [Sat, 13 Jan 2018 13:48:48 +0000 (14:48 +0100)]
[ci skip] Update NEWS

7 years agoMerge branch 'PHP-7.1' into PHP-7.2
Anatol Belski [Sat, 13 Jan 2018 11:33:02 +0000 (12:33 +0100)]
Merge branch 'PHP-7.1' into PHP-7.2

* PHP-7.1:
  Fix invalid free

7 years agoFix invalid free
Anatol Belski [Sat, 13 Jan 2018 11:32:00 +0000 (12:32 +0100)]
Fix invalid free

7 years agoMerge branch 'PHP-7.1' into PHP-7.2
Nikita Popov [Sat, 13 Jan 2018 10:06:46 +0000 (11:06 +0100)]
Merge branch 'PHP-7.1' into PHP-7.2

7 years agoFix generator GC if yield from parent chain does not reach root
Nikita Popov [Sat, 13 Jan 2018 10:04:26 +0000 (11:04 +0100)]
Fix generator GC if yield from parent chain does not reach root

Parents may be unlinked while another generator sharing part of the
chain is running. As such, we cannot assume that the parent chain
goes all the way to the root. Instead walk backwards from root to
leaf, like we also do during destruction.

7 years agoMerge branch 'PHP-7.1' into PHP-7.2
Nikita Popov [Fri, 12 Jan 2018 21:51:20 +0000 (22:51 +0100)]
Merge branch 'PHP-7.1' into PHP-7.2

7 years agoTry to fix yield from GC issues
Nikita Popov [Fri, 12 Jan 2018 21:48:29 +0000 (22:48 +0100)]
Try to fix yield from GC issues

Make sure we always update root and parent references before
releasing the old root object.

This fixes some crashes under aggressive cycle collection, so
hopefully this will also fix bug #75351.

7 years agoMerge branch 'PHP-7.1' into PHP-7.2
Nikita Popov [Fri, 12 Jan 2018 20:28:10 +0000 (21:28 +0100)]
Merge branch 'PHP-7.1' into PHP-7.2

7 years agoFixed bug #75396
Nikita Popov [Fri, 12 Jan 2018 20:24:04 +0000 (21:24 +0100)]
Fixed bug #75396

Do not run finally blocks in generators on unclean shutdown (e.g.
caused by exit). This is consistent with how finally blocks outside
of generators behave.

7 years agoFixed bug #75653
Nikita Popov [Fri, 12 Jan 2018 17:30:22 +0000 (18:30 +0100)]
Fixed bug #75653

7 years agoMerge branch 'PHP-7.1' into PHP-7.2
Nikita Popov [Fri, 12 Jan 2018 17:18:34 +0000 (18:18 +0100)]
Merge branch 'PHP-7.1' into PHP-7.2

7 years agoRevert "Fixed bug #75287 (Builtin webserver crash after chdir in a shutdown function)"
Nikita Popov [Fri, 12 Jan 2018 17:11:12 +0000 (18:11 +0100)]
Revert "Fixed bug #75287 (Builtin webserver crash after chdir in a shutdown function)"

This reverts commit 816758eda2bcdd69ba505fb6bbb79124a7bf2254.

After this commit relative router scripts were resolved against
docroot rather than shell cwd.