]> granicus.if.org Git - php/log
php
7 years agoMerge branch 'PHP-7.0' into PHP-7.1
Nikita Popov [Sun, 9 Apr 2017 13:35:44 +0000 (15:35 +0200)]
Merge branch 'PHP-7.0' into PHP-7.1

7 years agoResolve bug #74188 (undefined statics raising with ?? operator)
Thomas Punt [Sat, 1 Apr 2017 14:37:48 +0000 (15:37 +0100)]
Resolve bug #74188 (undefined statics raising with ?? operator)

7 years agoMerge branch 'PHP-7.0' into PHP-7.1
Nikita Popov [Sun, 9 Apr 2017 11:14:45 +0000 (13:14 +0200)]
Merge branch 'PHP-7.0' into PHP-7.1

7 years agoFixed bug #72071: Prevent Max-Age from being negative
Craig Duncan [Mon, 3 Apr 2017 11:31:26 +0000 (12:31 +0100)]
Fixed bug #72071: Prevent Max-Age from being negative

7 years agoFixed #74298 - IntlDateFormatter->format() doesn't return microseconds/fractions
andrewnester [Fri, 24 Mar 2017 16:23:15 +0000 (19:23 +0300)]
Fixed #74298 - IntlDateFormatter->format() doesn't return microseconds/fractions

7 years agoMerge branch 'PHP-7.0' into PHP-7.1
Jakub Zelenka [Fri, 7 Apr 2017 18:29:46 +0000 (19:29 +0100)]
Merge branch 'PHP-7.0' into PHP-7.1

7 years agoUpdate NEWS with OpenSSL 1.1.0 support info
Jakub Zelenka [Fri, 7 Apr 2017 18:27:25 +0000 (19:27 +0100)]
Update NEWS with OpenSSL 1.1.0 support info

7 years agoAdd OpenSSL 1.1.0 support to PHP 7.0
Jakub Zelenka [Fri, 7 Apr 2017 18:20:11 +0000 (19:20 +0100)]
Add OpenSSL 1.1.0 support to PHP 7.0

7 years agoFixed bug #74353 (Segfault when killing within bash script trap code)
Xinchen Hui [Fri, 7 Apr 2017 08:15:36 +0000 (16:15 +0800)]
Fixed bug #74353 (Segfault when killing within bash script trap code)

7 years agoUpdate NEWS
Xinchen Hui [Fri, 7 Apr 2017 07:21:44 +0000 (15:21 +0800)]
Update NEWS

7 years agoRemove unused var
Xinchen Hui [Fri, 7 Apr 2017 07:21:19 +0000 (15:21 +0800)]
Remove unused var

7 years agoMerge branch 'PHP-7.0' into PHP-7.1
Xinchen Hui [Fri, 7 Apr 2017 07:20:53 +0000 (15:20 +0800)]
Merge branch 'PHP-7.0' into PHP-7.1

* PHP-7.0:
  Fix invalid free of persistent results on error/connection loss in mysqlnd (bug 74376)

Conflicts:
ext/mysqlnd/mysqlnd_ps.c

7 years agoFix invalid free of persistent results on error/connection loss in mysqlnd (bug 74376)
Yussuf Khalil [Wed, 5 Apr 2017 18:57:03 +0000 (20:57 +0200)]
Fix invalid free of persistent results on error/connection loss in mysqlnd (bug 74376)

7 years agoMerge branch 'PHP-7.0' into PHP-7.1
Anatol Belski [Tue, 4 Apr 2017 14:23:49 +0000 (16:23 +0200)]
Merge branch 'PHP-7.0' into PHP-7.1

* PHP-7.0:
  Revert "extend skip section"

7 years agoRevert "extend skip section"
Anatol Belski [Tue, 4 Apr 2017 14:21:23 +0000 (16:21 +0200)]
Revert "extend skip section"

This reverts commit 51360480649628a58b4c06940b6c4ad49ff31186.

This is not needed anymore wrt dst handling fix

7 years agoMerge branch 'PHP-7.0' into PHP-7.1
Anatol Belski [Mon, 3 Apr 2017 13:22:04 +0000 (15:22 +0200)]
Merge branch 'PHP-7.0' into PHP-7.1

