--TEST-- stats_cdf_normal() --FILE-- 4 var_dump(stats_cdf_normal(-0.1, 0, 1, 2)); // P < 0 var_dump(stats_cdf_normal(0, 0, 1, 2)); // P == 0 var_dump(stats_cdf_normal(1.1, 0, 1, 2)); // P > 1 var_dump(stats_cdf_normal(1, 0, -0.1, 1)); // SD < 0 var_dump(stats_cdf_normal(1, 0, 0, 1)); // SD == 0 ?> --EXPECTF-- float(0.841345) float(1) float(0) float(1) Warning: stats_cdf_normal(): Fourth parameter should be in the 1..4 range in %s on line %d bool(false) Warning: stats_cdf_normal(): Fourth parameter should be in the 1..4 range in %s on line %d bool(false) Warning: stats_cdf_normal(): Computation error in %s on line %d bool(false) Warning: stats_cdf_normal(): Computation error in %s on line %d bool(false) Warning: stats_cdf_normal(): Computation error in %s on line %d bool(false) Warning: stats_cdf_normal(): Computation error in %s on line %d bool(false) Warning: stats_cdf_normal(): Computation error in %s on line %d bool(false)