update php docs with correct methods. just for you @pamepros

who needs to double-check this? @bernii?
not sure if `<?php` is really needed here?