Using the 'class' term in php without meaning the actual keyword
I am parsing a response from a webservice. 
in the parser section, i have something like this:

foreach ($resXml->readCalls->classify->classification -> **class**  as $d) {
 ... do some processing
}

the problem is, the 'class' term which is a sub node in my xml response, is mistaken for the 'class' keyword in php, which raises a compile error. 

how can i use terms which are incidentally a keyword in php?

Thanks!
Using the 'class' term in php without meaning the actual keyword
===

I am parsing a response from a webservice. 
in the parser section, i have something like this:

foreach ($resXml->readCalls->classify->classification -> **class**  as $d) {
 ... do some processing
}

the problem is, the 'class' term which is a sub node in my xml response, is mistaken for the 'class' keyword in php, which raises a compile error. 

how can i use terms which are incidentally a keyword in php?

Thanks!