]> granicus.if.org Git - php/log
php
7 years agoEmpty merge
Derick Rethans [Fri, 24 Mar 2017 12:25:26 +0000 (12:25 +0000)]
Empty merge

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 agoEmpty merge
Derick Rethans [Fri, 24 Mar 2017 12:25:25 +0000 (12:25 +0000)]
Empty merge

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 agoMerge branch 'PHP-7.1'
Derick Rethans [Fri, 24 Mar 2017 11:39:38 +0000 (11:39 +0000)]
Merge branch 'PHP-7.1'

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.1'
Nikita Popov [Thu, 23 Mar 2017 21:50:21 +0000 (22:50 +0100)]
Merge branch 'PHP-7.1'

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 agoAdd test for previous commit
Nikita Popov [Thu, 23 Mar 2017 21:36:55 +0000 (22:36 +0100)]
Add test for previous commit

7 years agoMake sure lengths and refs are unsigned in unserialize()
Nikita Popov [Thu, 23 Mar 2017 21:30:59 +0000 (22:30 +0100)]
Make sure lengths and refs are unsigned in unserialize()

7 years agoFixed bug #74300
xKhorasan [Thu, 23 Mar 2017 14:56:17 +0000 (23:56 +0900)]
Fixed bug #74300

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

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

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 agoparametrize crt, so only one place has to be changed
Anatol Belski [Thu, 23 Mar 2017 18:26:30 +0000 (19:26 +0100)]
parametrize crt, so only one place has to be changed

7 years agoChange 'undefined constant' from E_NOTICE to E_WARNING and mention deprecation
Rowan Collins [Sat, 4 Mar 2017 22:47:19 +0000 (22:47 +0000)]
Change 'undefined constant' from E_NOTICE to E_WARNING and mention deprecation

