Tag: Object to Array

How To Change Object Into Array in PHP

Hi Friends, When I was working with one wordpress project I got one object array by get_posts method, But I want array instead of object array. So i search a lot for it and i found so many solutions and then finally i create one funtion in which you have to pass object only and it will return array from…

Read More »