* PHP-7.0:
  fix possible out of bounds buffer access

7 years agofix possible out of bounds buffer access
Anatol Belski [Mon, 3 Apr 2017 13:20:32 +0000 (15:20 +0200)]
fix possible out of bounds buffer access

7 years agofix buffer overflow
Anatol Belski [Mon, 3 Apr 2017 12:22:23 +0000 (14:22 +0200)]
fix buffer overflow

7 years agoFixed bug #74340
Nikita Popov [Sun, 2 Apr 2017 11:30:35 +0000 (13:30 +0200)]
Fixed bug #74340

7 years agoFixed bug #74361
Nikita Popov [Sun, 2 Apr 2017 11:19:32 +0000 (13:19 +0200)]
Fixed bug #74361

7 years agoMerge branch 'PHP-7.0' into PHP-7.1
Nikita Popov [Sat, 1 Apr 2017 23:08:24 +0000 (01:08 +0200)]
Merge branch 'PHP-7.0' into PHP-7.1

7 years agoFix opcache.max_accelerated_files doc in php.ini
Martin Hujer [Sat, 1 Apr 2017 14:33:44 +0000 (16:33 +0200)]
Fix opcache.max_accelerated_files doc in php.ini

As stated in docs: https://secure.php.net/manual/en/opcache.configuration.php#ini.opcache.max-accelerated-files, the maximum is now 1000000
> The maximum value is 100000 in PHP < 5.5.6, and 1000000 in later versions.

7 years agoFixed bug #74341
Moritz Fain [Thu, 30 Mar 2017 14:20:52 +0000 (16:20 +0200)]
Fixed bug #74341

Added support for ASN.1 UTCTime without seconds part (being 11 characters
long instead of 13).

Additionally, fixed incorrect handling of DST on systems without gmtoff.

7 years agoMerge branch 'PHP-7.0' into PHP-7.1
Anatol Belski [Thu, 30 Mar 2017 23:43:46 +0000 (01:43 +0200)]
Merge branch 'PHP-7.0' into PHP-7.1

* PHP-7.0:
  update sdk version for appveyor

7 years agoupdate sdk version for appveyor
Anatol Belski [Thu, 30 Mar 2017 23:42:46 +0000 (01:42 +0200)]
update sdk version for appveyor

7 years agoMerge branch 'PHP-7.0' into PHP-7.1
Joe Watkins [Thu, 30 Mar 2017 15:28:14 +0000 (16:28 +0100)]
Merge branch 'PHP-7.0' into PHP-7.1

* PHP-7.0:
  fix bug #74343 compile fails on solaris 11 with system libgd

7 years agofix bug #74343 compile fails on solaris 11 with system libgd
Joe Watkins [Thu, 30 Mar 2017 15:27:40 +0000 (16:27 +0100)]
fix bug #74343 compile fails on solaris 11 with system libgd

7 years agofixed typo
Markus Staab [Wed, 29 Mar 2017 07:05:34 +0000 (09:05 +0200)]
fixed typo

7 years agofixed typo
Markus Staab [Wed, 29 Mar 2017 07:04:35 +0000 (09:04 +0200)]
fixed typo

7 years agorelax more this test
Remi Collet [Wed, 29 Mar 2017 05:38:40 +0000 (07:38 +0200)]
relax more this test

7 years agoFix buid with system libsqlite, see bug #74217
Remi Collet [Wed, 29 Mar 2017 05:25:01 +0000 (07:25 +0200)]
Fix buid with system libsqlite, see bug #74217

SQLITE_DETERMINISTIC only exists in recent version
e.g. missing on 3.7 which is the default on RHEL/CentOS-7
and probably others (wheezy have 3.7, jessie 3.8...)

7 years agorelax test failing in fast computer
Remi Collet [Wed, 29 Mar 2017 05:01:14 +0000 (07:01 +0200)]
relax test failing in fast computer

7 years agoLet MessageFormatter and IntlDateFormatter accept DateTimeImmutable as well
Ben Scholzen [Mon, 27 Mar 2017 17:47:14 +0000 (19:47 +0200)]
Let MessageFormatter and IntlDateFormatter accept DateTimeImmutable as well

