When defining a class is it necessary to initialise variables that are used in the methods of the class but are not properties of the class?
Necessary, probably not. In PHP you don't have to initialize any vars at all.
But, common sense says you should initialize all vars before you use them.