Implements RFC "Deprecate and Remove Bareword (Unquoted) Strings"
[https://wiki.php.net/rfc/deprecate-bareword-strings]

7 years agoMerge branch 'PHP-7.1'
Dmitry Stogov [Thu, 23 Mar 2017 16:00:07 +0000 (19:00 +0300)]
Merge branch 'PHP-7.1'

* PHP-7.1:
  Fixed uninitialized data

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.1'
Anatol Belski [Thu, 23 Mar 2017 12:15:30 +0000 (13:15 +0100)]
Merge branch 'PHP-7.1'

* PHP-7.1:
  adjust deps dir naming scheme

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 agoswitch AppVeyor to vc15 for master
Anatol Belski [Thu, 23 Mar 2017 11:37:49 +0000 (12:37 +0100)]
switch AppVeyor to vc15 for master

7 years agoskip the test on OpenSSL < 1.1 for now
Anatol Belski [Thu, 23 Mar 2017 02:09:30 +0000 (03:09 +0100)]
skip the test on OpenSSL < 1.1 for now

7 years agoUse ZSTR_CHAR in token_get_all()
Nikita Popov [Wed, 22 Mar 2017 21:38:07 +0000 (22:38 +0100)]
Use ZSTR_CHAR in token_get_all()

7 years agoSimplify increment_lineno handling
Nikita Popov [Wed, 22 Mar 2017 21:26:24 +0000 (22:26 +0100)]
Simplify increment_lineno handling

7 years agofix version check at right place
Anatol Belski [Wed, 22 Mar 2017 16:44:47 +0000 (17:44 +0100)]
fix version check at right place

7 years agoRevert "fix wrong version check"
Anatol Belski [Wed, 22 Mar 2017 16:42:44 +0000 (17:42 +0100)]
Revert "fix wrong version check"

This reverts commit 307a4a2315bc13bbcb87567f685a96d1effc9727.

7 years agofix wrong version check
Anatol Belski [Wed, 22 Mar 2017 14:54:28 +0000 (15:54 +0100)]
fix wrong version check

7 years agofix test warnings for OpenSSL 1.1
Anatol Belski [Wed, 22 Mar 2017 11:23:19 +0000 (12:23 +0100)]
fix test warnings for OpenSSL 1.1

add skip condition

7 years agoimprove zlib version check for tests
Anatol Belski [Wed, 22 Mar 2017 10:04:08 +0000 (11:04 +0100)]
improve zlib version check for tests

7 years agomake test more flexible to match different compressed strings
Anatol Belski [Wed, 22 Mar 2017 01:33:38 +0000 (02:33 +0100)]
make test more flexible to match different compressed strings

particurarly needed with zlib 1.2.11

7 years agoFix typo
Adam Baratz [Mon, 20 Mar 2017 22:27:25 +0000 (18:27 -0400)]
Fix typo

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

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

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 agoNEWS
Remi Collet [Tue, 21 Mar 2017 10:16:54 +0000 (11:16 +0100)]
NEWS

7 years agoFixed Bug #73803 Reflection of ZipArchive does not show public properties
Remi Collet [Tue, 21 Mar 2017 10:15:45 +0000 (11:15 +0100)]
Fixed Bug #73803 Reflection of ZipArchive does not show public properties

7 years agoAdd PDO parameter types for national character set strings
Adam Baratz [Mon, 20 Mar 2017 22:25:50 +0000 (18:25 -0400)]
Add PDO parameter types for national character set strings

7 years agoStyle cleanup
Adam Baratz [Mon, 20 Mar 2017 21:56:19 +0000 (17:56 -0400)]
Style cleanup

7 years agoMerge branch 'PHP-7.1'
Derick Rethans [Mon, 20 Mar 2017 17:49:34 +0000 (17:49 +0000)]
Merge branch 'PHP-7.1'

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 agoRemove unused field
Adam Baratz [Mon, 20 Mar 2017 16:59:21 +0000 (12:59 -0400)]
Remove unused field

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

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 agoupdate sdk version for appveyor and set explicit crt
Anatol Belski [Mon, 20 Mar 2017 14:41:43 +0000 (15:41 +0100)]
update sdk version for appveyor and set explicit crt

7 years agoAdd note to the UPGRADING about JSON_OBJECT_AS_ARRAY priority changes
Jakub Zelenka [Mon, 20 Mar 2017 13:54:47 +0000 (13:54 +0000)]
Add note to the UPGRADING about JSON_OBJECT_AS_ARRAY priority changes

7 years agouse extra flag to turn on php implementations
Anatol Belski [Sun, 19 Mar 2017 22:19:31 +0000 (23:19 +0100)]
use extra flag to turn on php implementations

7 years agobasic support for external libzip
Anatol Belski [Sun, 19 Mar 2017 22:10:49 +0000 (23:10 +0100)]
basic support for external libzip

7 years agodefine corresponding config macros, as we already trick symbols
Anatol Belski [Sun, 19 Mar 2017 21:14:14 +0000 (22:14 +0100)]
define corresponding config macros, as we already trick symbols

7 years agoAdd news entry for bugfix 73991
Sara Golemon [Fri, 17 Mar 2017 22:39:18 +0000 (15:39 -0700)]
Add news entry for bugfix 73991

7 years agoAllow JSON_OBJECT_AS_ARRAY option to actually have meaning
Sara Golemon [Fri, 17 Mar 2017 22:36:24 +0000 (15:36 -0700)]
Allow JSON_OBJECT_AS_ARRAY option to actually have meaning

Options can only be passed if $assoc is passed, but passing
assoc clobbers any attempt to pass JSON_OBJECT_AS_ARRAY as an
option.

Allow the option to occur in the options field by handling
"null" as default/use-options.

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

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.1'
Jakub Zelenka [Fri, 17 Mar 2017 19:09:06 +0000 (19:09 +0000)]
Merge branch 'PHP-7.1'

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.1'
Jakub Zelenka [Fri, 17 Mar 2017 18:13:05 +0000 (18:13 +0000)]
Merge branch 'PHP-7.1'

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.1'
Nikita Popov [Fri, 17 Mar 2017 12:36:03 +0000 (13:36 +0100)]
Merge branch 'PHP-7.1'

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 agoMerge branch 'PHP-7.1'
Nikita Popov [Fri, 17 Mar 2017 11:54:11 +0000 (12:54 +0100)]
Merge branch '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

This is the last fix for bug #74250.

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

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 agoMerge branch 'PHP-7.1'
Sebastian Bergmann [Thu, 16 Mar 2017 18:10:23 +0000 (19:10 +0100)]
Merge branch 'PHP-7.1'

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

7 years agoMerge branch 'PHP-7.1'
Nikita Popov [Thu, 16 Mar 2017 17:15:13 +0000 (18:15 +0100)]
Merge branch 'PHP-7.1'

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 agoMerge branch 'PHP-7.1'
Nikita Popov [Thu, 16 Mar 2017 16:40:33 +0000 (17:40 +0100)]
Merge branch 'PHP-7.1'

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.1'
Nikita Popov [Thu, 16 Mar 2017 11:57:43 +0000 (12:57 +0100)]
Merge branch 'PHP-7.1'

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 agoMerge branch 'PHP-7.1'
Nikita Popov [Thu, 16 Mar 2017 11:34:36 +0000 (12:34 +0100)]
Merge branch 'PHP-7.1'

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 agoAdd comma to comment in php.ini
adrian5 [Wed, 15 Mar 2017 12:16:03 +0000 (13:16 +0100)]
Add comma to comment in php.ini

7 years agoRemove more unnecessary checks on Zend's allocator functions
Thomas Punt [Thu, 16 Mar 2017 08:27:57 +0000 (08:27 +0000)]
Remove more unnecessary checks on Zend's allocator functions

7 years agoRemove dead code from BCMath extension
Thomas Punt [Wed, 15 Mar 2017 17:09:26 +0000 (17:09 +0000)]
Remove dead code from BCMath extension

7 years agoMerge branch 'PHP-7.1'
Nikita Popov [Wed, 15 Mar 2017 18:50:26 +0000 (19:50 +0100)]
Merge branch 'PHP-7.1'

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

7 years agoUse zend_test shared for tests
Anatol Belski [Wed, 15 Mar 2017 11:34:36 +0000 (12:34 +0100)]
Use zend_test shared for tests

The snapshot build enables everything it could find. The test run will
load all the shared exts as well, until defined otherwise. So no needs
for an extra action.

7 years agofix shared compilation
Anatol Belski [Wed, 15 Mar 2017 10:43:20 +0000 (11:43 +0100)]
fix shared compilation

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

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.1'
Bob Weinand [Tue, 14 Mar 2017 21:17:23 +0000 (22:17 +0100)]
Merge branch 'PHP-7.1'

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.1'
Jakub Zelenka [Tue, 14 Mar 2017 18:47:51 +0000 (18:47 +0000)]
Merge branch 'PHP-7.1'

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