=================================================
Given the following inputs:
int(506)
int(10)
The results will be:
ceil: float(51)
round + ceil: float(51)
wp_total_pages: int(51)
intdiv: int(51)
bcdiv: int(51)
And the results with an int cast added will be:
ceil: int(51)
round + ceil: int(51)
wp_total_pages: int(51)
intdiv: int(51)
bcdiv: int(51)
=================================================
Given the following inputs:
int(505)
int(10)
The results will be:
ceil: float(51)
round + ceil: float(51)
wp_total_pages: int(51)
intdiv: int(51)
bcdiv: int(51)
And the results with an int cast added will be:
ceil: int(51)
round + ceil: int(51)
wp_total_pages: int(51)
intdiv: int(51)
bcdiv: int(51)
=================================================
Given the following inputs:
int(504)
int(10)
The results will be:
ceil: float(51)
round + ceil: float(51)
wp_total_pages: int(51)
intdiv: int(51)
bcdiv: int(51)
And the results with an int cast added will be:
ceil: int(51)
round + ceil: int(51)
wp_total_pages: int(51)
intdiv: int(51)
bcdiv: int(51)
=================================================
Given the following inputs:
int(500)
float(9.5)
Deprecated: Implicit conversion from float 9.5 to int loses precision in /in/V6jdD on line 26
The results will be:
ceil: float(53)
round + ceil: float(53)
wp_total_pages:
Deprecated: Implicit conversion from float 9.5 to int loses precision in /in/V6jdD on line 4
float(53.10526315789474)
intdiv:
Deprecated: Implicit conversion from float 9.5 to int loses precision in /in/V6jdD on line 35
int(56)
bcdiv: int(53)
And the results with an int cast added will be:
ceil: int(53)
round + ceil: int(53)
wp_total_pages:
Deprecated: Implicit conversion from float 9.5 to int loses precision in /in/V6jdD on line 4
int(53)
intdiv:
Deprecated: Implicit conversion from float 9.5 to int loses precision in /in/V6jdD on line 54
int(56)
bcdiv: int(53)
=================================================
Given the following inputs:
int(500)
int(9)
The results will be:
ceil: float(56)
round + ceil: float(56)
wp_total_pages: int(56)
intdiv: int(56)
bcdiv: int(56)
And the results with an int cast added will be:
ceil: int(56)
round + ceil: int(56)
wp_total_pages: int(56)
intdiv: int(56)
bcdiv: int(56)
=================================================
Given the following inputs:
int(35478743512)
int(15)
The results will be:
ceil: float(2365249568)
round + ceil: float(2365249568)
wp_total_pages: int(2365249568)
intdiv: int(2365249568)
bcdiv: int(2365249568)
And the results with an int cast added will be:
ceil: int(2365249568)
round + ceil: int(2365249568)
wp_total_pages: int(2365249568)
intdiv: int(2365249568)
bcdiv: int(2365249568)
=================================================
Given the following inputs:
int(9223372036854775807)
int(20)
The results will be:
ceil: float(4.611686018427388E+17)
round + ceil: float(4.611686018427388E+17)
wp_total_pages: float(4.611686018427388E+17)
intdiv: int(461168601842738791)
bcdiv: int(461168601842738791)
And the results with an int cast added will be:
ceil: int(461168601842738816)
round + ceil: int(461168601842738816)
wp_total_pages: int(461168601842738816)
intdiv: int(461168601842738791)
bcdiv: int(461168601842738791)
=================================================
Given the following inputs:
float(9.223372036854776E+18)
int(20)
Deprecated: Implicit conversion from float 9.223372036854776E+18 to int loses precision in /in/V6jdD on line 26
The results will be:
ceil: float(4.611686018427388E+17)
round + ceil: float(4.611686018427388E+17)
wp_total_pages:
Deprecated: Implicit conversion from float 9.223372036854776E+18 to int loses precision in /in/V6jdD on line 4
float(4.611686018427388E+17)
intdiv: intdiv: intdiv(): Argument #1 ($num1) must be of type int, float given
bcdiv: bcdiv: bcdiv(): Argument #1 ($num1) is not well-formed
And the results with an int cast added will be:
ceil: int(461168601842738816)
round + ceil: int(461168601842738816)
wp_total_pages:
Deprecated: Implicit conversion from float 9.223372036854776E+18 to int loses precision in /in/V6jdD on line 4
int(461168601842738816)
intdiv: intdiv: intdiv(): Argument #1 ($num1) must be of type int, float given
bcdiv: bcdiv: bcdiv(): Argument #1 ($num1) is not well-formed
Output for 8.0.2 - 8.0.12, 8.0.14 - 8.0.30
=================================================
Given the following inputs:
int(506)
int(10)
The results will be:
ceil: float(51)
round + ceil: float(51)
wp_total_pages: int(51)
intdiv: int(51)
bcdiv: int(51)
And the results with an int cast added will be:
ceil: int(51)
round + ceil: int(51)
wp_total_pages: int(51)
intdiv: int(51)
bcdiv: int(51)
=================================================
Given the following inputs:
int(505)
int(10)
The results will be:
ceil: float(51)
round + ceil: float(51)
wp_total_pages: int(51)
intdiv: int(51)
bcdiv: int(51)
And the results with an int cast added will be:
ceil: int(51)
round + ceil: int(51)
wp_total_pages: int(51)
intdiv: int(51)
bcdiv: int(51)
=================================================
Given the following inputs:
int(504)
int(10)
The results will be:
ceil: float(51)
round + ceil: float(51)
wp_total_pages: int(51)
intdiv: int(51)
bcdiv: int(51)
And the results with an int cast added will be:
ceil: int(51)
round + ceil: int(51)
wp_total_pages: int(51)
intdiv: int(51)
bcdiv: int(51)
=================================================
Given the following inputs:
int(500)
float(9.5)
The results will be:
ceil: float(53)
round + ceil: float(53)
wp_total_pages: float(53.10526315789474)
intdiv: int(56)
bcdiv: int(53)
And the results with an int cast added will be:
ceil: int(53)
round + ceil: int(53)
wp_total_pages: int(53)
intdiv: int(56)
bcdiv: int(53)
=================================================
Given the following inputs:
int(500)
int(9)
The results will be:
ceil: float(56)
round + ceil: float(56)
wp_total_pages: int(56)
intdiv: int(56)
bcdiv: int(56)
And the results with an int cast added will be:
ceil: int(56)
round + ceil: int(56)
wp_total_pages: int(56)
intdiv: int(56)
bcdiv: int(56)
=================================================
Given the following inputs:
int(35478743512)
int(15)
The results will be:
ceil: float(2365249568)
round + ceil: float(2365249568)
wp_total_pages: int(2365249568)
intdiv: int(2365249568)
bcdiv: int(2365249568)
And the results with an int cast added will be:
ceil: int(2365249568)
round + ceil: int(2365249568)
wp_total_pages: int(2365249568)
intdiv: int(2365249568)
bcdiv: int(2365249568)
=================================================
Given the following inputs:
int(9223372036854775807)
int(20)
The results will be:
ceil: float(4.611686018427388E+17)
round + ceil: float(4.611686018427388E+17)
wp_total_pages: float(4.611686018427388E+17)
intdiv: int(461168601842738791)
bcdiv: int(461168601842738791)
And the results with an int cast added will be:
ceil: int(461168601842738816)
round + ceil: int(461168601842738816)
wp_total_pages: int(461168601842738816)
intdiv: int(461168601842738791)
bcdiv: int(461168601842738791)
=================================================
Given the following inputs:
float(9.223372036854776E+18)
int(20)
The results will be:
ceil: float(4.611686018427388E+17)
round + ceil: float(4.611686018427388E+17)
wp_total_pages: float(4.611686018427388E+17)
intdiv: intdiv: intdiv(): Argument #1 ($num1) must be of type int, float given
bcdiv: bcdiv: bcdiv(): Argument #1 ($num1) is not well-formed
And the results with an int cast added will be:
ceil: int(461168601842738816)
round + ceil: int(461168601842738816)
wp_total_pages: int(461168601842738816)
intdiv: intdiv: intdiv(): Argument #1 ($num1) must be of type int, float given
bcdiv: bcdiv: bcdiv(): Argument #1 ($num1) is not well-formed
Output for 8.0.13
=================================================
Given the following inputs:
int(506)
int(10)
The results will be:
ceil: float(51)
round + ceil: float(51)
wp_total_pages: int(51)
intdiv: int(51)
bcdiv: bcdiv: Call to undefined function bcdiv()
And the results with an int cast added will be:
ceil: int(51)
round + ceil: int(51)
wp_total_pages: int(51)
intdiv: int(51)
bcdiv: bcdiv: Call to undefined function bcdiv()
=================================================
Given the following inputs:
int(505)
int(10)
The results will be:
ceil: float(51)
round + ceil: float(51)
wp_total_pages: int(51)
intdiv: int(51)
bcdiv: bcdiv: Call to undefined function bcdiv()
And the results with an int cast added will be:
ceil: int(51)
round + ceil: int(51)
wp_total_pages: int(51)
intdiv: int(51)
bcdiv: bcdiv: Call to undefined function bcdiv()
=================================================
Given the following inputs:
int(504)
int(10)
The results will be:
ceil: float(51)
round + ceil: float(51)
wp_total_pages: int(51)
intdiv: int(51)
bcdiv: bcdiv: Call to undefined function bcdiv()
And the results with an int cast added will be:
ceil: int(51)
round + ceil: int(51)
wp_total_pages: int(51)
intdiv: int(51)
bcdiv: bcdiv: Call to undefined function bcdiv()
=================================================
Given the following inputs:
int(500)
float(9.5)
The results will be:
ceil: float(53)
round + ceil: float(53)
wp_total_pages: float(53.10526315789474)
intdiv: int(56)
bcdiv: bcdiv: Call to undefined function bcdiv()
And the results with an int cast added will be:
ceil: int(53)
round + ceil: int(53)
wp_total_pages: int(53)
intdiv: int(56)
bcdiv: bcdiv: Call to undefined function bcdiv()
=================================================
Given the following inputs:
int(500)
int(9)
The results will be:
ceil: float(56)
round + ceil: float(56)
wp_total_pages: int(56)
intdiv: int(56)
bcdiv: bcdiv: Call to undefined function bcdiv()
And the results with an int cast added will be:
ceil: int(56)
round + ceil: int(56)
wp_total_pages: int(56)
intdiv: int(56)
bcdiv: bcdiv: Call to undefined function bcdiv()
=================================================
Given the following inputs:
int(35478743512)
int(15)
The results will be:
ceil: float(2365249568)
round + ceil: float(2365249568)
wp_total_pages: int(2365249568)
intdiv: int(2365249568)
bcdiv: bcdiv: Call to undefined function bcdiv()
And the results with an int cast added will be:
ceil: int(2365249568)
round + ceil: int(2365249568)
wp_total_pages: int(2365249568)
intdiv: int(2365249568)
bcdiv: bcdiv: Call to undefined function bcdiv()
=================================================
Given the following inputs:
int(9223372036854775807)
int(20)
The results will be:
ceil: float(4.611686018427388E+17)
round + ceil: float(4.611686018427388E+17)
wp_total_pages: float(4.611686018427388E+17)
intdiv: int(461168601842738791)
bcdiv: bcdiv: Call to undefined function bcdiv()
And the results with an int cast added will be:
ceil: int(461168601842738816)
round + ceil: int(461168601842738816)
wp_total_pages: int(461168601842738816)
intdiv: int(461168601842738791)
bcdiv: bcdiv: Call to undefined function bcdiv()
=================================================
Given the following inputs:
float(9.223372036854776E+18)
int(20)
The results will be:
ceil: float(4.611686018427388E+17)
round + ceil: float(4.611686018427388E+17)
wp_total_pages: float(4.611686018427388E+17)
intdiv: intdiv: intdiv(): Argument #1 ($num1) must be of type int, float given
bcdiv: bcdiv: Call to undefined function bcdiv()
And the results with an int cast added will be:
ceil: int(461168601842738816)
round + ceil: int(461168601842738816)
wp_total_pages: int(461168601842738816)
intdiv: intdiv: intdiv(): Argument #1 ($num1) must be of type int, float given
bcdiv: bcdiv: Call to undefined function bcdiv()
Output for 8.0.0 - 8.0.1
=================================================
Given the following inputs:
int(506)
int(10)
The results will be:
ceil: float(51)
round + ceil: float(51)
wp_total_pages: int(51)
intdiv: int(51)
bcdiv: int(51)
And the results with an int cast added will be:
ceil: int(51)
round + ceil: int(51)
wp_total_pages: int(51)
intdiv: int(51)
bcdiv: int(51)
=================================================
Given the following inputs:
int(505)
int(10)
The results will be:
ceil: float(51)
round + ceil: float(51)
wp_total_pages: int(51)
intdiv: int(51)
bcdiv: int(51)
And the results with an int cast added will be:
ceil: int(51)
round + ceil: int(51)
wp_total_pages: int(51)
intdiv: int(51)
bcdiv: int(51)
=================================================
Given the following inputs:
int(504)
int(10)
The results will be:
ceil: float(51)
round + ceil: float(51)
wp_total_pages: int(51)
intdiv: int(51)
bcdiv: int(51)
And the results with an int cast added will be:
ceil: int(51)
round + ceil: int(51)
wp_total_pages: int(51)
intdiv: int(51)
bcdiv: int(51)
=================================================
Given the following inputs:
int(500)
float(9.5)
The results will be:
ceil: float(53)
round + ceil: float(53)
wp_total_pages: float(53.10526315789474)
intdiv: int(56)
bcdiv: int(53)
And the results with an int cast added will be:
ceil: int(53)
round + ceil: int(53)
wp_total_pages: int(53)
intdiv: int(56)
bcdiv: int(53)
=================================================
Given the following inputs:
int(500)
int(9)
The results will be:
ceil: float(56)
round + ceil: float(56)
wp_total_pages: int(56)
intdiv: int(56)
bcdiv: int(56)
And the results with an int cast added will be:
ceil: int(56)
round + ceil: int(56)
wp_total_pages: int(56)
intdiv: int(56)
bcdiv: int(56)
=================================================
Given the following inputs:
int(35478743512)
int(15)
The results will be:
ceil: float(2365249568)
round + ceil: float(2365249568)
wp_total_pages: int(2365249568)
intdiv: int(2365249568)
bcdiv: int(2365249568)
And the results with an int cast added will be:
ceil: int(2365249568)
round + ceil: int(2365249568)
wp_total_pages: int(2365249568)
intdiv: int(2365249568)
bcdiv: int(2365249568)
=================================================
Given the following inputs:
int(9223372036854775807)
int(20)
The results will be:
ceil: float(4.611686018427388E+17)
round + ceil: float(4.611686018427388E+17)
wp_total_pages: float(4.611686018427388E+17)
intdiv: int(461168601842738791)
bcdiv: int(461168601842738791)
And the results with an int cast added will be:
ceil: int(461168601842738816)
round + ceil: int(461168601842738816)
wp_total_pages: int(461168601842738816)
intdiv: int(461168601842738791)
bcdiv: int(461168601842738791)
=================================================
Given the following inputs:
float(9.223372036854776E+18)
int(20)
The results will be:
ceil: float(4.611686018427388E+17)
round + ceil: float(4.611686018427388E+17)
wp_total_pages: float(4.611686018427388E+17)
intdiv: intdiv: intdiv(): Argument #1 ($num1) must be of type int, float given
bcdiv:
Warning: bcdiv(): bcmath function argument is not well-formed in /in/V6jdD on line 43
int(0)
And the results with an int cast added will be:
ceil: int(461168601842738816)
round + ceil: int(461168601842738816)
wp_total_pages: int(461168601842738816)
intdiv: intdiv: intdiv(): Argument #1 ($num1) must be of type int, float given
bcdiv:
Warning: bcdiv(): bcmath function argument is not well-formed in /in/V6jdD on line 63
int(0)
Output for 7.3.32, 7.4.26, 7.4.33
=================================================
Given the following inputs:
int(506)
int(10)
The results will be:
ceil: float(51)
round + ceil: float(51)
wp_total_pages: int(51)
intdiv: int(51)
bcdiv: bcdiv: Call to undefined function bcdiv()
And the results with an int cast added will be:
ceil: int(51)
round + ceil: int(51)
wp_total_pages: int(51)
intdiv: int(51)
bcdiv: bcdiv: Call to undefined function bcdiv()
=================================================
Given the following inputs:
int(505)
int(10)
The results will be:
ceil: float(51)
round + ceil: float(51)
wp_total_pages: int(51)
intdiv: int(51)
bcdiv: bcdiv: Call to undefined function bcdiv()
And the results with an int cast added will be:
ceil: int(51)
round + ceil: int(51)
wp_total_pages: int(51)
intdiv: int(51)
bcdiv: bcdiv: Call to undefined function bcdiv()
=================================================
Given the following inputs:
int(504)
int(10)
The results will be:
ceil: float(51)
round + ceil: float(51)
wp_total_pages: int(51)
intdiv: int(51)
bcdiv: bcdiv: Call to undefined function bcdiv()
And the results with an int cast added will be:
ceil: int(51)
round + ceil: int(51)
wp_total_pages: int(51)
intdiv: int(51)
bcdiv: bcdiv: Call to undefined function bcdiv()
=================================================
Given the following inputs:
int(500)
float(9.5)
The results will be:
ceil: float(53)
round + ceil: float(53)
wp_total_pages: float(53.105263157895)
intdiv: int(56)
bcdiv: bcdiv: Call to undefined function bcdiv()
And the results with an int cast added will be:
ceil: int(53)
round + ceil: int(53)
wp_total_pages: int(53)
intdiv: int(56)
bcdiv: bcdiv: Call to undefined function bcdiv()
=================================================
Given the following inputs:
int(500)
int(9)
The results will be:
ceil: float(56)
round + ceil: float(56)
wp_total_pages: int(56)
intdiv: int(56)
bcdiv: bcdiv: Call to undefined function bcdiv()
And the results with an int cast added will be:
ceil: int(56)
round + ceil: int(56)
wp_total_pages: int(56)
intdiv: int(56)
bcdiv: bcdiv: Call to undefined function bcdiv()
=================================================
Given the following inputs:
int(35478743512)
int(15)
The results will be:
ceil: float(2365249568)
round + ceil: float(2365249568)
wp_total_pages: int(2365249568)
intdiv: int(2365249568)
bcdiv: bcdiv: Call to undefined function bcdiv()
And the results with an int cast added will be:
ceil: int(2365249568)
round + ceil: int(2365249568)
wp_total_pages: int(2365249568)
intdiv: int(2365249568)
bcdiv: bcdiv: Call to undefined function bcdiv()
=================================================
Given the following inputs:
int(9223372036854775807)
int(20)
The results will be:
ceil: float(4.6116860184274E+17)
round + ceil: float(4.6116860184274E+17)
wp_total_pages: float(4.6116860184274E+17)
intdiv: int(461168601842738791)
bcdiv: bcdiv: Call to undefined function bcdiv()
And the results with an int cast added will be:
ceil: int(461168601842738816)
round + ceil: int(461168601842738816)
wp_total_pages: int(461168601842738816)
intdiv: int(461168601842738791)
bcdiv: bcdiv: Call to undefined function bcdiv()
=================================================
Given the following inputs:
float(9.2233720368548E+18)
int(20)
The results will be:
ceil: float(4.6116860184274E+17)
round + ceil: float(4.6116860184274E+17)
wp_total_pages: float(4.6116860184274E+17)
intdiv:
Warning: intdiv() expects parameter 1 to be int, float given in /in/V6jdD on line 35
int(0)
bcdiv: bcdiv: Call to undefined function bcdiv()
And the results with an int cast added will be:
ceil: int(461168601842738816)
round + ceil: int(461168601842738816)
wp_total_pages: int(461168601842738816)
intdiv:
Warning: intdiv() expects parameter 1 to be int, float given in /in/V6jdD on line 54
int(0)
bcdiv: bcdiv: Call to undefined function bcdiv()
Output for 7.4.0 - 7.4.25, 7.4.27 - 7.4.32
=================================================
Given the following inputs:
int(506)
int(10)
The results will be:
ceil: float(51)
round + ceil: float(51)
wp_total_pages: int(51)
intdiv: int(51)
bcdiv: int(51)
And the results with an int cast added will be:
ceil: int(51)
round + ceil: int(51)
wp_total_pages: int(51)
intdiv: int(51)
bcdiv: int(51)
=================================================
Given the following inputs:
int(505)
int(10)
The results will be:
ceil: float(51)
round + ceil: float(51)
wp_total_pages: int(51)
intdiv: int(51)
bcdiv: int(51)
And the results with an int cast added will be:
ceil: int(51)
round + ceil: int(51)
wp_total_pages: int(51)
intdiv: int(51)
bcdiv: int(51)
=================================================
Given the following inputs:
int(504)
int(10)
The results will be:
ceil: float(51)
round + ceil: float(51)
wp_total_pages: int(51)
intdiv: int(51)
bcdiv: int(51)
And the results with an int cast added will be:
ceil: int(51)
round + ceil: int(51)
wp_total_pages: int(51)
intdiv: int(51)
bcdiv: int(51)
=================================================
Given the following inputs:
int(500)
float(9.5)
The results will be:
ceil: float(53)
round + ceil: float(53)
wp_total_pages: float(53.105263157895)
intdiv: int(56)
bcdiv: int(53)
And the results with an int cast added will be:
ceil: int(53)
round + ceil: int(53)
wp_total_pages: int(53)
intdiv: int(56)
bcdiv: int(53)
=================================================
Given the following inputs:
int(500)
int(9)
The results will be:
ceil: float(56)
round + ceil: float(56)
wp_total_pages: int(56)
intdiv: int(56)
bcdiv: int(56)
And the results with an int cast added will be:
ceil: int(56)
round + ceil: int(56)
wp_total_pages: int(56)
intdiv: int(56)
bcdiv: int(56)
=================================================
Given the following inputs:
int(35478743512)
int(15)
The results will be:
ceil: float(2365249568)
round + ceil: float(2365249568)
wp_total_pages: int(2365249568)
intdiv: int(2365249568)
bcdiv: int(2365249568)
And the results with an int cast added will be:
ceil: int(2365249568)
round + ceil: int(2365249568)
wp_total_pages: int(2365249568)
intdiv: int(2365249568)
bcdiv: int(2365249568)
=================================================
Given the following inputs:
int(9223372036854775807)
int(20)
The results will be:
ceil: float(4.6116860184274E+17)
round + ceil: float(4.6116860184274E+17)
wp_total_pages: float(4.6116860184274E+17)
intdiv: int(461168601842738791)
bcdiv: int(461168601842738791)
And the results with an int cast added will be:
ceil: int(461168601842738816)
round + ceil: int(461168601842738816)
wp_total_pages: int(461168601842738816)
intdiv: int(461168601842738791)
bcdiv: int(461168601842738791)
=================================================
Given the following inputs:
float(9.2233720368548E+18)
int(20)
The results will be:
ceil: float(4.6116860184274E+17)
round + ceil: float(4.6116860184274E+17)
wp_total_pages: float(4.6116860184274E+17)
intdiv:
Warning: intdiv() expects parameter 1 to be int, float given in /in/V6jdD on line 35
int(0)
bcdiv:
Warning: bcdiv(): bcmath function argument is not well-formed in /in/V6jdD on line 43
int(0)
And the results with an int cast added will be:
ceil: int(461168601842738816)
round + ceil: int(461168601842738816)
wp_total_pages: int(461168601842738816)
intdiv:
Warning: intdiv() expects parameter 1 to be int, float given in /in/V6jdD on line 54
int(0)
bcdiv:
Warning: bcdiv(): bcmath function argument is not well-formed in /in/V6jdD on line 63
int(0)
Output for 7.3.0 - 7.3.31, 7.3.33
=================================================
Given the following inputs:
int(506)
int(10)
The results will be:
ceil: float(51)
round + ceil: float(51)
wp_total_pages: int(51)
intdiv: int(51)
bcdiv: int(51)
And the results with an int cast added will be:
ceil: int(51)
round + ceil: int(51)
wp_total_pages: int(51)
intdiv: int(51)
bcdiv: int(51)
=================================================
Given the following inputs:
int(505)
int(10)
The results will be:
ceil: float(51)
round + ceil: float(51)
wp_total_pages: int(51)
intdiv: int(51)
bcdiv: int(51)
And the results with an int cast added will be:
ceil: int(51)
round + ceil: int(51)
wp_total_pages: int(51)
intdiv: int(51)
bcdiv: int(51)
=================================================
Given the following inputs:
int(504)
int(10)
The results will be:
ceil: float(51)
round + ceil: float(51)
wp_total_pages: int(51)
intdiv: int(51)
bcdiv: int(51)
And the results with an int cast added will be:
ceil: int(51)
round + ceil: int(51)
wp_total_pages: int(51)
intdiv: int(51)
bcdiv: int(51)
=================================================
Given the following inputs:
int(500)
float(9.5)
The results will be:
ceil: float(53)
round + ceil: float(53)
wp_total_pages: float(53.105263157895)
intdiv: int(56)
bcdiv: int(53)
And the results with an int cast added will be:
ceil: int(53)
round + ceil: int(53)
wp_total_pages: int(53)
intdiv: int(56)
bcdiv: int(53)
=================================================
Given the following inputs:
int(500)
int(9)
The results will be:
ceil: float(56)
round + ceil: float(56)
wp_total_pages: int(56)
intdiv: int(56)
bcdiv: int(56)
And the results with an int cast added will be:
ceil: int(56)
round + ceil: int(56)
wp_total_pages: int(56)
intdiv: int(56)
bcdiv: int(56)
=================================================
Given the following inputs:
int(35478743512)
int(15)
The results will be:
ceil: float(2365249568)
round + ceil: float(2365249568)
wp_total_pages: int(2365249568)
intdiv: int(2365249568)
bcdiv: int(2365249568)
And the results with an int cast added will be:
ceil: int(2365249568)
round + ceil: int(2365249568)
wp_total_pages: int(2365249568)
intdiv: int(2365249568)
bcdiv: int(2365249568)
=================================================
Given the following inputs:
int(9223372036854775807)
int(20)
The results will be:
ceil: float(4.6116860184274E+17)
round + ceil: float(4.6116860184274E+17)
wp_total_pages: float(4.6116860184274E+17)
intdiv: int(461168601842738791)
bcdiv: int(461168601842738791)
And the results with an int cast added will be:
ceil: int(461168601842738816)
round + ceil: int(461168601842738816)
wp_total_pages: int(461168601842738816)
intdiv: int(461168601842738791)
bcdiv: int(461168601842738791)
=================================================
Given the following inputs:
float(9.2233720368548E+18)
int(20)
The results will be:
ceil: float(4.6116860184274E+17)
round + ceil: float(4.6116860184274E+17)
wp_total_pages: float(4.6116860184274E+17)
intdiv:
Warning: intdiv() expects parameter 1 to be int, float given in /in/V6jdD on line 35
int(0)
bcdiv: int(0)
And the results with an int cast added will be:
ceil: int(461168601842738816)
round + ceil: int(461168601842738816)
wp_total_pages: int(461168601842738816)
intdiv:
Warning: intdiv() expects parameter 1 to be int, float given in /in/V6jdD on line 54
int(0)
bcdiv: int(0)
=================================================
Given the following inputs:
int(506)
int(10)
The results will be:
ceil: float(51)
round + ceil: float(51)
wp_total_pages: int(51)
intdiv: int(51)
bcdiv: int(51)
And the results with an int cast added will be:
ceil: int(51)
round + ceil: int(51)
wp_total_pages: int(51)
intdiv: int(51)
bcdiv: int(51)
=================================================
Given the following inputs:
int(505)
int(10)
The results will be:
ceil: float(51)
round + ceil: float(51)
wp_total_pages: int(51)
intdiv: int(51)
bcdiv: int(51)
And the results with an int cast added will be:
ceil: int(51)
round + ceil: int(51)
wp_total_pages: int(51)
intdiv: int(51)
bcdiv: int(51)
=================================================
Given the following inputs:
int(504)
int(10)
The results will be:
ceil: float(51)
round + ceil: float(51)
wp_total_pages: int(51)
intdiv: int(51)
bcdiv: int(51)
And the results with an int cast added will be:
ceil: int(51)
round + ceil: int(51)
wp_total_pages: int(51)
intdiv: int(51)
bcdiv: int(51)
=================================================
Given the following inputs:
int(500)
float(9.5)
The results will be:
ceil: float(53)
round + ceil: float(53)
wp_total_pages: float(53.105263157895)
intdiv: int(56)
bcdiv: int(53)
And the results with an int cast added will be:
ceil: int(53)
round + ceil: int(53)
wp_total_pages: int(53)
intdiv: int(56)
bcdiv: int(53)
=================================================
Given the following inputs:
int(500)
int(9)
The results will be:
ceil: float(56)
round + ceil: float(56)
wp_total_pages: int(56)
intdiv: int(56)
bcdiv: int(56)
And the results with an int cast added will be:
ceil: int(56)
round + ceil: int(56)
wp_total_pages: int(56)
intdiv: int(56)
bcdiv: int(56)
=================================================
Given the following inputs:
int(35478743512)
int(15)
The results will be:
ceil: float(2365249568)
round + ceil: float(2365249568)
wp_total_pages: int(2365249568)
intdiv: int(2365249568)
bcdiv: int(2365249568)
And the results with an int cast added will be:
ceil: int(2365249568)
round + ceil: int(2365249568)
wp_total_pages: int(2365249568)
intdiv: int(2365249568)
bcdiv: int(2365249568)
=================================================
Given the following inputs:
int(9223372036854775807)
int(20)
The results will be:
ceil: float(4.6116860184274E+17)
round + ceil: float(4.6116860184274E+17)
wp_total_pages: float(4.6116860184274E+17)
intdiv: int(461168601842738791)
bcdiv: int(461168601842738791)
And the results with an int cast added will be:
ceil: int(461168601842738816)
round + ceil: int(461168601842738816)
wp_total_pages: int(461168601842738816)
intdiv: int(461168601842738791)
bcdiv: int(461168601842738791)
=================================================
Given the following inputs:
float(9.2233720368548E+18)
int(20)
The results will be:
ceil: float(4.6116860184274E+17)
round + ceil: float(4.6116860184274E+17)
wp_total_pages: float(4.6116860184274E+17)
intdiv:
Warning: intdiv() expects parameter 1 to be integer, float given in /in/V6jdD on line 35
int(0)
bcdiv: int(0)
And the results with an int cast added will be:
ceil: int(461168601842738816)
round + ceil: int(461168601842738816)
wp_total_pages: int(461168601842738816)
intdiv:
Warning: intdiv() expects parameter 1 to be integer, float given in /in/V6jdD on line 54
int(0)
bcdiv: int(0)
Output for 5.5.0 - 5.5.38, 5.6.0 - 5.6.40
=================================================
Given the following inputs:
int(506)
int(10)
The results will be:
ceil: float(51)
round + ceil: float(51)
wp_total_pages: int(51)
intdiv function not available
bcdiv: int(51)
And the results with an int cast added will be:
ceil: int(51)
round + ceil: int(51)
wp_total_pages: int(51)
intdiv function not available
bcdiv: int(51)
=================================================
Given the following inputs:
int(505)
int(10)
The results will be:
ceil: float(51)
round + ceil: float(51)
wp_total_pages: int(51)
intdiv function not available
bcdiv: int(51)
And the results with an int cast added will be:
ceil: int(51)
round + ceil: int(51)
wp_total_pages: int(51)
intdiv function not available
bcdiv: int(51)
=================================================
Given the following inputs:
int(504)
int(10)
The results will be:
ceil: float(51)
round + ceil: float(51)
wp_total_pages: int(51)
intdiv function not available
bcdiv: int(51)
And the results with an int cast added will be:
ceil: int(51)
round + ceil: int(51)
wp_total_pages: int(51)
intdiv function not available
bcdiv: int(51)
=================================================
Given the following inputs:
int(500)
float(9.5)
The results will be:
ceil: float(53)
round + ceil: float(53)
wp_total_pages: float(53.105263157895)
intdiv function not available
bcdiv: int(53)
And the results with an int cast added will be:
ceil: int(53)
round + ceil: int(53)
wp_total_pages: int(53)
intdiv function not available
bcdiv: int(53)
=================================================
Given the following inputs:
int(500)
int(9)
The results will be:
ceil: float(56)
round + ceil: float(56)
wp_total_pages: int(56)
intdiv function not available
bcdiv: int(56)
And the results with an int cast added will be:
ceil: int(56)
round + ceil: int(56)
wp_total_pages: int(56)
intdiv function not available
bcdiv: int(56)
=================================================
Given the following inputs:
int(35478743512)
int(15)
The results will be:
ceil: float(2365249568)
round + ceil: float(2365249568)
wp_total_pages: int(2365249568)
intdiv function not available
bcdiv: int(2365249568)
And the results with an int cast added will be:
ceil: int(2365249568)
round + ceil: int(2365249568)
wp_total_pages: int(2365249568)
intdiv function not available
bcdiv: int(2365249568)
=================================================
Given the following inputs:
int(9223372036854775807)
int(20)
The results will be:
ceil: float(4.6116860184274E+17)
round + ceil: float(4.6116860184274E+17)
wp_total_pages: float(4.6116860184274E+17)
intdiv function not available
bcdiv: int(461168601842738791)
And the results with an int cast added will be:
ceil: int(461168601842738816)
round + ceil: int(461168601842738816)
wp_total_pages: int(461168601842738816)
intdiv function not available
bcdiv: int(461168601842738791)
=================================================
Given the following inputs:
float(9.2233720368548E+18)
int(20)
The results will be:
ceil: float(4.6116860184274E+17)
round + ceil: float(4.6116860184274E+17)
wp_total_pages: float(4.6116860184274E+17)
intdiv function not available
bcdiv: int(0)
And the results with an int cast added will be:
ceil: int(461168601842738816)
round + ceil: int(461168601842738816)
wp_total_pages: int(461168601842738816)
intdiv function not available
bcdiv: int(0)
Output for 5.4.0 - 5.4.45
Parse error: syntax error, unexpected 'list' (T_LIST) in /in/V6jdD on line 22
Process exited with code 255.