uawdijnntqw1x1x1
IP : 18.119.164.231
Hostname : host45.registrar-servers.com
Kernel : Linux host45.registrar-servers.com 4.18.0-513.18.1.lve.2.el8.x86_64 #1 SMP Sat Mar 30 15:36:11 UTC 2024 x86_64
Disable Function : None :)
OS : Linux
PATH:
/
home
/
..
/
opt
/
alt
/
.
/
tests
/
alt-php84-pecl-stats_2.1.0-1.fac78cf.el8
/
tests
/
stats_rand_ibinomial.phpt
/
/
--TEST-- stats_rand_ibinomial() --FILE-- <?php var_dump(in_array(stats_rand_ibinomial(3, 0.7), array(0, 1, 2, 3))); var_dump(stats_rand_ibinomial(0, 0.7)); var_dump(stats_rand_ibinomial(3, 0)); var_dump(stats_rand_ibinomial(3, 1)); // error cases var_dump(stats_rand_ibinomial(-1, 0.7)); // n < 0 var_dump(stats_rand_ibinomial(3, -0.1)); // pp < 0 var_dump(stats_rand_ibinomial(3, 1.1)); // pp > 1 ?> --EXPECTF-- bool(true) int(0) int(0) int(3) Warning: stats_rand_ibinomial(): Bad values for the arguments. n : -1 pp : 7.000000E-1 in %s on line %d bool(false) Warning: stats_rand_ibinomial(): Bad values for the arguments. n : 3 pp : -1.000000E-1 in %s on line %d bool(false) Warning: stats_rand_ibinomial(): Bad values for the arguments. n : 3 pp : 1.100000E+0 in %s on line %d bool(false)
/home/../opt/alt/./tests/alt-php84-pecl-stats_2.1.0-1.fac78cf.el8/tests/stats_rand_ibinomial.phpt