这是我的String数据
[
'EDUCATION_LEVEL' =>'MIDDLE_LEVEL',
'EDUCATION_PROFESSIONAL' =>'APPRENTICESHIP',
'Family_Father' =>'M.Sharif #03312887233',
'PROFILE_IMAGE_1' =>'"file_type" => "image",
"file_saved_path" => "public/images/34_php4A2A.tmp.jpg"',
'COWORKER_REFERENCE_1' =>'Mr. xyz work place partner #03312887233',
'COWORKER_REFERENCE_3' =>'Mr. Abc work place partner #03312887233',
'BIRTH_CITY' =>'Rahim Yar Khan',
'BIRTHPLACE_PROVINCE' =>'Punjab',
'BIRTH_DISTRICT' =>'SadiqAbad',
'WORKING_PROVINCE' =>'Sindh',
'WORKING_PROVINCE_CITY' =>'Karachi East',
'WORKING_CITY_AREA' =>'Gulsan-i-Iqbal',
]◀"
我尝试了很多在网上找到的选项
$data = (array)($chardata);
$data = (object)($chardata);
我想要对象或数组,我可以从中获取类似的东西
$data['EDUCATION_LEVEL'];
or
$data->EDUCATION_LEVEL