| Commit message (Collapse) | Author | Age | Files | Lines |
| | |
|
| |\
| |
| |
| |
| | |
* 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
|
| | |
| |
| |
| |
| |
| |
| | |
- Variables php_abs_top_srcdir php_abs_top_builddir are no longer used.
- ZEND_EXT_TYPE is always zend_extension and variable is no longer used.
Closes GH-4378
|
| |\ \
| |/
| |
| |
| | |
* PHP-7.4:
add ini config details to php-config
|
| | | |
|
| |\ \
| |/
| |
| |
| | |
* PHP-7.4:
Set Computer English language for credits sorting
|
| | |
| |
| |
| |
| | |
This makes the script a bit more portable when used on systems with
different LC_ALL and LANG settings.
|
| |/
|
|
|
| |
More type checks that are not part of zpp and should generate a
TypeError in PHP 8.
|
| |
|
|
|
|
|
|
|
|
|
| |
This enhances the makidst script:
- integrate both snapshot and makedist scripts together
- add help and options
- generated files are created in the php-src repository directly
- other minor enhancemenets such as CS fixes
- functionality moved from the Makefile to only shell script
- Add missed patching of the Zend Parsers to the main build step
- Add all *.tmp files to gitignore
|
| |
|
|
|
|
|
|
|
| |
Normalization include:
- Use dnl for everything that can be ommitted when configure is built in
favor of the shell comment character # which is visible in the output.
- Line length normalized to 80 columns
- Dots for most of the one line sentences
- Macro definitions include similar pattern header comments now
|