| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
| |
|
|
|
|
| |
* Add functionality to expect log config options
|
| |
|
|
|
|
| |
This reverts commit 2b0f239b211c7544ebc7a4cd2c977a5b7a11ed8a.
|
|
|
|
| |
This reverts commit 046827a7e867bb0e655923c75c25a20d06e3aa8b.
|
|
|
|
|
|
|
| |
This reverts commit c730aa26bd52829a49f2ad284b181b7e82a68d7d.
This looks like the result of a compromised git account. Commit
access has already been revoked.
|
|
|
|
|
|
| |
Fixes minor typo.
Signed-off-by: Rasmus Lerdorf <rasmus@lerdorf.com>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
This makes the json encoding behavior the same as it was prior to the memory
optimizations added in f9f8c1c79cac1b03279190e0c5513a51881615f9
(for objects with declared properties)
This is based on the code for the unoptimized case below the changes.
Buggy output prior to this commit:
```
{
"prop":"value"}
```
Correct output:
```
{
"prop": "value"
}
```
Closes GH-6811
|
|
|
|
| |
Signed-off-by: Anatol Belski <ab@php.net>
|
|
|
|
|
| |
The unmangled name is already available as the hashtable key,
use it directly.
|
|
|
|
| |
Fixes a leak in the seed corpus.
|
| |
|
|\ |
|
| | |
|
| | |
|
| | |
|
| |
| |
| |
| | |
This if branch seems to be a remain of when certain type errors where E_WARNINGs, something which isn't the case since PHP 8.0.
|
|\ \
| |/
| |
| |
| | |
* PHP-8.0:
XFAIL on WIN64 because of problem in libffi
|
| |
| |
| |
| | |
(cherry picked from commit 6689bedd1796380f882fdecc6dcf8da1ff885c2b)
|
|\ \
| |/
| |
| |
| | |
* PHP-8.0:
Fix #73533: Invalid memory access in php_libxml_xmlCheckUTF8
|
| |\
| | |
| | |
| | |
| | | |
* PHP-7.4:
Fix #73533: Invalid memory access in php_libxml_xmlCheckUTF8
|
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
A string passed to `php_libxml_xmlCheckUTF8()` may be longer than
1<<31-1 bytes, so we're better using a `size_t`.
Closes GH-6802.
|
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
This reverts commit 5b01c4863fe9e4bc2702b2bbf66d292d23001a18.
The previous commit fixes the 32-bit issue. Maybe this one is also
needed, but let's see if any failures of this form turn up first.
|
| | | |
|
| | | |
|
| | | |
|
| | | |
|
| | | |
|
|\ \ \
| |/ /
| | |
| | |
| | | |
* PHP-8.0:
Properly initialize PS(mod) on RINIT
|
| |\ \
| | |/
| | |
| | |
| | | |
* PHP-7.4:
Properly initialize PS(mod) on RINIT
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
We need to do that in case a user handler has been set. However, we
can't do that in `php_rinit_session_globals()` since that function is
called by PHP function `session_destroy()` too, but in that case we
don't want to reset PS(mod).
Closes GH-6795.
|
| | | |
|
|\ \ \
| |/ /
| | |
| | |
| | | |
* PHP-8.0:
Fix #80889: amendment
|
| |\ \
| | |/
| | |
| | |
| | | |
* PHP-7.4:
Fix #80889: amendment
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
`session_set_save_handler()` may be called with callables instead of an
object; we need to cater to that as well.
We also extract a set_user_save_handler_ini() function to avoid code
duplication.
Closes GH-6796.
|
| | | |
|
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
This reverts commit 9162116a854fe37ce2c07a75b5ef7d797acba0ee.
This causes many "__HALT_COMPILER(); must be declared in a phar"
errors in phar tests on windows.
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
For rationale, see https://github.com/php/php-src/pull/6787
Extensions migrated in this part:
* bcmath
* bz2
* calendar
* com_dotnet
* ctype
Closes GH-6797.
|
| | | |
|
| | | |
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
This handles the degenerate case where SCCP replaced the value in
the RETURN opcode with a constant, but the VERIFY_RETURN is still
there. We can still apply the same optimization, just don't need
to adjust the use list in this case.
The result is still sub-optimal in that a dead QM_ASSIGN is left
behind.
|
| | | |
|
| | | |
|
| | | |
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
Currently, most skip checks are just for making sure an extension is
available. Even with recent addition of skip caching, this makes tests
needlessly slow:
* Checks for the same extension in its tests can have small differences
impacting cacheability.
* Even identical skip checks in two tests can still be executed twice if
they're run by different workers.
To remedy this, I'm repurposing the existing --EXTENSIONS-- section of
.phpt files to specify wjich extensions are required for current test to
run. Current behavior:
1) If the extension is already visible to PHP, all is good
2) If it isn't, assume it's present as a shared module and attempt to add
it via a command line parameter
3) If that works, all is good
4) If it doesn't, PHP fails with a cryptic error message trying to
execute the test itself
After this commit:
1) and 2) are kept unchanged
3) Check if shared extension file from 2) is actually present
4) Skip the test if it isn't
Other benefits include clear skip reasons (vs. sometimes none in many
current skip checks) and moving test information from code to metadata,
opening more opportunities for search and analysis.
Since --EXTENSIONS-- is barely ever used, this change poses no risk of
hidden failures.
As a demonstration of the new approach, this commit migrates one
extension to it. If merged, I will migrate other extensions in
subsequent PRs.
Closes GH-6787.
|
|\ \ \
| |/ / |
|
| |\ \
| | |/ |
|
| | | |
|
|\ \ \
| |/ / |
|