I have the following array in PHP:
What I'd like to do is to bring back the value of:
[size:PhpOffice\PhpWord\Style\Font:private]
to a variable (in this case 20).
I tried to do the following:
foreach($array as $array2){
if(isset($array2->size)){
echo $array2->size;
}
}
But, it didn't work.
How do I solve this problem?