php-src/win32/build
Arnaud Le Blanc 7b3e68ff69
Fix error handling inconsistency with opcache
When opcache is enabled, error handling is altered in the following ways:

 * Errors emitted during compilation bypass the user-defined error handler
 * Exceptions emitted during class linking are turned into fatal errors

Changes here make the behavior consistent regardless of opcache being enabled or
not:

 * Errors emitted during compilation and class linking are always delayed and
   handled after compilation or class linking. During handling, user-defined
   error handlers are not bypassed. Fatal errors emitted during compilation or
   class linking cause any delayed errors to be handled immediately (without
   calling user-defined error handlers, as it would be unsafe).
 * Exceptions thrown by user-defined error handlers when handling class linking
   error are not promoted to fatal errors anymore and do not prevent linking.

Fixes GH-17422.
Closes GH-18541.
Closes GH-17627.

Co-authored-by: Tim Düsterhus <tim@bastelstu.be>
2025-07-27 11:01:49 +02:00
..
buildconf.js Update http->https in license (#6945) 2021-05-06 12:16:35 +02:00
config.w32 [Windows build] Remove redundant flags definitions (#18890) 2025-06-22 15:19:08 +02:00
config.w32.h.in Remove HAVE_INTMAX_T and SIZEOF_INTMAX_T (#18971) 2025-06-29 19:50:27 +02:00
config.w32.phpize.in Fix typo in "private" function name (Windows configuration) (GH-17069) 2024-12-06 23:42:15 +01:00
configure.bat Fix #79146: cscript can fail to run on some systems 2020-01-21 11:53:11 +01:00
configure.tail Sync leading and final newlines in source code files 2018-10-14 12:56:38 +02:00
confutils.js Fix error handling inconsistency with opcache 2025-07-27 11:01:49 +02:00
cppcheck.cfg
cppcheck_suppress.txt
cppcheck_x64.cfg Zend/zend_types.h: deprecate zend_bool, zend_intptr_t, zend_uintptr_t (#10597) 2023-02-18 19:31:28 +00:00
cppcheck_x86.cfg Zend/zend_types.h: deprecate zend_bool, zend_intptr_t, zend_uintptr_t (#10597) 2023-02-18 19:31:28 +00:00
default.manifest Fix minimal Windows version 2024-09-22 19:28:43 +02:00
deplister.c Update http->https in license (#6945) 2021-05-06 12:16:35 +02:00
Makefile Merge branch 'PHP-8.3' into PHP-8.4 2024-12-08 19:10:12 +01:00
Makefile.phpize Support test-ini also for phpize builds 2022-08-26 14:25:10 +02:00
mkdist.php Exclude further dependencies from dist (GH-16965) 2024-12-04 17:44:59 +01:00
mkico.bat Build/Windows: Update the Windows icon as svg and build derivatives from it 2024-07-16 14:47:31 +02:00
mkico.sh Sync file permissions 2024-08-02 02:39:52 +02:00
php-classic.svg Build/Windows: Update the Windows icon as svg and build derivatives from it 2024-07-16 14:47:31 +02:00
php.ico Build/Windows: Update the Windows icon as svg and build derivatives from it 2024-07-16 14:47:31 +02:00
php.svg Build/Windows: Update the Windows icon as svg and build derivatives from it 2024-07-16 14:47:31 +02:00
phpize.bat Fail phpize early if config.w32 is missing (GH-17100) 2024-12-15 12:02:19 +01:00
phpize.js.in Merge branch 'PHP-8.4' 2025-02-14 17:19:50 +01:00
registersyslog.php Use regedit to register event source 2019-07-18 09:10:48 +02:00
template.rc Use HTTPS URLs in resource files 2022-06-15 17:56:14 +02:00
wsyslog.mc Sync leading and final newlines in source code files 2018-10-14 12:56:38 +02:00