Derick Rethans
fd6c4b1844
Update versions for PHP 7.4.6
php-7.4.6
2020-05-12 08:09:10 +00:00
Derick Rethans
2f1398dad9
Update NEWS for PHP 7.4.6
2020-05-12 08:09:09 +00:00
Derick Rethans
73cbb44157
Update NEWS for 7.4.6
2020-05-12 09:07:45 +01:00
Stanislav Malyshev
a3924ab654
Merge branch 'PHP-7.3' into PHP-7.4
...
* PHP-7.3:
Fix #78876 : Long variables cause OOM and temp files are not cleaned
Fix #78875 : Long filenames cause OOM and temp files are not cleaned
Update NEWS for 7.2.31
Update CREDITS for PHP 7.2.30
Update NEWS for PHP 7.2.30
2020-05-12 08:58:36 +01:00
Christoph M. Becker
214b57e80a
Merge branch 'PHP-7.3' into PHP-7.4
...
* PHP-7.3:
Fix #79528 : Different object of the same xml between 7.4.5 and 7.4.4
2020-05-01 17:35:05 +01:00
Derick Rethans
a58bfc67fe
Update NEWS for 7.4.6
2020-04-28 18:51:56 +01:00
Derick Rethans
ec1ae3406e
Update NEWS for PHP 7.4.6RC1
2020-04-28 18:51:56 +01:00
Nikita Popov
75470bc312
Revert "Fix #79065 : DOM classes do not expose properties to Reflection"
...
This reverts commit 6bc8f7e5a9 .
This causes an assertion failure in PHPUnit.
2020-04-28 15:09:41 +02:00
Christoph M. Becker
817e100a72
Merge branch 'PHP-7.3' into PHP-7.4
...
* PHP-7.3:
Bump version
2020-04-28 09:13:08 +02:00
Christoph M. Becker
6998cc5029
Bump version
2020-04-28 09:10:50 +02:00
Christoph M. Becker
6bc8f7e5a9
Fix #79065 : DOM classes do not expose properties to Reflection
...
We add a `get_properties` handler which complements the already
existing `has_property` and `read_property`handlers.
2020-04-27 10:04:29 +02:00
Christoph M. Becker
a2ed731fa5
Merge branch 'PHP-7.3' into PHP-7.4
...
* PHP-7.3:
Fix #79470 : PHP incompatible with 3rd party file system on demand
2020-04-27 09:31:38 +02:00
Christoph M. Becker
29968d8f99
Fix #79470 : PHP incompatible with 3rd party file system on demand
...
We add support for Activision HSM (`IO_REPARSE_TAG_ACTIVISION_HSM`) and
VFS for Git (`IO_REPARSE_TAG_PROJFS`). The latter fixes bug #78784 .
2020-04-27 09:30:57 +02:00
Christoph M. Becker
3151676f52
Fix #79514 : Memory leaks while including unexistent file
...
We have to destroy (un-opened) ZEND_HANDLE_FILENAMEs.
2020-04-24 18:14:53 +02:00
Derick Rethans
3676418568
Updated to version 2020.1 (2020a)
2020-04-24 12:31:32 +01:00
Derick Rethans
d6eab50ed0
Empty merge
2020-04-24 12:31:32 +01:00
Derick Rethans
b962d2e36f
Updated to version 2020.1 (2020a)
2020-04-24 12:31:30 +01:00
Christoph M. Becker
cf22af232a
Merge branch 'PHP-7.3' into PHP-7.4
...
* PHP-7.3:
Add additional preg_match test case
2020-04-23 17:36:04 +02:00
Graham Campbell
51fb8398e2
Add additional preg_match test case
...
(cherry picked from commit a1a044dcc7
on author's explicit request)
2020-04-23 17:35:09 +02:00
Nicolas Grekas
73d02c3b3e
Fix bug #79447
...
Partially reverts 846b647953 : instead of
throwing, this skips uninitialized typed properties when serializing objects.
This makes serialize with __sleep() behave the same as serialize()
without __sleep().
As in the non-__sleep() case, unserialize(serialize($x)) identity
may not be preserved due to replacement of uninitialized/unset
properties with default values. Fixing this will require changes to
the serialization format.
Closes GH-5396.
2020-04-23 10:30:33 +02:00
Christoph M. Becker
c705079b12
Merge branch 'PHP-7.3' into PHP-7.4
...
* PHP-7.3:
Fix #79503 : Memory leak on duplicate metadata
2020-04-22 15:08:50 +02:00
Christoph M. Becker
ccca2c448d
Fix #79503 : Memory leak on duplicate metadata
...
Duplicate metadata can only happen if someone tampers with the phar, so
we can and should treat that as error.
2020-04-22 15:07:46 +02:00
Graham Campbell
a1a044dcc7
Add additional preg_match test case
2020-04-22 15:02:08 +02:00
Christoph M. Becker
225117af71
Upgrade to PCRE2 10.34
...
We backport the slightly modified variant from master.
2020-04-22 14:23:26 +02:00
Nikita Popov
3e9dac2c6b
Don't rand() in test
...
Instead use port 0 to get a free port from the OS.
2020-04-20 16:35:52 +02:00
Nikita Popov
5c40491567
Fix file name clash in touch_variation1.phpt
2020-04-20 12:07:46 +02:00
Alex Dowad
0d11d37357
Fix bug #67369 ArrayObject serializatino drops the iterator class
...
When ArrayObject is round-tripped through serialize() and unserialize(),
it forgets any iterator class name which was set using ::setIteratorClass().
Fix that.
2020-04-20 11:55:18 +02:00
Christoph M. Becker
18ad38a7b2
Merge branch 'PHP-7.3' into PHP-7.4
...
* PHP-7.3:
Fix #79491 : Search for .user.ini extends up to root dir
2020-04-20 10:58:33 +02:00
Christoph M. Becker
fa10abd6d7
Fix #79491 : Search for .user.ini extends up to root dir
...
The `start` parameter of `php_cgi_ini_activate_user_config` is supposed
to hold the byte offset of the doc root in the given `path`. However,
the current expression which fixes a potential type incompatibility
will ever only evaluate to zero or one, because it uses the *logical*
and operator (`&&`). Furthermore we notice that subtracting one from
`doc_root_len` is not necessary, so there is even no need for the
`start` parameter at all.
2020-04-20 10:56:36 +02:00
Nikita Popov
721ca87e56
Merge branch 'PHP-7.3' into PHP-7.4
...
* PHP-7.3:
Apply doc root fix for FPM
2020-04-20 10:48:05 +02:00
Nikita Popov
f62571c121
Apply doc root fix for FPM
...
This is the change from GH-5417 but for FPM. This was stripping the
last character from the doc_root. Given how it is used, this should
be harmless, but let's make it less confusing...
2020-04-20 10:47:54 +02:00
Nikita Popov
a230b5a6c9
Merge branch 'PHP-7.3' into PHP-7.4
...
* PHP-7.3:
Fix #79497 : Fix php_openssl_subtract_timeval()
2020-04-20 10:26:22 +02:00
Joe Cai
94e09bfe55
Fix #79497 : Fix php_openssl_subtract_timeval()
...
I stumbled upon this while debugging a strange issue with
stream_socket_client() where it randomly throws out errors when
the connection timeout is set to below 1s. The logic to calculate
time difference in php_openssl_subtract_timeval() is wrong when
a.tv_usec < b.tv_usec, causing connection errors before the timeout
is reached.
2020-04-20 10:25:54 +02:00
Dmitry Stogov
b2376be81d
Merge branch 'PHP-7.3' into PHP-7.4
...
* PHP-7.3:
zend_timeout() may access EX(opline)
2020-04-17 14:56:01 +03:00
Dmitry Stogov
d31ccb5fc8
zend_timeout() may access EX(opline)
2020-04-17 14:55:14 +03:00
Nikita Popov
0b709e3409
Fix bug #79336
...
Make reading of floats and doubles host-endian independent.
2020-04-16 12:18:41 +02:00
Gabriel Caruso
e88e9afe95
Move test to its folder
2020-04-16 11:56:21 +02:00
Nikita Popov
f684553c2c
Merge branch 'PHP-7.3' into PHP-7.4
...
* PHP-7.3:
Fix MySQL local infile / attr handling on big endian systems
2020-04-16 11:22:43 +02:00
guirish
a1c1736bfb
Fix MySQL local infile / attr handling on big endian systems
...
Make sure pointer types match what is used by libmysql everywhere.
Closes GH-5380.
2020-04-16 11:22:17 +02:00
Nikita Popov
0a2fd0db3c
Fix directory clash in tempnam_variation4 test
2020-04-15 11:25:06 +02:00
Nikita Popov
58e6a0a602
Merge branch 'PHP-7.3' into PHP-7.4
...
* PHP-7.3:
Fixed bug #79477
2020-04-15 11:21:42 +02:00
Nikita Popov
79a36ff7f3
Fixed bug #79477
...
Make sure to deindirect properties when creating array.
2020-04-15 11:21:05 +02:00
Christoph M. Becker
8c5faf7ad1
Fix #79472 : ext/ffi/tests/040.phpt TC fails on Big endian arch
...
For now we are choosing the simplest solution, namely to skip the test
on big-endian architectures.
2020-04-14 20:31:31 +03:00
Christoph M. Becker
537680a9c4
Merge branch 'PHP-7.3' into PHP-7.4
...
* PHP-7.3:
Add missing CVE
2020-04-14 18:19:34 +02:00
Christoph M. Becker
c4cdf1ae12
Add missing CVE
2020-04-14 18:18:18 +02:00
Sara Golemon
3128714859
Merge branch 'PHP-7.3' into PHP-7.4
...
* PHP-7.3:
Fixed bug #79468
NEWS
2020-04-14 10:32:21 -04:00
Sara Golemon
2814850fd9
Merge branch 'PHP-7.2' into PHP-7.3
...
* PHP-7.2:
Fixed bug #79468
NEWS
2020-04-14 10:31:35 -04:00
dinosaur
13842eda37
Fixed bug #79468
...
Close the stream filter resources when removing them from the stream.
2020-04-14 10:27:28 -04:00
Sara Golemon
6df761b7ff
NEWS
2020-04-14 10:25:37 -04:00
Nikita Popov
912e490196
Merge branch 'PHP-7.3' into PHP-7.4
...
* PHP-7.3:
Don't leak peername if accept fails
2020-04-14 16:08:07 +02:00