1
0
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:
Marcus Boerger
2003-08-23 19:48:52 +00:00
parent 96fa63d6bf
commit c3d60fd7ff
6 changed files with 20 additions and 36 deletions
+1 -1
View File
@@ -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 */