--TEST-- Bug #48601 (xpath() returns FALSE for legitimate query) --SKIPIF-- --FILE-- 1'); $nodes = $sxe->xpath("/root/node2/@test"); if (! is_array($nodes)) { echo "An error occurred\n"; } else { echo "Result Count: " . count($nodes) . "\n"; } ?> --EXPECTF-- Result Count: 0