ID: 29497 User updated by: tony at marston-home dot demon dot co dot uk Reported By: tony at marston-home dot demon dot co dot uk Status: Closed Bug Type: Feature/Change Request Operating System: * PHP Version: 5.0.0 New Comment:
I downloaded that snapshot and tried $xp->setParameter($namespace, $array) instead of $xp->setParameter($namespace, 'name', $value) and it worked. However, several times something caused Apache to abort and restart. I reverted to my old code and it still caused Apache to fail now and then. There appears to be a bug somewhere else in this snapshot. Previous Comments: ------------------------------------------------------------------------ [2004-08-05 16:50:51] [EMAIL PROTECTED] Please try using this CVS snapshot: http://snaps.php.net/php5-latest.tar.gz For Windows: http://snaps.php.net/win32/php5-win32-latest.zip ------------------------------------------------------------------------ [2004-08-02 19:17:20] tony at marston-home dot demon dot co dot uk Description: ------------ The xsltprocessor->setParameter() method currently only accepts one parameter at a time. It would be more convenient if this could also accept an array of parameters in one go just like the xslt_process() function in PHP4. ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=29497&edit=1