7 years agoMerge branch 'PHP-7.0' into PHP-7.1
Nikita Popov [Tue, 28 Mar 2017 20:08:58 +0000 (22:08 +0200)]
Merge branch 'PHP-7.0' into PHP-7.1

7 years agoDisable block pass for large functions
Nikita Popov [Fri, 17 Mar 2017 11:48:03 +0000 (12:48 +0100)]
Disable block pass for large functions

(Backport of 7ea261685f179a7cddcc4196fc7f3f12572c3d49 to 7.0.)

7 years agoprepare next
Joe Watkins [Tue, 28 Mar 2017 14:22:10 +0000 (15:22 +0100)]
prepare next

7 years agoupdate NEWS
Anatol Belski [Tue, 28 Mar 2017 11:14:51 +0000 (13:14 +0200)]
update NEWS

7 years agoMerge branch 'PHP-7.0' into PHP-7.1
Anatol Belski [Tue, 28 Mar 2017 11:13:24 +0000 (13:13 +0200)]
Merge branch 'PHP-7.0' into PHP-7.1

* PHP-7.0:
  update NEWS
  Revert "Fixed bug #61471"

7 years agoupdate NEWS
Anatol Belski [Tue, 28 Mar 2017 11:12:27 +0000 (13:12 +0200)]
update NEWS

7 years agoRevert "Fixed bug #61471"
Anatol Belski [Tue, 28 Mar 2017 11:06:38 +0000 (13:06 +0200)]
Revert "Fixed bug #61471"

This reverts commit 80c8d84af303d2fddc9ba9f181c7117b9040811d.

7 years agoMerge branch 'PHP-7.0' into PHP-7.1
Anatol Belski [Tue, 28 Mar 2017 09:49:46 +0000 (11:49 +0200)]
Merge branch 'PHP-7.0' into PHP-7.1

* PHP-7.0:
  prepare next

7 years agoprepare next
Anatol Belski [Tue, 28 Mar 2017 09:49:04 +0000 (11:49 +0200)]
prepare next

7 years agoMerge branch 'PHP-7.0' into PHP-7.1
Anatol Belski [Tue, 28 Mar 2017 09:44:13 +0000 (11:44 +0200)]
Merge branch 'PHP-7.0' into PHP-7.1

* PHP-7.0:
  update NEWS

7 years agoupdate NEWS
Anatol Belski [Tue, 28 Mar 2017 09:43:54 +0000 (11:43 +0200)]
update NEWS

7 years agoupdate NEWS
Anatol Belski [Tue, 28 Mar 2017 09:43:02 +0000 (11:43 +0200)]
update NEWS

7 years agoMerge branch 'PHP-7.0' into PHP-7.1
Anatol Belski [Mon, 27 Mar 2017 17:42:24 +0000 (19:42 +0200)]
Merge branch 'PHP-7.0' into PHP-7.1

* PHP-7.0:
  deps updated, cherry-pick 88642decf9ab59d206db515990886b0761bfa835
  add test for bug #74230

7 years agodeps updated, cherry-pick 88642decf9ab59d206db515990886b0761bfa835
Anatol Belski [Mon, 27 Mar 2017 17:38:20 +0000 (19:38 +0200)]
deps updated, cherry-pick 88642decf9ab59d206db515990886b0761bfa835

7 years agoadd test for bug #74230
Anatol Belski [Mon, 27 Mar 2017 17:33:51 +0000 (19:33 +0200)]
add test for bug #74230

7 years agoDon't retain mt_rand() seeds across requests
x-xiang [Wed, 8 Mar 2017 03:43:14 +0000 (11:43 +0800)]
Don't retain mt_rand() seeds across requests

In particular, this prevents manual seeding of mt_rand() to leak
across requests.

7 years agoMerge branch 'PHP-7.0' into PHP-7.1
Derick Rethans [Mon, 27 Mar 2017 17:01:30 +0000 (18:01 +0100)]
Merge branch 'PHP-7.0' into PHP-7.1

