stdClass Object ( [apellido1] => NUĂ‘EZ [apellido2] => HERMOSILLO [nombres] => JUAN JESUS [sexo] => H [fechNac] => 03/09/1979 [nacionalidad] => MEX [docProbatorio] => 1 [anioReg] => 1979 [foja] => [tomo] => [libro] => [CRIP] => [numEntidadReg] => 14 [cveMunicipioReg] => 124 [NumRegExtranjeros] => [FolioCarta] => [cveEntidadNac] => JC [cveEntidadEmisora] => [statusCurp] => RCC [CURP] => NUHJ790903HJCXRN09 ) allow_url_fopen is enabled. file_get_contents should work well