Working through MongoDB's M101P in PHP