#
c05a069a |
| 14-Nov-2019 |
Christoph M. Becker |
Fix #78808: [LMDB] MDB_MAP_FULL: Environment mapsize limit reached We implement support for a fifth parameter, which allows to specify the mapsize. The parameter defaults to zero, in wh
Fix #78808: [LMDB] MDB_MAP_FULL: Environment mapsize limit reached We implement support for a fifth parameter, which allows to specify the mapsize. The parameter defaults to zero, in which case the compiled in default mapsize (usually 1048576) will be used. The mapsize should be a multiple of the page size of the OS.
show more ...
|
#
1658b5ba |
| 16-Dec-2019 |
mike |
Adding DateTime(Immutable)::createFromInterface() These are like DateTime::createFromImmutable() DateTimeImmutable::createFromMutable() but accept any DateTimeI
Adding DateTime(Immutable)::createFromInterface() These are like DateTime::createFromImmutable() DateTimeImmutable::createFromMutable() but accept any DateTimeInterface instead. Closes GH-5016.
show more ...
|
#
d8c99025 |
| 31-Oct-2019 |
Nikita Popov |
Implement WeakMap RFC: https://wiki.php.net/rfc/weak_maps
|
#
f13d0a72 |
| 17-Dec-2019 |
Wouter Wijsman |
Add FILTER_VALIDATE_BOOL as alias for FILTER_VALIDATE_BOOLEAN Both filters are equivalent, but FILTER_VALIDATE_BOOL uses our canonical name for the type (the only one permitted in type
Add FILTER_VALIDATE_BOOL as alias for FILTER_VALIDATE_BOOLEAN Both filters are equivalent, but FILTER_VALIDATE_BOOL uses our canonical name for the type (the only one permitted in type declarations for example), so the new name is preferred long term. The old name may be deprecated in the future, but no specific timeline is planned.
show more ...
|
#
39585924 |
| 10-Dec-2019 |
BohwaZ |
Add setAuthorizer method to SQLite3 This adds the possibility to define a userland callback that will be used to authorize or not an action on the database.
|
#
bc231f01 |
| 19-Dec-2019 |
Máté Kocsis |
Add upgrading note about implode() [ci skip]
|
#
fdf45deb |
| 13-Dec-2019 |
George Peter Banyard |
Remove deprecated behaviour of passing encoding as third parameter in mb_strrpos() Merged GH-5011
|
#
3d90b770 |
| 09-Dec-2019 |
Nikita Popov |
Fix bug #78887: Add upgrading note about get_declared_classes() order [ci skip]
|
#
73730eeb |
| 05-Dec-2019 |
Máté Kocsis |
Add upgrading notes about removed functionality that were deprecated in PHP 7.4
|
#
9533a815 |
| 04-Dec-2019 |
Nikita Popov |
Add ReflectionMethod::getClosure() change to UPGRADING Fixes bug #78897. [ci skip]
|
#
00df73c3 |
| 20-Nov-2019 |
Adam Harvey |
Make the UPGRADING note about ArrayObject more explicit. We noticed the BC break when testing `curl_setopt()`, and hadn't interpreted this note as affecting internal functions in general
Make the UPGRADING note about ArrayObject more explicit. We noticed the BC break when testing `curl_setopt()`, and hadn't interpreted this note as affecting internal functions in general, so this adds a sub-bullet to note that. This overlaps a bit with the previous bullet, but since I don't know exactly which operations were in mind at the time, I've elected to preserve them both. Bits are cheap.
show more ...
|
#
2de79f08 |
| 14-Nov-2019 |
Christoph M. Becker |
Make the $num_points parameter of php_imagepolygon optional That parameter is mostly useless in practise, and likely has been directly ported from the underlying `gdImagePolygon()` and f
Make the $num_points parameter of php_imagepolygon optional That parameter is mostly useless in practise, and likely has been directly ported from the underlying `gdImagePolygon()` and friends, which require that parameter since the number of elements of the point array would otherwise be unknown. Typical usages of `imagepolygon()`, `imageopenpolygon()` and `imagefilledpolygon()` pass `count($points)/2` or hard-code this value as literal. Since explicitly specifying this parameter is annoying and error-prone, we offer the possibility to omit it, in which case the `$points` array must have an even number of elements, and the number of points is calculated as `count($points)/2`.
show more ...
|
#
999e32b6 |
| 25-Sep-2019 |
Nikita Popov |
Implement union types According to RFC: https://wiki.php.net/rfc/union_types_v2 The type representation now makes use of both the pointer payload and the type mask at the same t
Implement union types According to RFC: https://wiki.php.net/rfc/union_types_v2 The type representation now makes use of both the pointer payload and the type mask at the same time. Additionall, zend_type_list is introduced as a new kind of pointer payload, which is used to store multiple class types. Each of the class types is a tagged pointer, which may be either a class name or class entry. The latter is only used for typed properties, while arguments/returns will instead use cache slots. A type list can contain a mix of both names and CEs at the same time, as not all classes may be resolvable. One thing this is missing is support for union types in arginfo and stubs, which I want to handle separately. I've also dropped the special object code from the JIT implementation for now -- I plan to add this back in a different form at a later time. For now I did not want to include non-trivial JIT changes together with large functional changes. Another possible piece of follow-up work is to implement "iterable" as an internal alias for "array|Traversable". I believe this will eliminate quite a few special-cases that had to be implemented. Closes GH-4838.
show more ...
|
#
d3d85cbc |
| 07-Nov-2019 |
Nikita Popov |
Add UPGRADING note about default object from empty value Fixes bug #75921. [ci skip]
|
#
c46b2ed6 |
| 04-Nov-2019 |
Nikita Popov |
Remove support for array_key_exists() with objects
|
#
c76dbefe |
| 30-Oct-2019 |
Nikita Popov |
Add UPGRADING note for stream_read() change Ref bug #78575. [ci skip]
|
#
96f361dc |
| 29-Oct-2019 |
Tyson Andre |
Update documentation/comment for GH-4860 Fix folding for the new helper method. Clarify comment in UPGRADING: The performance on associative arrays would also improve, as lo
Update documentation/comment for GH-4860 Fix folding for the new helper method. Clarify comment in UPGRADING: The performance on associative arrays would also improve, as long as no offsets were unset (no gaps). Packed arrays can have gaps. Closes GH-4873. [ci skip]
show more ...
|
#
3fb42a38 |
| 25-Oct-2019 |
Simonov Denis |
Add support for Interbase 1 dialect
|
#
87fefd16 |
| 28-Oct-2019 |
Nikita Popov |
Remove ability to unbind $this of closures if used This was deprecated in PHP 7.4, removing it for PHP 8.0.
|
#
9d48bf51 |
| 27-Oct-2019 |
Tyson Andre |
Fix miscellaneous typos in docs and error messages Closes GH-4863.
|
#
e7ff590d |
| 25-Oct-2019 |
Tyson Andre |
Optimize array_slice for packed arrays with large offsets If the offset is 100000, and there are no gaps in the packed/unpacked array, then advance the pointer once by 100000, instea
Optimize array_slice for packed arrays with large offsets If the offset is 100000, and there are no gaps in the packed/unpacked array, then advance the pointer once by 100000, instead of looping and skipping 100000 times. Add a new test of array_slice handling unset offsets. Closes GH-4860.
show more ...
|
#
e7335eb4 |
| 21-Oct-2019 |
Colin O'Dell |
Allow array_splice() length to be null
|
#
80103bdb |
| 22-Oct-2019 |
Colin O'Dell |
Document the changes to substr functions
|
#
530a8a38 |
| 21-Oct-2019 |
Nikita Popov |
Fix and undeprecate ReflectionType::__toString() Add deprecated _ZendTestClass::__toString() method to preserve an existing test. ReflectionType::__toString() will now return a
Fix and undeprecate ReflectionType::__toString() Add deprecated _ZendTestClass::__toString() method to preserve an existing test. ReflectionType::__toString() will now return a complete representation of the type, as it should have originally. Users that relied on nullability being absent should have been pushed to ReflectionNamedType::getName() by the deprecation of ReflectionType::__toString() in PHP 7.1 / PHP 7.4.
show more ...
|
#
38f388fb |
| 19-Oct-2019 |
Tyson Andre |
Fix miscellaneous typos in docs
|