mirror of
https://github.com/php/php-src.git
synced 2026-04-26 09:28:21 +02:00
Allow zend_throw_exception() to also set the exception code
This commit is contained in:
@@ -47,7 +47,7 @@
|
||||
|
||||
/* Exception throwing macro */
|
||||
#define _DO_THROW(msg) \
|
||||
zend_throw_exception(msg, 1 TSRMLS_CC); \
|
||||
zend_throw_exception(msg, 0 TSRMLS_CC); \
|
||||
return; \
|
||||
|
||||
/* Smart string macros */
|
||||
|
||||
Reference in New Issue
Block a user