Re: libxml_set_streams_context

From: Date: Wed, 18 May 2005 20:20:03 +0000
Subject: Re: libxml_set_streams_context
References: 1 2 3  Groups: php.general 
Request: Send a blank email to php-general+get-215530@lists.php.net to get a copy of this message
On Tue, May 17, 2005 11:12 pm, Bill Hoffman said: > > > On May 17, 2005, at 10:24 PM, Richard Lynch wrote: > >> I don't know much about that fancy new stream stuff, or the XML >> crap, but >> you've got zero (0) lines of code in there to do anything useful >> when the >> functions fail. > > no functions fail. If none of them failed, your script would work :-) > what I'm expecting is that with libxml_set_streams_context(), I've I'm betting most of these functions do *NOT* print an error message for you when they fail. *YOU* have check their return value to see if it's 'false' or -1 or 0 and, if so, *YOU* have to call another function to get the error message and error code. This is what I am suggesting is missing big-time in your code. -- Like Music? http://l-i-e.com/artists.htm

« previous php.general (#215530) next »