Closed
Description
Description
Lines 2121 to 2122 in dd4fc9a
This doesn't appear to produce the desired effect in latest versions of PHP. Dialog asserts are still generated during tests.
From my brief research it doesn't appear that 0
is a valid input for this function.
The better approach would probably be to redirect the output to stderr, as is done here when PHP_WIN32_HEAP_DEBUG is set:
Lines 1181 to 1186 in dd4fc9a
However, setting PHP_WIN32_HEAP_DEBUG enables a bunch of other stuff that isn't necessarily wanted.
This bug is problematic because it causes tests on Windows CIs to get stuck when asserts are triggered in debug builds.
PHP Version
8.1, 8.2, 8.3
Operating System
Windows