summaryrefslogtreecommitdiff
path: root/ext/bcmath/libbcmath/src/outofmem.c
diff options
context:
space:
mode:
Diffstat (limited to 'ext/bcmath/libbcmath/src/outofmem.c')
-rw-r--r--ext/bcmath/libbcmath/src/outofmem.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/ext/bcmath/libbcmath/src/outofmem.c b/ext/bcmath/libbcmath/src/outofmem.c
index 799a32d2ae..05fa484e11 100644
--- a/ext/bcmath/libbcmath/src/outofmem.c
+++ b/ext/bcmath/libbcmath/src/outofmem.c
@@ -41,6 +41,5 @@
void bc_out_of_memory (void)
{
- (void) fprintf (stderr, "bcmath: out of memory!\n");
- exit (1);
+ zend_error_noreturn(E_ERROR, "bcmath: out of memory!");
}