You have to either use backslash like \XMLReader::[...], or simply put use \XMLReader before class declaration.
Also, you should probably read some about namespacing, for instance here: http://daylerees.com/php-namespaces-explained
christoffertyrefors said:
You have to either use backslash like
\XMLReader::[...], or simply putuse \XMLReaderbefore class declaration.Also, you should probably read some about namespacing, for instance here: http://daylerees.com/php-namespaces-explained
works thanks for the help
Sign in to participate in this thread!
The Laravel portal for problem solving, knowledge sharing and community building.