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
Pranav Bakare -
Pranav Bakare -
Varun Deva -
HARSHRAJSINH RAJENDRASINH SOLANKI -
Top comments (0)