Variables in PHP are denoted with a leading dollar sign ($) and are assigned values using the = operator. Variable names must begin with a letter or underscore and cannot contain special characters. PHP has 8 main data types - integers, doubles, booleans, null, strings, arrays, objects, and resources - which are used to define variables. Escape sequences like \n and \t can be used to insert special characters into strings.