--TEST-- XMLWriter::toStream() - open invalidated stream --EXTENSIONS-- xmlwriter --FILE-- getMessage(), "\n"; } ?> --EXPECT-- XMLWriter::toStream(): supplied resource is not a valid stream resource