I'm new to php. I just want to create an object from array of strings.
I want these array of strings:
$arrEmails = [
'[email protected]',
'[email protected]',
'[email protected]'
];
to be put in an object to be accessed like,
$emails = $objEmails->email
How is it possible?