diff options
Diffstat (limited to 'ext/bcmath/bcmath.c')
| -rw-r--r-- | ext/bcmath/bcmath.c | 8 | 
1 files changed, 8 insertions, 0 deletions
diff --git a/ext/bcmath/bcmath.c b/ext/bcmath/bcmath.c index 78a2521b8c..66a46307e8 100644 --- a/ext/bcmath/bcmath.c +++ b/ext/bcmath/bcmath.c @@ -60,7 +60,15 @@ static long bc_precision;  PHP_MINIT_FUNCTION(bcmath)  { +	extern bc_num _zero_; +	extern bc_num _one_; +	extern bc_num _two_; +  	init_numbers(); +	persist_alloc(_zero_); +	persist_alloc(_one_); +	persist_alloc(_two_); +  	return SUCCESS;  }  | 
