Replace PHP4 "var" with "public"