--TEST-- XML Parser: parse simple string --SKIPIF-- --FILE-- "; } function endHandler($xp, $element) { print "\n"; } function cdataHandler($xp, $cdata) { print ""; } function defaultHandler($xp, $cdata) { } } print "new __TestParser1 "; var_dump(strtolower(get_class($o = new __TestParser1()))); print "parseString "; var_dump($o->parseString("foo", 1)); ?> --EXPECT-- new __TestParser1 string(13) "__testparser1" parseString bool(true)