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/
--
PHP Development Mailing List <http://www.php.net/>
To unsubscribe, visit: http://www.php.net/unsub.php
