Parse error: syntax error, unexpected T_OBJECT_OPERATOR RSS

If you are trying to parse an “XML Feed” in PHP4 somewhat like this way :
$titles->item(0)->nodeValue;

then it wont work in PHP4 because its a chaining process and only works in PHP5

2 Responses to “Parse error: syntax error, unexpected T_OBJECT_OPERATOR RSS”

  1. Tommy Says:

    Well is there any alternative?

  2. adnan rafe Says:

    Well I too was trying for the same but cudnt find a solution so I think the possible solution would be to upgrade your PHP version to php5.

Leave a Reply