Ilija Tovilo
bef97fb4a5
[skip ci] Fix nightly version check
...
The last attempt was incorrect for the schedule trigger, which runs multiple PHP
versions. Instead, the version information should be stored in the branch
object.
2023-11-15 11:53:39 +01:00
Daniil Gentili
2ca142ecd8
Improve jit tests
...
Closes GH-12425
2023-11-14 20:09:27 +01:00
Daniil Gentili
82dcfd19e6
Update nightly config ( #12662 )
2023-11-14 21:48:01 +03:00
Daniil Gentili
df286a1b98
Improve JIT config in fuzzer SAPI ( #12519 )
...
* Improve JIT config in fuzzer SAPI
* Fix
* Fix
* Update
2023-11-14 21:26:24 +03:00
Niels Dossche
50c2a9305c
Fix building ext/dom in directory other than src ( #12671 )
2023-11-14 19:23:10 +01:00
Ilija Tovilo
c3e98092df
[skip ci] Add xleak to xml test due to libxml2 bug
2023-11-14 18:42:00 +01:00
Ilija Tovilo
9f7148ece5
Merge branch 'PHP-8.3'
...
* PHP-8.3:
[skip ci] Further increase allowable atime deviation
2023-11-14 18:37:32 +01:00
Ilija Tovilo
aa452ed315
Merge branch 'PHP-8.2' into PHP-8.3
...
* PHP-8.2:
[skip ci] Further increase allowable atime deviation
2023-11-14 18:37:17 +01:00
Ilija Tovilo
9b07b013fc
[skip ci] Further increase allowable atime deviation
...
MSAN is slow in particular, leading to potentially higher deviations.
2023-11-14 18:36:07 +01:00
Ilija Tovilo
90fda030bd
Run nightly on single branch with workflow_dispatch and explicit branch ( #12649 )
2023-11-14 18:24:39 +01:00
Remi Collet
74a7b79883
Merge branch 'PHP-8.3'
...
* PHP-8.3:
zip extension is 1.22.3
2023-11-14 15:58:27 +01:00
Remi Collet
3d5723e232
zip extension is 1.22.3
2023-11-14 15:58:18 +01:00
Remi Collet
42008b02dd
Merge branch 'PHP-8.3'
...
* PHP-8.3:
NEWS
2023-11-14 14:59:01 +01:00
Remi Collet
6d26d4c446
NEWS
2023-11-14 14:58:52 +01:00
Remi Collet
6cbb075ffa
Merge branch 'PHP-8.3'
...
* PHP-8.3:
NEWS
NEWS
fix GH-12661 (Inconsistency in ZipArchive::addGlob remove_path Option Behavior)
2023-11-14 14:58:11 +01:00
Remi Collet
14f10ec761
Merge branch 'PHP-8.2' into PHP-8.3
...
* PHP-8.2:
NEWS
NEWS
fix GH-12661 (Inconsistency in ZipArchive::addGlob remove_path Option Behavior)
2023-11-14 14:57:14 +01:00
Remi Collet
2536cf78b8
NEWS
2023-11-14 14:56:59 +01:00
Remi Collet
ddb887ffc8
Merge branch 'PHP-8.1' into PHP-8.2
...
* PHP-8.1:
NEWS
fix GH-12661 (Inconsistency in ZipArchive::addGlob remove_path Option Behavior)
2023-11-14 14:56:29 +01:00
Remi Collet
0b5824e17c
NEWS
2023-11-14 14:56:06 +01:00
Remi Collet
6625226074
fix GH-12661 (Inconsistency in ZipArchive::addGlob remove_path Option Behavior)
2023-11-14 14:54:20 +01:00
Dmitry Stogov
94f32df866
Fixed compilation warning
2023-11-14 12:22:38 +03:00
Niels Dossche
1492be5286
[RFC] DOM HTML5 parsing and serialization support ( #12111 )
2023-11-13 20:18:19 +01:00
Niels Dossche
17d2917fb7
Merge branch 'PHP-8.3'
...
* PHP-8.3:
Fix GH-12655: proc_open() does not take into account references in the descriptor array
2023-11-13 19:34:49 +01:00
Niels Dossche
5c25742c26
Merge branch 'PHP-8.2' into PHP-8.3
...
* PHP-8.2:
Fix GH-12655: proc_open() does not take into account references in the descriptor array
2023-11-13 19:34:40 +01:00
Niels Dossche
86c7d3ed1f
Fix GH-12655: proc_open() does not take into account references in the descriptor array
...
Closes GH-12658.
2023-11-13 19:29:44 +01:00
David CARLIER
cc2bf11951
zend: introducing ZEND_ELEMENT_COUNT for struct's dynamic arrays. ( #12650 )
...
zend: introducing ZEND_ELEMENT_COUNT for struct's dynamic and flexible arrays.
It is mostly for ubsan and helping array bound checking.
2023-11-13 12:42:45 +00:00
Dmitry Stogov
350a692271
Merge branch 'PHP-8.3'
...
* PHP-8.3:
Backport fix for GH-12512: JIT Assertion `info & (1 << type)' failed (#12660 )
2023-11-13 13:33:55 +03:00
Dmitry Stogov
8349835e68
Merge branch 'PHP-8.2' into PHP-8.3
...
* PHP-8.2:
Backport fix for GH-12512: JIT Assertion `info & (1 << type)' failed (#12660 )
2023-11-13 13:28:48 +03:00
Dmitry Stogov
db26aee801
Merge branch 'PHP-8.1' into PHP-8.2
...
* PHP-8.1:
Backport fix for GH-12512: JIT Assertion `info & (1 << type)' failed (#12660 )
2023-11-13 13:27:11 +03:00
Dmitry Stogov
c60c2a0d67
Backport fix for GH-12512: JIT Assertion `info & (1 << type)' failed ( #12660 )
2023-11-13 13:26:17 +03:00
Jakub Zelenka
dee6a8f815
Merge branch 'PHP-8.3'
2023-11-12 18:18:43 +00:00
Jakub Zelenka
3b68df24bd
Add note to UPGRADING about proc_open changes for invalid command
...
Closes GH-12589
2023-11-12 18:17:10 +00:00
Ilija Tovilo
f8c2d1ec2f
Merge branch 'PHP-8.3'
...
* PHP-8.3:
Fix astat imperciseness excemption in test
2023-11-12 14:07:17 +01:00
Ilija Tovilo
a687465c45
Merge branch 'PHP-8.2' into PHP-8.3
...
* PHP-8.2:
Fix astat imperciseness excemption in test
2023-11-12 14:07:10 +01:00
Ilija Tovilo
d224faa10f
Fix astat imperciseness excemption in test
2023-11-12 14:06:02 +01:00
Ilija Tovilo
a785b2fac0
Merge branch 'PHP-8.3'
...
* PHP-8.3:
Disable -fsanitize=function on Clang 17
2023-11-11 21:11:08 +01:00
Ilija Tovilo
d5a25d51fc
Merge branch 'PHP-8.2' into PHP-8.3
...
* PHP-8.2:
Disable -fsanitize=function on Clang 17
2023-11-11 21:11:02 +01:00
Ilija Tovilo
ca22505c8c
Disable -fsanitize=function on Clang 17
...
Closes GH-12642
2023-11-11 21:09:45 +01:00
Ilija Tovilo
a202bf54df
Merge branch 'PHP-8.3'
...
* PHP-8.3:
Fix undeclared variable in stat tests
2023-11-11 21:01:26 +01:00
Ilija Tovilo
85107c94d1
Merge branch 'PHP-8.2' into PHP-8.3
...
* PHP-8.2:
Fix undeclared variable in stat tests
2023-11-11 21:01:19 +01:00
Ilija Tovilo
7440a1bd1f
Fix undeclared variable in stat tests
...
Closes GH-12645
2023-11-11 21:00:50 +01:00
Niels Dossche
f150f99752
Improve browscap get_browser performance ( #12651 )
...
* Split function and use _new variant to avoid redundant checks
* Precompute better array size to avoid rehashing
* Use new function to add into array instead of merging into, preventing temporary memory allocations
* Convert to regex without separate copy + lowering
We're already doing a character-wise loop after lowering, so just lower
it character by character instead of looping over it twice and
allocating memory.
* Use HASH_MAP loop because htab can never be packed
This saves additional checks.
* Move destructor to more sensible place
* Remove now unused browscap_zval_copy_ctor
* Use zend_string_release_ex variant where possible
* Implement dedicated greedy wildcard matching algorithm
This avoids compiling, allocating and caching regexes and should run in
the same complexity.
* Cache previous length instead of repeatedly recomputing it
* Add additional optimization to wildcard * matching
* Move cheap checks to the callsite
The function prologue and epilogue have a stupidly high overhead for
those 2 simple checks at the start.
We can't always-inline the reg_compare function because it contains
alloca, and the alloca is really important for performance.
Instead, move those cheap checks to the call site.
* Use specialised loop to avoid unnecessary conversions and checks
* Optimize counting loop by taking into account the prefix
* Precompute the hash values of known keys
* [ci skip] UPGRADING
* Code style
* Add a note why we have the early-skip checks in the loop
2023-11-11 18:44:17 +01:00
Niels Dossche
299a234eb7
Merge branch 'PHP-8.3'
...
* PHP-8.3:
Fix GH-12621: browscap segmentation fault when configured in the vhost
2023-11-11 18:36:41 +01:00
Niels Dossche
1fb73463d3
Merge branch 'PHP-8.2' into PHP-8.3
...
* PHP-8.2:
Fix GH-12621: browscap segmentation fault when configured in the vhost
2023-11-11 18:36:32 +01:00
Niels Dossche
7353c7ce17
Fix GH-12621: browscap segmentation fault when configured in the vhost
...
The temporary HashTable has a destructor that releases the string held
by the entry's value. However, browscap_intern_str(_ci) only incremented
the refcount for the reference created by the return value. As the
HashTable is only used during parsing, we don't need to manage the
reference count of the value anyway, so get rid of the destructor.
This is triggerable in two cases:
- When using php_admin_value to set the ini at the activation stage
- When running out of space for the opcache-interned strings
Closes GH-12634.
2023-11-11 18:35:57 +01:00
Niels Dossche
b3e10df1f7
Merge branch 'PHP-8.3'
...
* PHP-8.3:
Fix GH-12635: Test bug69398.phpt fails with ICU 74.1
2023-11-11 17:04:48 +01:00
Niels Dossche
608842b5b7
Merge branch 'PHP-8.2' into PHP-8.3
...
* PHP-8.2:
Fix GH-12635: Test bug69398.phpt fails with ICU 74.1
2023-11-11 17:04:37 +01:00
Niels Dossche
333cf3c111
Fix GH-12635: Test bug69398.phpt fails with ICU 74.1
...
ICU 74.1 contains new locale data that breaks the test.
Split the test based on the version number to resolve the issue.
Closes GH-12653.
2023-11-11 17:04:01 +01:00
Arnaud Le Blanc
8f424dd36b
Test that objects free handler call zend_weakrefs_notify ( #12546 )
2023-11-11 13:53:35 +01:00
Niels Dossche
9bb341d1b1
[ci skip] Add myself to CODEOWNERS for ext/xsl
...
I'm able to review code for this and I'd like to get notified on PRs.
2023-11-10 17:30:19 +01:00