We are developing poker application in PHP, where we need to calculate poker hand equities. Something like there:


Question - isn't there a more simple way without using those enumerate or monte carlo methods?

If there is not, then is there some PHP script for that? In the link I gave its C++ and other languages but not PHP.

Shouldn't be extremely hard to convert that to PHP (had just a quick glance though), the differences are relatively small. An enumeration is just for readability, it's basically just an int.