Monday, 23 December 2013

Fatal error: Call to undefined function: bcmod()

If you get this error in PHP Fatal error: Call to undefined function: bcmod() there is a simple fix which is hinted at on the PHP web site. Where you have $value = bcmod('4', '2'); replace with value = 4%2; This is a bodge, but a nice simple one.
Post a Comment