Nikita Popov
cab1ea46e7
XFAIL observer_error_05.phpt test
2021-02-01 10:24:00 +01:00
Nikita Popov
9efd7ddd0a
Merge branch 'PHP-7.4' into PHP-8.0
...
* PHP-7.4:
Fix Laravel build on community job
2021-02-01 09:49:13 +01:00
Nikita Popov
217b9e7b41
Fix Laravel build on community job
...
Now requires PHP 7.4, so use php7.4 to run composer everywhere.
2021-02-01 09:48:14 +01:00
Nikita Popov
c72957b409
Merge branch 'PHP-7.4' into PHP-8.0
...
* PHP-7.4:
Fix build
2021-02-01 09:46:27 +01:00
Nikita Popov
ab8177de2c
Fix build
2021-02-01 09:46:17 +01:00
David CARLIER
12d08db913
crc32 mac build fix
...
Closes GH-6651.
2021-02-01 09:43:12 +01:00
Stanislav Malyshev
d94d0dda29
Merge branch 'PHP-7.4' into PHP-8.0
...
* PHP-7.4:
Fix bug #80672 - Null Dereference in SoapClient
2021-01-31 21:42:48 -08:00
Stanislav Malyshev
86de4d7af6
Merge branch 'PHP-7.3' into PHP-7.4
...
* PHP-7.3:
Fix bug #80672 - Null Dereference in SoapClient
2021-01-31 21:42:41 -08:00
Stanislav Malyshev
3c939e3f69
Fix bug #80672 - Null Dereference in SoapClient
2021-01-31 21:15:23 -08:00
Christoph M. Becker
49ef8bc026
Add missing stub for SodiumException
...
Closes GH-6649.
2021-01-28 23:25:59 +01:00
Remi Collet
b23a4256a6
NEWS
2021-01-28 16:26:46 +01:00
Remi Collet
4a35f4a476
Merge branch 'PHP-7.4' into PHP-8.0
...
* PHP-7.4:
NEWS
Fix #80682 opcache doesn't honour pcre.jit option
2021-01-28 16:26:26 +01:00
Remi Collet
aeb4f21549
NEWS
2021-01-28 16:25:35 +01:00
Remi Collet
067f7e4150
Fix #80682 opcache doesn't honour pcre.jit option
2021-01-28 16:24:39 +01:00
Michael Voříšek
27eb81604b
Fix stub for Serializable::serialize()
...
This method may also return null.
2021-01-28 10:15:07 +01:00
Sammy Kaye Powers
17142eab22
Observe fake closures
...
Closes GH-6607.
2021-01-28 10:03:41 +01:00
Stanislav Malyshev
e9b8b085a7
Rm unneeded function
2021-01-27 00:18:49 -08:00
Stanislav Malyshev
66a21e90cb
Merge branch 'PHP-7.4' into PHP-8.0
...
* PHP-7.4:
Rm unneeded function
2021-01-27 00:15:43 -08:00
Stanislav Malyshev
21f861225a
Merge branch 'PHP-7.3' into PHP-7.4
...
* PHP-7.3:
Rm unneeded function
2021-01-27 00:15:13 -08:00
Stanislav Malyshev
9c673083cd
Rm unneeded function
2021-01-27 00:13:43 -08:00
Stanislav Malyshev
effa287b35
Merge branch 'PHP-7.4' into PHP-8.0
...
* PHP-7.4:
Alternative fix for bug 77423
2021-01-26 22:55:16 -08:00
Stanislav Malyshev
fbf8c758fe
Merge branch 'PHP-7.3' into PHP-7.4
...
* PHP-7.3:
Alternative fix for bug 77423
2021-01-26 22:55:10 -08:00
Christoph M. Becker
4a89e726bd
Alternative fix for bug 77423
...
That bug report originally was about `parse_url()` misbehaving, but the
security aspect was actually only regarding `FILTER_VALIDATE_URL`.
Since the changes to `parse_url_ex()` apparently affect userland code
which is relying on the sloppy URL parsing[1], this alternative
restores the old parsing behavior, but ensures that the userinfo is
checked for correctness for `FILTER_VALIDATE_URL`.
[1] <5174de7cd3 (commitcomment-45967652) >
2021-01-26 22:54:58 -08:00
Dmitry Stogov
64622979f9
Fixed observer API and JIT compatibility
2021-01-26 21:31:15 +03:00
Christoph M. Becker
01a348617f
Merge branch 'PHP-7.4' into PHP-8.0
...
* PHP-7.4:
Fix #70091 : Phar does not mark UTF-8 filenames in ZIP archives
2021-01-26 19:15:37 +01:00
Christoph M. Becker
6a0b889f57
Fix #70091 : Phar does not mark UTF-8 filenames in ZIP archives
...
The default encoding of filenames in a ZIP archive is IBM Code Page
437. Phar, however, only supports UTF-8 filenames. Therefore we have
to mark filenames as being stored in UTF-8 by setting the general
purpose bit 11 (the language encoding flag).
The effect of not setting this bit for non ASCII filenames can be seen
in popular tools like 7-Zip and UnZip, but not when extracting the
archives via ext/phar (which is agnostic to the filename encoding), or
via ext/zip (which guesses the encoding). Thus we add a somewhat
brittle low-level test case.
Closes GH-6630.
2021-01-26 19:14:25 +01:00
Christoph M. Becker
372fb75b68
Merge branch 'PHP-7.4' into PHP-8.0
...
* PHP-7.4:
Update version
2021-01-26 19:09:35 +01:00
Christoph M. Becker
94af11d5e1
Update version
...
That appears to have been forgotten for a while.
2021-01-26 19:08:23 +01:00
Dmitry Stogov
b529d02d24
Allow observer handlers disabling optimization in RETURN opcode handler, that may cause loss value of returned local variable.
2021-01-26 19:23:13 +03:00
Dmitry Stogov
094e1a8b2d
Skip dummy frames allocated on CPU stack of zend_call_function().
...
(Usage of "current_observed_frame" varible looks unsafe to me).
2021-01-26 18:41:26 +03:00
Nikita Popov
a2dcd44272
Fix VAR return type verification
...
We should also set retval_ref when de-indirecting. Otherwise the
retval_ref != retval_ptr comparison below may incorrect assume
that we're returning a reference.
I don't have a reliable reproducer for this issue, but it sometimes
appears in certain configurations in arrow_functions/007.phpt in
conjunction with other changes.
2021-01-26 15:15:18 +01:00
Christoph M. Becker
2e580da28e
Merge branch 'PHP-7.4' into PHP-8.0
...
* PHP-7.4:
Fix #75850 : Unclear error message wrt. __halt_compiler() w/o semicolon
2021-01-25 18:49:22 +01:00
Christoph M. Becker
61ed904cec
Fix #75850 : Unclear error message wrt. __halt_compiler() w/o semicolon
...
We add the failure reason to the error message.
Closes GH-6638.
2021-01-25 18:47:15 +01:00
Nikita Popov
18507853cb
Improve switch continue warning
...
Don't suggest "continue N+1" if there is no wrapping loop. The
resulting code would be illegal.
2021-01-25 16:17:50 +01:00
Christoph M. Becker
d319098b24
Fix #53251 : bindtextdomain with null dir doesn't return old value
...
Apparently, users expect `bindtextdomain` and `bind_textdomain_codeset`
with `null` as second argument to work like their C counterparts,
namely to return the previously set value. Thus, we support that.
Closes GH-6631.
2021-01-25 15:44:14 +01:00
Alex Samorukov
527bcb1e2e
Fix opcache phpize build on FreeBSD
...
Closes GH-6589.
2021-01-25 15:10:47 +01:00
Derick Rethans
fee80e397d
Updated to version 2021.1 (2021a)
2021-01-25 10:44:06 +00:00
Derick Rethans
f31538c997
Empty merge
2021-01-25 10:44:06 +00:00
Derick Rethans
3f183bbcf8
Updated to version 2021.1 (2021a)
2021-01-25 10:44:05 +00:00
Derick Rethans
072cfef1d5
Empty merge
2021-01-25 10:44:05 +00:00
Derick Rethans
491488d217
Updated to version 2021.1 (2021a)
2021-01-25 10:44:04 +00:00
Christoph M. Becker
a86443f5a3
Add missing stub for SNMPException
2021-01-24 17:58:26 +01:00
Christoph M. Becker
bff7761653
Add missing stub for com_exception
2021-01-24 16:06:49 +01:00
Christoph M. Becker
02933f923e
Merge branch 'PHP-7.4' into PHP-8.0
...
* PHP-7.4:
Add missing SKIPIF clause for recently introduced test case
2021-01-21 17:28:41 +01:00
Christoph M. Becker
edb389730d
Add missing SKIPIF clause for recently introduced test case
2021-01-21 17:27:09 +01:00
Christoph M. Becker
c4e63c378c
Merge branch 'PHP-7.4' into PHP-8.0
...
* PHP-7.4:
Fix #80648 : Fix for bug 79296 should be based on runtime version
2021-01-20 16:24:53 +01:00
Christoph M. Becker
6adfb8c962
Fix #80648 : Fix for bug 79296 should be based on runtime version
...
Instead of checking for actually affected libzip versions, we now always
`ZIP_TRUNCATE` empty files unless `ZIP_RDONLY` is set.
Closes GH-6625.
2021-01-20 16:20:13 +01:00
Christoph M. Becker
0ad78817a3
Merge branch 'PHP-7.4' into PHP-8.0
...
* PHP-7.4:
Add missing SKIPIF clauses to new test cases
2021-01-20 11:04:48 +01:00
Christoph M. Becker
4c1b3e3036
Add missing SKIPIF clauses to new test cases
2021-01-20 11:02:52 +01:00
Nikita Popov
286c13e1e6
Skip preloading test on windows
2021-01-20 10:09:31 +01:00