Milkshakes solutions

Milkshakes was solved using PHP by 2 contestants. Solution sizes: average 2785 bytes (shortest: 2344; longest: 3226).