| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|
|
|
| |
enabled
Closes GH-6675
|
| |
|
|
| |
Relates to GH-6644
|
| |
|
|
| |
This function/method cannot return false.
|
| | |
|
| |
|
|
|
|
| |
Cf. <https://github.com/php/doc-en/pull/282>.
Closes GH-6539.
|
| |
|
|
| |
This reverts commit b67c23218950eae0a153b093dcefbe14b3b40901.
|
| | |
|
| |
|
|
| |
Closes GH-6523.
|
| |
|
|
| |
Closes GH-6376
|
| |
|
|
| |
Closes GH-6335
|
| |
|
|
| |
Closes GH-6309
|
| |
|
|
| |
Closes GH-5613
|
| |
|
|
| |
Closes GH-5950
|
| | |
|
| | |
|
| | |
|
| |
|
|
|
| |
The signature is very overloaded, but takes at most four params,
not three.
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Userland classes that implement Traversable must do so either
through Iterator or IteratorAggregate. The same requirement does
not exist for internal classes: They can implement the internal
get_iterator mechanism, without exposing either the Iterator or
IteratorAggregate APIs. This makes them usable in get_iterator(),
but incompatible with any Iterator based APIs.
A lot of internal classes do this, because exposing the userland
APIs is simply a lot of work. This patch alleviates this issue by
providing a generic InternalIterator class, which acts as an
adapater between get_iterator and Iterator, and can be easily
used by many internal classes. At the same time, we extend the
requirement that Traversable implies Iterator or IteratorAggregate
to internal classes as well.
Closes GH-5216.
|
| |
|
|
| |
Closes GH-5509
|
| |
|
|
| |
Closes GH-5363
|
| |
|
|
| |
Closes GH-5347
|
| |
|
|
|
|
|
|
|
|
|
| |
These are like
DateTime::createFromImmutable()
DateTimeImmutable::createFromMutable()
but accept any DateTimeInterface instead.
Closes GH-5016.
|
| | |
|
| |
|
|
|
| |
These were referencing the arginfo from the functions, instead of
the methods, which isn't right, as the functions have return types.
|
| | |
|
| |
|
|
|
|
|
|
|
| |
* get_parent_class() argument is optional
* Mark array_filter() $callback as optional
* The $base of gmp_strval() is optional
* DateTime constructor also accepts zero arguments
* hash_update_file() stream context is optional
* xmlwriter_write_dtd_entity() $isparam argument is optional
|
| |
|
|
| |
Closes GH-4526.
|
| |
|
|
| |
This avoids many spurious false return values.
|
|
|
Signature stubs for internal functions are specified in xyz.stub.php,
from which we generate actual arginfo structures in xyz_arginfo.h.
This file then needs to be included in the implementation appropriately.
Arginfo from stubs can be regenerated using scripts/dev/gen_stub.php.
However, this should also automatically happen when the stub file is
modified.
|