#32853 [NEW]: Wrong return value for xpath_eval

From: Date: Wed, 27 Apr 2005 10:57:00 +0000
Subject: #32853 [NEW]: Wrong return value for xpath_eval
Groups: php.doc 
Request: Send a blank email to phpdoc+get-969368022@lists.php.net to get a copy of this message
From: mfischer@php.net Operating system: PHP version: Irrelevant PHP Bug Type: Documentation problem Bug description: Wrong return value for xpath_eval Description: ------------ The current prototype is array xpath_eval ( XPathContext xpath_context, string xpath_expression [, domnode contextnode] ) However, the return value is not an array but an XPathObject. It's property, the 'nodeset', is probably the array mentioned above. This should also be documented. -- Edit bug report at http://bugs.php.net/?id=32853&edit=1 -- Try a CVS snapshot (php4): http://bugs.php.net/fix.php?id=32853&r=trysnapshot4 Try a CVS snapshot (php5.0): http://bugs.php.net/fix.php?id=32853&r=trysnapshot50 Try a CVS snapshot (php5.1): http://bugs.php.net/fix.php?id=32853&r=trysnapshot51 Fixed in CVS: http://bugs.php.net/fix.php?id=32853&r=fixedcvs Fixed in release: http://bugs.php.net/fix.php?id=32853&r=alreadyfixed Need backtrace: http://bugs.php.net/fix.php?id=32853&r=needtrace Need Reproduce Script: http://bugs.php.net/fix.php?id=32853&r=needscript Try newer version: http://bugs.php.net/fix.php?id=32853&r=oldversion Not developer issue: http://bugs.php.net/fix.php?id=32853&r=support Expected behavior: http://bugs.php.net/fix.php?id=32853&r=notwrong Not enough info: http://bugs.php.net/fix.php?id=32853&r=notenoughinfo Submitted twice: http://bugs.php.net/fix.php?id=32853&r=submittedtwice register_globals: http://bugs.php.net/fix.php?id=32853&r=globals PHP 3 support discontinued: http://bugs.php.net/fix.php?id=32853&r=php3 Daylight Savings: http://bugs.php.net/fix.php?id=32853&r=dst IIS Stability: http://bugs.php.net/fix.php?id=32853&r=isapi Install GNU Sed: http://bugs.php.net/fix.php?id=32853&r=gnused Floating point limitations: http://bugs.php.net/fix.php?id=32853&r=float No Zend Extensions: http://bugs.php.net/fix.php?id=32853&r=nozend MySQL Configuration Error: http://bugs.php.net/fix.php?id=32853&r=mysqlcfg

« previous php.doc (#969368022) next »