7 years agoForgot to update the output in the test too
Derick Rethans [Mon, 27 Mar 2017 17:01:22 +0000 (18:01 +0100)]
Forgot to update the output in the test too

7 years agoMerge branch 'PHP-7.0' into PHP-7.1
Anatol Belski [Mon, 27 Mar 2017 16:49:59 +0000 (18:49 +0200)]
Merge branch 'PHP-7.0' into PHP-7.1

* PHP-7.0:
  always use staging deps for CI, that's what we have a CI for as well

7 years agoalways use staging deps for CI, that's what we have a CI for as well
Anatol Belski [Mon, 27 Mar 2017 16:07:16 +0000 (18:07 +0200)]
always use staging deps for CI, that's what we have a CI for as well

7 years agoMerge branch 'PHP-7.0' into PHP-7.1
Derick Rethans [Mon, 27 Mar 2017 10:28:35 +0000 (11:28 +0100)]
Merge branch 'PHP-7.0' into PHP-7.1

7 years agoFixed test for #33415 due to data fixes.
Derick Rethans [Mon, 27 Mar 2017 10:28:16 +0000 (11:28 +0100)]
Fixed test for #33415 due to data fixes.

7 years agoUpdated to version 2017.2 (2017b)
Derick Rethans [Fri, 24 Mar 2017 12:25:26 +0000 (12:25 +0000)]
Updated to version 2017.2 (2017b)

7 years agoUpdated to version 2017.2 (2017b)
Derick Rethans [Fri, 24 Mar 2017 12:25:25 +0000 (12:25 +0000)]
Updated to version 2017.2 (2017b)

7 years agoEmpty merge
Derick Rethans [Fri, 24 Mar 2017 12:25:25 +0000 (12:25 +0000)]
Empty merge

7 years agoAdded a test case to make sure microseconds work.
Derick Rethans [Fri, 24 Mar 2017 11:39:32 +0000 (11:39 +0000)]
Added a test case to make sure microseconds work.

7 years agoMerge branch 'PHP-7.0' into PHP-7.1
Nikita Popov [Thu, 23 Mar 2017 21:49:51 +0000 (22:49 +0100)]
Merge branch 'PHP-7.0' into PHP-7.1

7 years agoFix sequencing UB
Nikita Popov [Thu, 23 Mar 2017 21:48:45 +0000 (22:48 +0100)]
Fix sequencing UB

7 years agoFix lineno for AST_ZVAL nodes
Nikita Popov [Thu, 23 Mar 2017 21:42:57 +0000 (22:42 +0100)]
Fix lineno for AST_ZVAL nodes

7 years agoMerge branch 'PHP-7.0' into PHP-7.1
Sara Golemon [Thu, 23 Mar 2017 20:38:58 +0000 (13:38 -0700)]
Merge branch 'PHP-7.0' into PHP-7.1

* PHP-7.0:
  Fix bug where `yield from` is captured too greedily

7 years agoFix bug where `yield from` is captured too greedily
Sara Golemon [Thu, 23 Mar 2017 19:27:33 +0000 (12:27 -0700)]
Fix bug where `yield from` is captured too greedily

In the following piece of code:

```php
function from1234($x) {
  return $x;
}
function foo($x) {
  yield from1234($x);
}
```

The statement inside foo is taken as `yield from` `1234($x)`
which is neither the intent, nor even legal syntax for an fcall.

Do a lookahead for breaking non-label characters after the
`yield from` and only accept it if they occur.

7 years agoMerge branch 'PHP-7.0' into PHP-7.1
Dmitry Stogov [Thu, 23 Mar 2017 15:59:56 +0000 (18:59 +0300)]
Merge branch 'PHP-7.0' into PHP-7.1

* PHP-7.0:
  Fixed uninitialized data

7 years agoFixed uninitialized data
Dmitry Stogov [Thu, 23 Mar 2017 15:59:27 +0000 (18:59 +0300)]
Fixed uninitialized data

7 years agoMerge branch 'PHP-7.0' into PHP-7.1
Anatol Belski [Thu, 23 Mar 2017 12:14:17 +0000 (13:14 +0100)]
Merge branch 'PHP-7.0' into PHP-7.1

