Hello i have this part of php code
    $google_url = "http://uclassify.com/browse/uClassify/Sentiment/ClassifyText?readkey=jnsdnjdsnjnjsdnjsnjdsd&text=".$text."&version=1.01";
    $result = file_get_contents($google_url);
$obj = simplexml_load_string($result);
$zaab = toArray($obj);
echo($zaab);
and the answer i get is
<?xml version="1.0" encoding="UTF-8" ?>
<uclassify xmlns="http://api.uclassify.com/1/ResponseSchema" version="1.01">
    <status success="true" statusCode="2000"/>
    <readCalls>
    <classify id="cls1">
        <classification textCoverage="0.6">
            <class className="negative" p="0.999984"/>   <-----p_value
            <class className="positive" p="1.60692e-005"/>     <-----p_value
        </classification>
    </classify>
    </readCalls>
</uclassify>
how can i access p_values?
no after updating it gives me an error having to do with toArray()
 
     
    