Package home | Report new bug | New search | Development Roadmap Status: Open | Feedback | All | Closed Since Version 1.5.5

Bug #3344 parsing error during eval
Submitted: 2005-02-01 11:49 UTC
From: tac at smokescreen dot org Assigned: danielc
Status: Bogus Package: XML_RPC
PHP Version: 5.0.3 OS: Win NT
Roadmaps: (Not assigned)    
Subscription  


 [2005-02-01 11:49 UTC] tac at smokescreen dot org
Description: ------------ A particular XML_RPC file doesn't parse correctly. Reproduce code: --------------- require_once "XML/RPC.php"; ini_set('error_reporting', E_ALL & ~E_NOTICE); $xml = file_get_contents("http://www.pcartist.com/xml_rpc.xml"); $msg = new XML_RPC_Message("unused", array()); $msg->debug = 1; $response = $msg->parseResponse ($xml); Actual result: -------------- Parse error: syntax error, unexpected ')' in c:\php\PEAR\XML\RPC.php(689) : eval()'d code on line 1 This is because the last part of the eval'd string is: 'auctionEnds' => new XML_RPC_Value("9.99", 'string'), 'makeItMinePrice' => ))); That is, the makeItMinePrice doesn't have an associated XML_RPC_Value.

Comments

 [2005-02-21 23:56 UTC] User who submitted this comment has not confirmed identity
If you submitted this note, check your email.If you do not have a message, click here to re-send
MANUAL CONFIRMATION IS NOT POSSIBLE.  Write a message to pear-dev@lists.php.net
to request the confirmation link.  All bugs/comments/patches associated with this

email address will be deleted within 48 hours if the account request is not confirmed!