PHP 8.5.0 Beta 1 available for testing

Voting

: max(three, one)?
(Example: nine)

The Note You're Voting On

dev at 10e12 dot net
15 years ago
Sorry for the error in the previous...
Due to the glitch with the wordwrap I got annoyed and lost focus on the copy and paste move.

The last part of the actual function should read.

<?php
// select what we need to return
if ((($retMax == 0)&&($retMax = mt_getrandmax))||
(
$retMin==$retMax)){
return
mt_rand();
}else{
return
mt_rand($retMin,$retMax);
}

?>

And Nothing else of course...

<< Back to user notes page

To Top