We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 786cfaf commit ca10d6cCopy full SHA for ca10d6c
ext/random/randomizer.c
@@ -203,7 +203,7 @@ PHP_METHOD(Random_Randomizer, getFloat)
203
ZEND_PARSE_PARAMETERS_END();
204
205
#ifndef __STDC_IEC_559__
206
- zend_throw_exception(random_ce_Random_RandomException, "The nextFloat() method requires the underlying 'double' representation to be IEEE-754.", 0);
+ zend_throw_exception(random_ce_Random_RandomException, "The getFloat() method requires the underlying 'double' representation to be IEEE-754.", 0);
207
RETURN_THROWS();
208
#endif
209
0 commit comments