mercredi 18 mars 2020

PHP : How to get max key on basis of highest probability? [closed]

I already followed PHP: How to get value on basis of probability in array?

Array
    (
        [149] => 55
        [130] => 10
        [131] => 5
        [132] => 5
        [133] => 10
        [134] => 10
        [135] => 5
    )

I am not getting maximum result of 149 key randomly. What is still missing? Value total is 100%




Aucun commentaire:

Enregistrer un commentaire