| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
| |
I've pestered Nikita at least twice for these semantics, so I
figured I should document it in source.
|
|\
| |
| |
| |
| | |
* PHP-8.0:
Add missing stub for SodiumException
|
| |
| |
| |
| | |
Closes GH-6649.
|
|\ \
| |/
| |
| |
| |
| |
| | |
* PHP-8.0:
NEWS
NEWS
Fix #80682 opcache doesn't honour pcre.jit option
|
| | |
|
| |\
| | |
| | |
| | |
| | |
| | | |
* PHP-7.4:
NEWS
Fix #80682 opcache doesn't honour pcre.jit option
|
| | | |
|
| | | |
|
| | | |
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
This only moves the files, adjusts the build system, exports APIs
and does minor fixups to make sure the code builds.
This does not yet try to make the optimizer usable independently
of opcache.
Closes GH-6642.
|
|\ \ \
| |/ /
| | |
| | |
| | | |
* PHP-8.0:
Fix stub for Serializable::serialize()
|
| | |
| | |
| | |
| | | |
This method may also return null.
|
|\ \ \
| |/ /
| | |
| | |
| | | |
* PHP-8.0:
Observe fake closures
|
| | |
| | |
| | |
| | | |
Closes GH-6607.
|
|\ \ \
| |/ /
| | |
| | |
| | | |
* PHP-8.0:
Rm unneeded function
|
| | | |
|
|\ \ \
| |/ /
| | |
| | |
| | | |
* PHP-8.0:
Rm unneeded function
|
| |\ \
| | |/
| | |
| | |
| | | |
* PHP-7.4:
Rm unneeded function
|
| | |\
| | | |
| | | |
| | | |
| | | | |
* PHP-7.3:
Rm unneeded function
|
| | | | |
|
|\ \ \ \
| |/ / /
| | | |
| | | |
| | | | |
* PHP-8.0:
Alternative fix for bug 77423
|
| |\ \ \
| | |/ /
| | | |
| | | |
| | | | |
* PHP-7.4:
Alternative fix for bug 77423
|
| | |\ \
| | | |/
| | | |
| | | |
| | | | |
* PHP-7.3:
Alternative fix for bug 77423
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
That bug report originally was about `parse_url()` misbehaving, but the
security aspect was actually only regarding `FILTER_VALIDATE_URL`.
Since the changes to `parse_url_ex()` apparently affect userland code
which is relying on the sloppy URL parsing[1], this alternative
restores the old parsing behavior, but ensures that the userinfo is
checked for correctness for `FILTER_VALIDATE_URL`.
[1] <https://github.com/php/php-src/commit/5174de7cd33c3d4fa591c9c93859ff9989b07e8c#commitcomment-45967652>
|
|\ \ \ \
| |/ / /
| | | |
| | | |
| | | | |
* PHP-8.0:
Fixed observer API and JIT compatibility
|
| | | | |
|
|\ \ \ \
| |/ / /
| | | |
| | | |
| | | | |
* PHP-8.0:
Fix #70091: Phar does not mark UTF-8 filenames in ZIP archives
|
| |\ \ \
| | |/ /
| | | |
| | | |
| | | | |
* PHP-7.4:
Fix #70091: Phar does not mark UTF-8 filenames in ZIP archives
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
The default encoding of filenames in a ZIP archive is IBM Code Page
437. Phar, however, only supports UTF-8 filenames. Therefore we have
to mark filenames as being stored in UTF-8 by setting the general
purpose bit 11 (the language encoding flag).
The effect of not setting this bit for non ASCII filenames can be seen
in popular tools like 7-Zip and UnZip, but not when extracting the
archives via ext/phar (which is agnostic to the filename encoding), or
via ext/zip (which guesses the encoding). Thus we add a somewhat
brittle low-level test case.
Closes GH-6630.
|
|\ \ \ \
| |/ / /
| | | |
| | | |
| | | | |
* PHP-8.0:
Update version
|
| |\ \ \
| | |/ /
| | | |
| | | |
| | | | |
* PHP-7.4:
Update version
|
| | | |
| | | |
| | | |
| | | | |
That appears to have been forgotten for a while.
|
|\ \ \ \
| |/ / /
| | | |
| | | |
| | | | |
* PHP-8.0:
Allow observer handlers disabling optimization in RETURN opcode handler, that may cause loss value of returned local variable.
|
| | | |
| | | |
| | | |
| | | | |
that may cause loss value of returned local variable.
|
| | | | |
|
|\ \ \ \
| |/ / /
| | | |
| | | |
| | | | |
* PHP-8.0:
Skip dummy frames allocated on CPU stack of zend_call_function(). (Usage of "current_observed_frame" varible looks unsafe to me).
|
| | | |
| | | |
| | | |
| | | | |
(Usage of "current_observed_frame" varible looks unsafe to me).
|
|\ \ \ \
| |/ / /
| | | |
| | | |
| | | | |
* PHP-8.0:
Fix VAR return type verification
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
We should also set retval_ref when de-indirecting. Otherwise the
retval_ref != retval_ptr comparison below may incorrect assume
that we're returning a reference.
I don't have a reliable reproducer for this issue, but it sometimes
appears in certain configurations in arrow_functions/007.phpt in
conjunction with other changes.
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
When an ArrayObject wraps an object, we should be using the
proptable canonicalilzation rules, which require all keys to be
strings.
|
| | | |
| | | |
| | | |
| | | |
| | | | |
It was present on other operations, including isset(), but was
missing for unset().
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
Closes GH-6289
Co-authored-by: Nikita Popov <nikita.ppv@gmail.com>
|
| | | |
| | | |
| | | |
| | | | |
Closes GH-6628.
|
|\ \ \ \
| |/ / /
| | | |
| | | |
| | | | |
* PHP-8.0:
Fix #75850: Unclear error message wrt. __halt_compiler() w/o semicolon
|
| |\ \ \
| | |/ /
| | | |
| | | |
| | | | |
* PHP-7.4:
Fix #75850: Unclear error message wrt. __halt_compiler() w/o semicolon
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
We add the failure reason to the error message.
Closes GH-6638.
|
|\ \ \ \
| |/ / /
| | | |
| | | |
| | | | |
* PHP-8.0:
Improve switch continue warning
|
| | | |
| | | |
| | | |
| | | |
| | | | |
Don't suggest "continue N+1" if there is no wrapping loop. The
resulting code would be illegal.
|
| | | |
| | | |
| | | |
| | | | |
Instead use standard true/false.
|
|\ \ \ \
| |/ / /
| | | |
| | | |
| | | | |
* PHP-8.0:
Fix #53251: bindtextdomain with null dir doesn't return old value
|