string(40) "100000000.000000000000000000000000000000"
Fatal error: Uncaught ValueError: bcdiv(): Argument #2 ($num2) is not well-formed in /in/hK2Yv:12
Stack trace:
#0 /in/hK2Yv(12): bcdiv('1', '1e-8')
#1 {main}
thrown in /in/hK2Yv on line 12
Process exited with code 255.
Output for 7.0.5, 7.3.32 - 7.3.33, 7.4.33, 8.0.13
Fatal error: Uncaught Error: Call to undefined function bcscale() in /in/hK2Yv:3
Stack trace:
#0 {main}
thrown in /in/hK2Yv on line 3
Process exited with code 255.
Output for 8.0.0 - 8.0.1
string(40) "100000000.000000000000000000000000000000"
Warning: bcdiv(): bcmath function argument is not well-formed in /in/hK2Yv on line 12
Fatal error: Uncaught DivisionByZeroError: Division by zero in /in/hK2Yv:12
Stack trace:
#0 /in/hK2Yv(12): bcdiv('1', '1e-8')
#1 {main}
thrown in /in/hK2Yv on line 12
Process exited with code 255.
Output for 7.4.0 - 7.4.32
string(40) "100000000.000000000000000000000000000000"
Warning: bcdiv(): bcmath function argument is not well-formed in /in/hK2Yv on line 12
Warning: bcdiv(): Division by zero in /in/hK2Yv on line 12
NULL
string(40) "100000000.000000000000000000000000000000"
Warning: bcdiv(): Division by zero in /in/hK2Yv on line 12
NULL
Output for 5.5.29 - 5.5.30, 5.5.34, 5.6.13 - 5.6.15, 5.6.20
Fatal error: Call to undefined function bcscale() in /in/hK2Yv on line 3
Process exited with code 255.
Output for 4.3.0 - 4.3.1
string(40) "100000000.000000000000000000000000000000"
Warning: bcdiv() [http://www.php.net/function.bcdiv]: Division by zero in /in/hK2Yv on line 12
NULL