* PHP-7.0:
  adjust deps dir naming scheme

7 years agoadjust deps dir naming scheme
Anatol Belski [Thu, 23 Mar 2017 12:00:14 +0000 (13:00 +0100)]
adjust deps dir naming scheme

not principal, just to have it same way as everywhere

7 years agoMerge branch 'PHP-7.0' into PHP-7.1
Anatol Belski [Tue, 21 Mar 2017 11:44:36 +0000 (12:44 +0100)]
Merge branch 'PHP-7.0' into PHP-7.1

* PHP-7.0:
  explicitly ignore php.ini for proc open tests

7 years agoexplicitly ignore php.ini for proc open tests
Anatol Belski [Tue, 21 Mar 2017 11:39:40 +0000 (12:39 +0100)]
explicitly ignore php.ini for proc open tests

In some cases, when an environment is unclean, tests might get stuck fe
when some incorrect ini file is loaded. As the test depends on the core
only, it is safer to explicitly ignore the ini. Any ini can be passed in
the cmd itself, if needed.

7 years agoFix for #73837: "new DateTime()" with a cast to double
Derick Rethans [Mon, 20 Mar 2017 17:48:15 +0000 (17:48 +0000)]
Fix for #73837: "new DateTime()" with a cast to double

7 years agoMerge branch 'PHP-7.0' into PHP-7.1
Jakub Zelenka [Mon, 20 Mar 2017 16:08:16 +0000 (16:08 +0000)]
Merge branch 'PHP-7.0' into PHP-7.1

7 years agoLower timeout in test for but #72333
Jakub Zelenka [Mon, 20 Mar 2017 16:07:12 +0000 (16:07 +0000)]
Lower timeout in test for but #72333

7 years agoMerge branch 'PHP-7.0' into PHP-7.1
Nikita Popov [Fri, 17 Mar 2017 19:20:17 +0000 (20:20 +0100)]
Merge branch 'PHP-7.0' into PHP-7.1

7 years agoFix bug #74265
Nikita Popov [Fri, 17 Mar 2017 19:19:40 +0000 (20:19 +0100)]
Fix bug #74265

7 years agoMerge branch 'PHP-7.0' into PHP-7.1
Jakub Zelenka [Fri, 17 Mar 2017 19:08:26 +0000 (19:08 +0000)]
Merge branch 'PHP-7.0' into PHP-7.1

7 years agoMake test 002 for bug #65538 not to use https in cafile
Jakub Zelenka [Fri, 17 Mar 2017 19:07:32 +0000 (19:07 +0000)]
Make test 002 for bug #65538 not to use https in cafile

7 years agoMerge branch 'PHP-7.0' into PHP-7.1
Jakub Zelenka [Fri, 17 Mar 2017 18:12:37 +0000 (18:12 +0000)]
Merge branch 'PHP-7.0' into PHP-7.1

7 years agoConsume data by server in test for bug #72333
Jakub Zelenka [Fri, 17 Mar 2017 18:11:50 +0000 (18:11 +0000)]
Consume data by server in test for bug #72333

Client should be able to write more data and prevent time out

7 years agoMerge branch 'PHP-7.0' into PHP-7.1
Nikita Popov [Fri, 17 Mar 2017 12:35:50 +0000 (13:35 +0100)]
Merge branch 'PHP-7.0' into PHP-7.1

7 years agoFix AST start lineno for list nodes
Nikita Popov [Fri, 17 Mar 2017 12:34:18 +0000 (13:34 +0100)]
Fix AST start lineno for list nodes

If the node is initialized with children, check if a child has a
lower start lineno, similar to what we do for fixed-sized nodes
as well.

7 years agoDisable block pass for large functions
Nikita Popov [Fri, 17 Mar 2017 11:48:03 +0000 (12:48 +0100)]
Disable block pass for large functions

This is the last fix for bug #74250.

7 years agoMerge branch 'PHP-7.0' into PHP-7.1
Jakub Zelenka [Thu, 16 Mar 2017 18:12:54 +0000 (18:12 +0000)]
Merge branch 'PHP-7.0' into PHP-7.1

