Pierrick Charron
aec2d63124
Merge branch 'PHP-7.2' into PHP-7.3
2018-09-17 20:31:07 -04:00
Pierrick Charron
bc1ecd5d7f
Merge branch 'PHP-7.1' into PHP-7.2
2018-09-17 20:30:18 -04:00
Pierrick Charron
3bb218a0a7
Fix 76480: Use curl_multi_wait() so that timeouts are respected
2018-09-17 20:28:44 -04:00
Christoph M. Becker
ae46e20879
Merge branch 'PHP-7.2' into PHP-7.3
...
* PHP-7.2:
Fix #76886 : Can't build xmlrpc with expat
2018-09-15 13:24:48 +02:00
Thomas Petazzoni
3691b6d245
Fix #76886 : Can't build xmlrpc with expat
...
We fix it by including "php.h" in the HAVE_LIBEXPAT case.
2018-09-15 13:21:53 +02:00
Dmitry Stogov
17c7b71057
Merge branch 'PHP-7.2' into PHP-7.3
...
* PHP-7.2:
Fixed bug #76800 (foreach inconsistent if array modified during loop)
2018-09-14 10:32:31 +03:00
Dmitry Stogov
3bc4a63fc2
Fixed bug #76800 (foreach inconsistent if array modified during loop)
2018-09-14 10:28:31 +03:00
Dmitry Stogov
655a99d131
Fixed bug #76869 (Incorrect bypassing protected method accessibilty check).
2018-09-12 12:16:50 +03:00
Christoph M. Becker
e6585a472e
[ci skip] Update NEWS wrt. php-7.3.RC1 tagging
2018-09-11 16:28:36 +02:00
Christoph M. Becker
b117feeb2b
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 >
2018-09-11 12:23:20 +02:00
Remi Collet
609afc2992
add NEWS for 76582
2018-09-10 15:30:51 +02:00
Christoph M. Becker
58e2f5ead1
Merge branch 'PHP-7.2' into PHP-7.3
...
* PHP-7.2:
Fix #75273 : php_zlib_inflate_filter() may not update bytes_consumed
2018-09-08 19:13:26 +02:00
Christoph M. Becker
fa70b91a4f
Merge branch 'PHP-7.1' into PHP-7.2
...
* PHP-7.1:
Fix #75273 : php_zlib_inflate_filter() may not update bytes_consumed
2018-09-08 19:09:56 +02:00
Christoph M. Becker
90d863898c
Fix #75273 : php_zlib_inflate_filter() may not update bytes_consumed
...
Whenever we return with `PSFS_PASS_ON`, we need to update
`bytes_consumed` to not mislead the caller. Instead of fixing the
respective `if` clauses, we eschew the early bail-outs to simplify the
code a bit.
2018-09-08 19:01:36 +02:00
Nikita Popov
a32c563e50
Merge branch 'PHP-7.2' into PHP-7.3
2018-09-07 14:02:51 +02:00
Nikita Popov
cfdd828163
Fixed bug #76796
2018-09-07 14:02:03 +02:00
Christoph M. Becker
21cd552e1e
Merge branch 'PHP-7.2' into PHP-7.3
...
* PHP-7.2:
Fix #74454 : Wrong exception being thrown when using ReflectionMethod
2018-09-05 15:10:27 +02:00
Christoph M. Becker
7a2c9585c4
Merge branch 'PHP-7.1' into PHP-7.2
...
* PHP-7.1:
Fix #74454 : Wrong exception being thrown when using ReflectionMethod
2018-09-05 15:07:59 +02:00
Christoph M. Becker
c0a389a927
Fix #74454 : Wrong exception being thrown when using ReflectionMethod
...
If zend_throw_exception_ex() already threw an exception, we should not
throw again.
2018-09-05 15:05:19 +02:00
Anatol Belski
d903fc0861
Restore NEWS entry [skip ci]
2018-09-04 13:03:17 +02:00
Xinchen Hui
3497b75b73
Fixed bug #76825 (Undefined symbols ___cpuid_count)
2018-09-04 17:26:46 +08:00
Joe Watkins
21f8cd2a92
Merge branch 'PHP-7.1' into PHP-7.2
...
* PHP-7.1:
Fix bug #74764 and add a test case
2018-09-04 11:12:39 +02:00
Ville Hukkamaki
0f724453c0
Fix bug #74764 and add a test case
2018-09-04 11:12:04 +02:00
Anatol Belski
64d2978546
[ci skip] Update NEWS
2018-09-04 11:02:26 +02:00
Anatol Belski
e58690a26d
[ci skip] Update NEWS
2018-09-04 11:01:24 +02:00
Nikita Popov
6122f67492
Merge branch 'PHP-7.2' into PHP-7.3
2018-09-04 04:57:13 +02:00
Nikita Popov
fcf78dfb89
Merge branch 'PHP-7.1' into PHP-7.2
2018-09-04 04:55:15 +02:00
Ville Hukkamaki
742783c3ee
Fixed bug #73457
...
Correctly report errors when opening FTP data connection.
2018-09-04 04:53:38 +02:00
Christoph M. Becker
3e863ff29e
Update to Oniguruma 6.9.0
2018-09-03 12:26:03 +02:00
Christoph M. Becker
0a51e75e28
Merge branch 'PHP-7.2' into PHP-7.3
...
* PHP-7.2:
Fix #75696 : posix_getgrnam fails to print details of group
2018-09-01 14:30:08 +02:00
Christoph M. Becker
7bcda659f8
Merge branch 'PHP-7.1' into PHP-7.2
...
* PHP-7.1:
Fix #75696 : posix_getgrnam fails to print details of group
2018-09-01 14:28:13 +02:00
Christoph M. Becker
2677d43850
Fix #75696 : posix_getgrnam fails to print details of group
...
According to the POSIX specification of `getgrnam_r()` the result of
`sysconf(_SC_GETGR_R_SIZE_MAX)` is an initial value suggested for the
size of the buffer, and `ERANGE` signals that insufficient storage was
supplied. So if we get `ERANGE`, we try again with a buffer twice as
big, and so on, instead of failing.
2018-09-01 14:25:59 +02:00
Anatol Belski
bcfe5f5845
[ci skip] Update NEWS
2018-09-01 11:33:39 +02:00
Christoph M. Becker
c5231ad394
Fix #76820 : Z_COPYABLE invalid definition
...
We remove the extraneous parenthesis.
2018-08-30 18:00:51 +02:00
Remi Collet
cc63568400
NEWS for #76818
2018-08-30 14:50:26 +02:00
Sara Golemon
5fee4e7108
Prep for 7.1.23
2018-08-29 12:41:05 -04:00
Anatol Belski
d21220d7f0
Update NEWS
2018-08-29 16:12:18 +02:00
Christoph M. Becker
ce201df40f
[ci skip] Update NEWS wrt. php-7.3.0beta3 tagging
2018-08-28 12:22:57 +02:00
Remi Collet
7353dae815
bump to 7.2.11-dev
2018-08-28 10:17:33 +02:00
Christoph M. Becker
4d6b0b5031
Merge branch 'PHP-7.2' into PHP-7.3
...
* PHP-7.2:
Fix #68180 : iconv_mime_decode can return extra characters in a header
2018-08-26 13:23:51 +02:00
Christoph M. Becker
20849b0b0f
Merge branch 'PHP-7.1' into PHP-7.2
...
* PHP-7.1:
Fix #68180 : iconv_mime_decode can return extra characters in a header
2018-08-26 13:21:22 +02:00
Christoph M. Becker
efb86aef12
Fix #68180 : iconv_mime_decode can return extra characters in a header
...
Basically, the algorithm to append a converted string to an existing
`smart_str` works by increasing the `smart_str` buffer, to let `iconv`
convert characters until there is no more space, to set the new length
of the `smart_str` and to repeat until there is no more input.
Formerly, the new length calculation has been wrong, though, since we
would have to take the old `out_len` into account (`buf_growth -
old_out_len - out_len`). However, since there is no need to take the
old `out_len` into account when increasing the `smart_str` buffer, we
can simplify the fix, avoiding an additional variable.
2018-08-26 13:18:35 +02:00
Christoph M. Becker
b5afc99afb
Merge branch 'PHP-7.2' into PHP-7.3
...
* PHP-7.2:
Fix #60494 : iconv_mime_decode does ignore special characters
2018-08-25 17:52:16 +02:00
Christoph M. Becker
314b8ecf8b
Merge branch 'PHP-7.1' into PHP-7.2
...
* PHP-7.1:
Fix #60494 : iconv_mime_decode does ignore special characters
2018-08-25 17:47:29 +02:00
Christoph M. Becker
e29c946c29
Fix #60494 : iconv_mime_decode does ignore special characters
...
We must not ignore erroneous characters in mime headers, but rather let
iconv_mime_decode() fail in this case, issuing the usual notice
regarding illegal characters.
2018-08-25 17:40:39 +02:00
Christoph M. Becker
065eee16b5
Merge branch 'PHP-7.2' into PHP-7.3
...
* PHP-7.2:
Fix #63839 : iconv_mime_decode_headers function is skipping headers
2018-08-25 14:54:32 +02:00
Christoph M. Becker
7e176ddb57
Merge branch 'PHP-7.1' into PHP-7.2
...
* PHP-7.1:
Fix #63839 : iconv_mime_decode_headers function is skipping headers
2018-08-25 14:52:54 +02:00
Christoph M. Becker
8754d44167
Fix #63839 : iconv_mime_decode_headers function is skipping headers
...
We have to cater to the possibility that `=?` is not the start of an
encoded-word, but rather a literal `=?`. If a line break is found
while we're still looking for the charset, we can safely assume that
it's a literal `=?`, and act accordingly.
2018-08-25 14:51:13 +02:00
Christoph M. Becker
50fec3be0e
Merge branch 'PHP-7.2' into PHP-7.3
...
* PHP-7.2:
Fix #55146 : iconv_mime_decode_headers() skips some headers
2018-08-25 14:43:13 +02:00
Christoph M. Becker
6922cae4ae
Merge branch 'PHP-7.1' into PHP-7.2
...
* PHP-7.1:
Fix #55146 : iconv_mime_decode_headers() skips some headers
2018-08-25 14:41:38 +02:00