Here is a clean method I've discovered:
$myArray = [];
array_push($myArray, (object)[
'key1' => 'someValue',
'key2' => 'someValue2',
'key3' => 'someValue3',
]);
return $myArray;
Here is a clean method I've discovered:
$myArray = [];
array_push($myArray, (object)[
'key1' => 'someValue',
'key2' => 'someValue2',
'key3' => 'someValue3',
]);
return $myArray;
For further actions, you may consider blocking this person and/or reporting abuse
Md Abdul Awal Sajib -
Aditya Pratap Bhuyan -
Info general Hazedawn -
Ahmed Moussa -
Top comments (0)