The multi armed bandit as a PHP Component (http://stevehanov.ca/blog/index.php?id=132)