mirror of
https://github.com/php/php-src.git
synced 2025-08-18 15:08:55 +02:00
Promote some warnings in BCMath to Errors
Also do a bit of refactoring at the same time. Closes GH-6105
This commit is contained in:
parent
f29bfc0bd8
commit
cd05b56a6f
18 changed files with 99 additions and 152 deletions
|
@ -55,7 +55,6 @@ zend_string
|
|||
str = zend_string_alloc(num->n_len + scale + signch + 1, 0);
|
||||
else
|
||||
str = zend_string_alloc(num->n_len + signch, 0);
|
||||
if (str == NULL) bc_out_of_memory();
|
||||
|
||||
/* The negative sign if needed. */
|
||||
sptr = ZSTR_VAL(str);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue