fix php variable names

quick & dirty (: