$arquivo = '{"nome":"João","cpf":"00000","teste":"ooooo"}';
$dd = json_decode($arquivo, TRUE);
foreach($dd as $value)
{
$nome = $value->{'nome'};
$cpf = $value->{'cpf'};
}
I want to get the value of name and cpf from the array but the result comes null to the variables, does anyone know how to solve it? please