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

who needs to double-check this? @bernii?
hmm, i'm not sure either, but it's in every other code block. i think because many php parsers parse as html, except within `<?php` blocks they parse as php. not sure how to test how this renders with/without