7 years agoMake test for bug #72333 a bit more reliable
Jakub Zelenka [Thu, 16 Mar 2017 18:11:56 +0000 (18:11 +0000)]
Make test for bug #72333 a bit more reliable

7 years agoFugbix typo
Sebastian Bergmann [Thu, 16 Mar 2017 18:10:07 +0000 (19:10 +0100)]
Fugbix typo

7 years agoFurther optimize worklist management
Nikita Popov [Thu, 16 Mar 2017 17:11:27 +0000 (18:11 +0100)]
Further optimize worklist management

Instead of always popping the first elements, do multiple complete
iterations of the worklist until it is empty.

7 years agoSlightly optimize worklist management
Nikita Popov [Thu, 16 Mar 2017 16:32:27 +0000 (17:32 +0100)]
Slightly optimize worklist management

Avoid scanning the worklist twice on every iteration.

7 years agoOptimize DJ spanning tree back-edge check
Nikita Popov [Thu, 16 Mar 2017 16:02:11 +0000 (17:02 +0100)]
Optimize DJ spanning tree back-edge check

Instead of walking the DJ spanning tree upwards, record entry and
exit times during the DFS and use these to determine whether CJ
edges are sp-back edges.

7 years agoSort blocks in loop identification
Nikita Popov [Thu, 16 Mar 2017 15:49:36 +0000 (16:49 +0100)]
Sort blocks in loop identification

The previous implementation was doing O(blocks*levels) iterations,
which for a linear-ish domtree is O(blocks^2). Avoid this by sorting
the blocks by decreasing level upfront.

7 years agoMerge branch 'PHP-7.0' into PHP-7.1
Nikita Popov [Thu, 16 Mar 2017 11:57:36 +0000 (12:57 +0100)]
Merge branch 'PHP-7.0' into PHP-7.1

7 years agoReturn FALSE if error_log fails to write all bytes
Adam Saponara [Thu, 9 Mar 2017 19:27:01 +0000 (14:27 -0500)]
Return FALSE if error_log fails to write all bytes

7 years agoUse call_map to avoid linear call lookup
Nikita Popov [Thu, 16 Mar 2017 00:26:27 +0000 (01:26 +0100)]
Use call_map to avoid linear call lookup

7 years agoFix bug #69676
Nikita Popov [Wed, 15 Mar 2017 18:06:34 +0000 (19:06 +0100)]
Fix bug #69676

7 years agoMerge branch 'PHP-7.0' into PHP-7.1
Bob Weinand [Tue, 14 Mar 2017 23:09:42 +0000 (00:09 +0100)]
Merge branch 'PHP-7.0' into PHP-7.1

7 years agoFixed bug #74240 (deflate_add can allocate too much memory)
Matt Bonneau [Mon, 13 Mar 2017 04:11:30 +0000 (00:11 -0400)]
Fixed bug #74240 (deflate_add can allocate too much memory)

7 years agoMerge branch 'PHP-7.0' into PHP-7.1
Bob Weinand [Tue, 14 Mar 2017 21:17:10 +0000 (22:17 +0100)]
Merge branch 'PHP-7.0' into PHP-7.1

7 years agoFix stream context changes leaking into copies of previous context
Bob Weinand [Tue, 14 Mar 2017 21:15:41 +0000 (22:15 +0100)]
Fix stream context changes leaking into copies of previous context

7 years agoMerge branch 'PHP-7.0' into PHP-7.1
Jakub Zelenka [Tue, 14 Mar 2017 18:46:29 +0000 (18:46 +0000)]
Merge branch 'PHP-7.0' into PHP-7.1

7 years agoMerge branch 'bug72333' into PHP-7.0
Jakub Zelenka [Tue, 14 Mar 2017 18:43:39 +0000 (18:43 +0000)]
Merge branch 'bug72333' into PHP-7.0

7 years agoReplace NEWS entry for #74159 with #72333
Jakub Zelenka [Tue, 14 Mar 2017 18:41:23 +0000 (18:41 +0000)]
Replace NEWS entry for #74159 with #72333

The #74159 is duplicate