Skip to content

Commit f049585

Browse files
authoredMar 10, 2023
feat: enable Zend Max Execution Timers by default in 8.3 (#10778)
1 parent afd4261 commit f049585

File tree

4 files changed

+6
-1
lines changed

4 files changed

+6
-1
lines changed
 

‎.github/lsan-suppressions.txt

+1
Original file line numberDiff line numberDiff line change
@@ -1 +1,2 @@
11
leak:acommon::DictInfoList::elements
2+
leak:timer_create

‎NEWS

+2
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,8 @@ PHP NEWS
2323
. Fix bug GH-8821 (Improve line numbers for errors in constant expressions).
2424
(ilutov)
2525
. Fix bug GH-10083 (Allow comments between & and parameter). (ilutov)
26+
. Zend Max Execution Timers is now enabled by default for ZTS builds on
27+
Linux. (Kévin Dunglas)
2628

2729
- Date:
2830
. Implement More Appropriate Date/Time Exceptions RFC. (Derick)

‎UPGRADING

+2
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,8 @@ PHP 8.3 UPGRADE NOTES
3333
Internally, this works by caching the result on posix systems. If you want
3434
the old behaviour, you can check the "cached" key in the array returned by
3535
proc_get_status() to check whether the result was cached.
36+
. Zend Max Execution Timers is now enabled by default for ZTS builds on
37+
Linux.
3638

3739
- FFI:
3840
. C functions that have a return type of void now return null instead of

‎Zend/Zend.m4

+1-1
Original file line numberDiff line numberDiff line change
@@ -307,7 +307,7 @@ AC_ARG_ENABLE([zend-max-execution-timers],
307307
[AS_HELP_STRING([--enable-zend-max-execution-timers],
308308
[whether to enable zend max execution timers])],
309309
[ZEND_MAX_EXECUTION_TIMERS=$enableval],
310-
[ZEND_MAX_EXECUTION_TIMERS='no'])
310+
[ZEND_MAX_EXECUTION_TIMERS=$ZEND_ZTS])
311311
312312
AS_CASE(["$host_alias"], [*linux*], [], [ZEND_MAX_EXECUTION_TIMERS='no'])
313313

0 commit comments

Comments
 (0)