Bug #71169 [Opn]: I get a Fatal error: Call to undefined function bcpow()

[email protected]
Newsgroups php.bugs
Message-ID <[email protected]>
Edit report at https://bugs.php.net/bug.php?id=71169&edit=1

 ID:                 71169
 Updated by:         [email protected]
 Reported by:        janokary at gmail dot com
 Summary:            I get a Fatal error: Call to undefined function
                     bcpow()
 Status:             Open
 Type:               Bug
 Package:            BC math related
 Operating System:   heroku ubuntu
 PHP Version:        7.0.1
 Block user comment: N
 Private report:     N

 New Comment:

I couldn't replicate this. Have you made sure you've added the BCMath extension as a requirement in your composer.json file?


Previous Comments:
------------------------------------------------------------------------
[2015-12-19 19:06:41] janokary at gmail dot com

Description:
------------
I am using Laravel framework and my application is hosted at Heroku.
Though everything was fine until PHP v7, now in 7.0.1 I get a

FatalThrowableError
Fatal error: Call to undefined function App\Services\ShortUrl\bcpow()



Actual result:
--------------
I looks like bcpow() is not included in php v7.0.1


------------------------------------------------------------------------



--
Edit this bug report at https://bugs.php.net/bug.php?id=71169&edit=1
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.