I am parsing the answer from webservice. in the parser section, I have something like this:
foreach ($ resXml-> readCalls-> classify-> classification -> class as $ d) {
... do some processing
}
the problem is that the term “class”, which is a sub node in my xml answer, is wrong for the “class” keyword in php, which causes a compilation error.
how can i use terms which, by the way, are keywords in php?
Thank!
source
share