| Commit message (Collapse) | Author | Age | Files | Lines |
|\
| |
| |
| |
| | |
* PHP-7.4:
Update year to 2021
|
| |
| |
| |
| | |
Closes GH-6636.
|
| |
| |
| |
| | |
This was missing adjacent SKIPIF/FILE/CLEAN sections.
|
| | |
|
| | |
|
|\ \
| |/
| |
| |
| | |
* PHP-7.4:
Support more placeholders in bless_tests.php
|
| |
| |
| |
| | |
And don't replace trailing --CLEAN-- sections.
|
| | |
|
| | |
|
|\ \
| |/
| |
| |
| | |
* PHP-7.4:
Also support absolute Windows filenames
|
| |
| |
| |
| |
| |
| |
| | |
The output normalization of bless_tests.php only detected absolute Unix
filenames; we extend this for absolute Windows filenames, regardless of
the platform we're running on (tests may have been run on Windows, but
bless_tests.php may be run from WSL or a Linux VM, for instance).
|
| |
| |
| |
| |
| | |
According to <https://wiki.php.net/rfc/unbundle_xmlprc> we unbundle
ext/xmlrpc.
|
| |
| |
| |
| |
| |
| | |
RFC: https://wiki.php.net/rfc/arithmetic_operator_type_checks
Closes GH-5331.
|
| |
| |
| |
| |
| |
| |
| | |
Closes GH-5353. From now on, PHP will have reflection information
about default values of parameters of internal functions.
Co-authored-by: Nikita Popov <nikita.ppv@gmail.com>
|
| |
| |
| |
| | |
of it, and thus extension can use it as it is already in Makefile
|
| |
| |
| |
| | |
Needed to add support for nullabiltiy in some places.
|
| | |
|
|\ \
| |/
| |
| |
| | |
* PHP-7.4:
Apply tidy formatting
|
| |
| |
| |
| | |
Mostly reindent PHP scripts to spaces.
|
| | |
|
|\ \
| |/
| |
| |
| | |
* PHP-7.4:
Add tidy.php to enforce formatting
|
| |
| |
| |
| |
| | |
Many parts are disabled for the PHP-7.4 branch. We only strip
trailing whitespace in C files and reindent .php files to spaces.
|
| |
| |
| |
| |
| |
| |
| |
| | |
Using this requires care! The zpp implementation for this union
must be consistent with the arginfo implementation!
Apart from array|object, this is probably only the case for
int|float right now.
|
| | |
|
| | |
|
| |
| |
| |
| |
| |
| |
| |
| | |
This is the MVP for supporting union types in PHP stubs. Return
types with only builtin types work, which is the part we mainly
need.
Closes GH-4895.
|
| | |
|
| |
| |
| |
| |
| |
| | |
Compute the diff between the old EXPECTF and the new output and
don't touch lines that still match the old EXPECTF. This reduces
the amount of manual fixup necessary after running bless_tests.php.
|
|\ \
| |/ |
|
| |
| |
| |
| |
| |
| |
| |
| | |
Resources used as array keys are generally handled by throwing a
notice and converting the resource to the resource handle. The only
exception is the [$resource => null] syntax, where this was treated
as an illegal offset type instead. However, this also only happened
for VM evaluations, the AST evaluator did handle resources correctly.
|
| |
| |
| |
| | |
Similar to what is done for socket read/write errors.
|
| |
| |
| |
| | |
Closes GH-4732.
|
| | |
|
| | |
|
| | |
|
| |
| |
| |
| |
| |
| |
| |
| | |
Fix the string generated when the `ns\class` is passed to a macro
#define ESCAPE(x) #x
// puts(ESCAPE(ns\class)); // warning: unknown escape sequence: \c
puts(ESCAPE(ns\\class)); // Properly prints ns\class to stdout.
|
| | |
|
| |
| |
| |
| | |
Closes GH-4528
|
| | |
|
| | |
|
| |
| |
| |
| | |
Also remove the dead parseClass() function.
|
| |
| |
| |
| | |
Closes GH-4502.
|
| |
| |
| |
| | |
Support #ifdef, #ifndef, #else and nested #if's.
|
| |
| |
| |
| | |
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.
|
|\ \
| |/ |
|
| |
| |
| |
| |
| | |
If a string var_dump contains a wildcard, also make the length a
wildcard.
|
|\ \
| |/
| |
| |
| | |
* PHP-7.4:
Refactor undefining PACKAGE_* symbols
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Instead of patching configuration headers template generated by
the given tools - autoheader, this moves patching these symbols to
the configure step before creating and invoking the config.status
and before the configuration header file is generated from the
patched template.
Closes GH-4374
|
|\ \
| |/
| |
| |
| | |
* PHP-7.4:
Remove some unused variables
|