> the following code causes Apache processes to segfault: > > $xsl_handle = xslt_create(); > echo $xsl_handle; // returns a valid xslt processor handle > // $xslData and $xmlData contain valid information > xslt_process($xslData, $xmlData, $result); > echo xslt_error($xsl_handle); > xslt_free($xsl_handle); > > This piece of code also returns a "Warning: Supplied argument is not a > valid XSLT Processor resource in *** on line 27", where line 27 is > "xslt_process($xslData, $xmlData, $result); > "
It obviously shouldn't crash, but the first argument to xslt_process() needs to be $xsl_handle in your case. The warning you are seeing is correct. -Rasmus -- PHP Development Mailing List <http://www.php.net/> To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]