Anatol Belski
0cb5a2cb49
Merge branch 'PHP-7.0' into PHP-7.1
...
* PHP-7.0:
Move dev to 7.0.25
2017-09-12 09:03:07 +02:00
Anatol Belski
5cf215536b
Move dev to 7.0.25
2017-09-12 09:02:01 +02:00
Anatol Belski
ea21b60dda
Merge branch 'PHP-7.0' into PHP-7.1
...
* PHP-7.0:
[ci skip] Fix news entry format
2017-09-12 08:38:10 +02:00
Anatol Belski
b5c9cd4df6
[ci skip] Fix news entry format
2017-09-12 08:36:05 +02:00
Anatol Belski
194547f591
[ci skip] Fix news entry format
2017-09-12 08:35:10 +02:00
Joe Watkins
7015d22116
Merge branch 'PHP-7.0' into PHP-7.1
...
* PHP-7.0:
fix bug #75173 incorrect behavior of AppendIterator::append in foreach loop
2017-09-12 07:06:35 +01:00
jhdxr
3e11b7fc21
fix bug #75173 incorrect behavior of AppendIterator::append in foreach loop
2017-09-12 07:05:58 +01:00
Xinchen Hui
afd59b0c80
Merge branch 'PHP-7.1' of git.php.net:/php-src into PHP-7.1
...
* 'PHP-7.1' of git.php.net:/php-src:
Fixed bug #46781 (BC math handles minus zero incorrectly)
Fork test to keep up with libxsl >= 1.1.30
Add symbol to libxml exports
Fix test compat with libxml2 2.9.5
Fix test compat with libxml2 2.9.5
Fix test portability
Fix test compatibility with libxml2 2.9.5
2017-09-12 13:27:40 +08:00
Xinchen Hui
58aa726548
Fixed arginfo for get_defined_functions
2017-09-12 13:26:07 +08:00
Christoph M. Becker
87a91aef83
Merge branch 'PHP-7.0' into PHP-7.1
...
* PHP-7.0:
Fixed bug #46781 (BC math handles minus zero incorrectly)
2017-09-11 23:46:21 +02:00
Christoph M. Becker
9aa6898b9b
Fixed bug #46781 (BC math handles minus zero incorrectly)
...
Actually, there is no negative zero at all. We obey Postel's law, and
still accept negative zeroes, but we store them as positive zeroes
after the conversion from string, i.e. we normalize before further
processing.
2017-09-11 23:44:23 +02:00
Anatol Belski
88c7556d99
Merge branch 'PHP-7.0' into PHP-7.1
...
* PHP-7.0:
Fork test to keep up with libxsl >= 1.1.30
2017-09-11 18:20:13 +02:00
Anatol Belski
d103802003
Fork test to keep up with libxsl >= 1.1.30
...
The behavior of date parsing has changed and is reflected in the
changelog. Invalid dates are not accepted, in particular dates with a
negative year, as in this test.
2017-09-11 18:14:51 +02:00
Anatol Belski
75cb69740e
Merge branch 'PHP-7.0' into PHP-7.1
...
* PHP-7.0:
Add symbol to libxml exports
2017-09-11 17:36:25 +02:00
Anatol Belski
04a6bbae6c
Add symbol to libxml exports
2017-09-11 17:35:25 +02:00
Anatol Belski
a77eddff96
Merge branch 'PHP-7.0' into PHP-7.1
...
* PHP-7.0:
Fix test compat with libxml2 2.9.5
2017-09-11 16:15:32 +02:00
Anatol Belski
cab41ecb93
Fix test compat with libxml2 2.9.5
...
One warning disappeared, but the flow is still valid.
2017-09-11 16:12:04 +02:00
Anatol Belski
b5d7663444
Merge branch 'PHP-7.0' into PHP-7.1
...
* PHP-7.0:
Fix test compat with libxml2 2.9.5
2017-09-11 14:35:24 +02:00
Anatol Belski
3549d9184a
Fix test compat with libxml2 2.9.5
...
From 2.9.5 on libxml explcitly initializes the keepBlanks flag.
2017-09-11 14:32:54 +02:00
Anatol Belski
d33194d2aa
Fix test portability
...
The message comes from the C runtime, so it is not reliable to check the
exact wording.
2017-09-11 12:38:20 +02:00
Anatol Belski
9ca0cd0a1a
Merge branch 'PHP-7.0' into PHP-7.1
...
* PHP-7.0:
Fix test compatibility with libxml2 2.9.5
2017-09-11 12:18:06 +02:00
Anatol Belski
5f9ae45e22
Fix test compatibility with libxml2 2.9.5
2017-09-11 12:12:19 +02:00
Xinchen Hui
c40c0b8111
Not sure why these lines are removed :<
2017-09-11 13:35:49 +08:00
Xinchen Hui
822c13b9ef
Merge branch 'PHP-7.1' of git.php.net:/php-src into PHP-7.1
...
* 'PHP-7.1' of git.php.net:/php-src:
Fixed bug #73730 (textdomain(null) throws in strict mode)
Fix bug75178.phpt on Windows
Fixed bug #75178 (bcpowmod() misbehaves for non-integer base or modulus)
Add BC define for users of the typoed zend_symbtable_add_new
Fix typo in zend_symtable_add_new() API name
Fixed bug #54598 (bcpowmod() may return 1 if modulus is 1)
Fixed bug #44995 (bcpowmod() fails if scale != 0)
Add missing null termination
Fixed bug #70470
Add test for bug #75155
Revert "Fixed #74977 - Appending AppendIterator leads to segfault"
2017-09-11 12:46:26 +08:00
Xinchen Hui
6b2813c3a7
Fixed bug #75152 (signed integer overflow in parse_iv)
2017-09-11 12:46:11 +08:00
Christoph M. Becker
b394343a31
Merge branch 'PHP-7.0' into PHP-7.1
...
* PHP-7.0:
Fixed bug #73730 (textdomain(null) throws in strict mode)
2017-09-10 18:41:00 +02:00
Christoph M. Becker
4b746fce1c
Fixed bug #73730 (textdomain(null) throws in strict mode)
...
The $text_domain parameter may be NULL, which we have to cater to
explicitly with regard to strict_types.
2017-09-10 18:39:29 +02:00
Christoph M. Becker
6602cc0385
Merge branch 'PHP-7.0' into PHP-7.1
...
* PHP-7.0:
Fix bug75178.phpt on Windows
2017-09-09 16:54:23 +02:00
Christoph M. Becker
3fd08a1595
Fix bug75178.phpt on Windows
...
bug75178.phpt fails on Windows, because the stderr output is not
interspersed with stdout output there, but rather is appended to the
end. The fix is analogous to bug72093.phpt.
2017-09-09 16:46:32 +02:00
Christoph M. Becker
afa39038c2
Merge branch 'PHP-7.0' into PHP-7.1
...
* PHP-7.0:
Fixed bug #75178 (bcpowmod() misbehaves for non-integer base or modulus)
2017-09-09 13:20:14 +02:00
Christoph M. Becker
44eec946e8
Fixed bug #75178 (bcpowmod() misbehaves for non-integer base or modulus)
...
Since `bcpowmod()` does not support non-integral operands, we have to
truncate these in addition to emitting a respective warning. We also
have to work with the truncated values in the following.
We recognize that the division by one to enforce the truncation is
actually overkill, but we stick with it for now, and shall tackle the
issue for PHP 7.3.
2017-09-09 13:18:26 +02:00
Sara Golemon
a1573d5620
Merge branch 'PHP-7.0' into PHP-7.1
...
* PHP-7.0:
Add BC define for users of the typoed zend_symbtable_add_new
2017-09-07 17:36:04 -04:00
Sara Golemon
0413feb29c
Add BC define for users of the typoed zend_symbtable_add_new
2017-09-07 17:35:54 -04:00
Sara Golemon
9369843ee2
Merge branch 'PHP-7.0' into PHP-7.1
...
* PHP-7.0:
Fix typo in zend_symtable_add_new() API name
2017-09-07 16:26:45 -04:00
Sara Golemon
f18cf46d07
Fix typo in zend_symtable_add_new() API name
2017-09-07 16:25:25 -04:00
Christoph M. Becker
0f88a49fd5
Merge branch 'PHP-7.0' into PHP-7.1
...
* PHP-7.0:
Fixed bug #54598 (bcpowmod() may return 1 if modulus is 1)
2017-09-07 00:32:39 +02:00
Christoph M. Becker
b2919853f8
Fixed bug #54598 (bcpowmod() may return 1 if modulus is 1)
...
`x mod 1` is always zero; we have to take the scale into account,
though.
2017-09-07 00:30:05 +02:00
Christoph M. Becker
d724d8c107
Merge branch 'PHP-7.0' into PHP-7.1
...
* PHP-7.0:
Fixed bug #44995 (bcpowmod() fails if scale != 0)
2017-09-06 23:33:48 +02:00
Christoph M. Becker
dea41f3c3a
Fixed bug #44995 (bcpowmod() fails if scale != 0)
...
`bc_divmod()` is supposed to do integer division, so we must not apply
a scale factor here.
2017-09-06 23:30:53 +02:00
Nikita Popov
0b69ce72b8
Merge branch 'PHP-7.0' into PHP-7.1
2017-09-05 18:14:10 +02:00
Nikita Popov
42549b7844
Add missing null termination
2017-09-05 18:13:50 +02:00
Nikita Popov
e866e05b0d
Merge branch 'PHP-7.0' into PHP-7.1
2017-09-05 16:24:21 +02:00
Bouke van der Bijl
cd9d90f4d4
Fixed bug #70470
2017-09-05 16:23:32 +02:00
Nikita Popov
c2e3541cc1
Add test for bug #75155
2017-09-04 21:23:07 +02:00
Nikita Popov
b689857d53
Revert "Fixed #74977 - Appending AppendIterator leads to segfault"
...
This reverts commit dbc2ffba82 .
2017-09-04 21:20:49 +02:00
Anatol Belski
296d0826da
Merge branch 'PHP-7.0' into PHP-7.1
...
* PHP-7.0:
Fix command
2017-09-02 16:58:44 +02:00
Anatol Belski
24da62d342
Fix command
2017-09-02 16:56:52 +02:00
Christoph M. Becker
afad9006c7
Merge branch 'PHP-7.0' into PHP-7.1
...
* PHP-7.0:
Fixed bug #75139 (libgd/gd_interpolation.c:1786: suspicious if ?)
2017-09-02 00:11:36 +02:00
Christoph M. Becker
e20a6b0213
Fixed bug #75139 (libgd/gd_interpolation.c:1786: suspicious if ?)
...
We back-port https://github.com/libgd/libgd/commit/dd48286 even though
we cannot come up with a regression test, because the erroneous
condition appears to be impossible to trigger.
We also parenthesize the inner ternary operation to avoid confusion.
2017-09-02 00:04:02 +02:00
Anatol Belski
db78eff4c9
Merge branch 'PHP-7.0' into PHP-7.1
...
* PHP-7.0:
Make for exclusion per regex
2017-08-31 23:57:36 +02:00