xslt_process segfaults with illegal parameters

From: Date: Sat, 07 Sep 2002 16:53:46 +0000
Subject: xslt_process segfaults with illegal parameters
Groups: php.dev 
Request: Send a blank email to php-dev+get-88062@lists.php.net to get a copy of this message
As the subject already mentions, xslt_process() segfaults when passing an illegal second or third parameter to it. Example: <?php $var = 'lala'; $xh = xslt_create(); $result = xslt_process($xh, $var, 'sample.xsl'); // segfault ?> Instead of segfaulting, PHP should raise a warning/error in order to tell the user what went wrong, no? -- - Martin Martin Jansen http://martinjansen.com/

« previous php.dev (#88062) next »