22 Jun 2017 by Afzaal Ahmad Zeeshan
Technically your need is unclear and very much ambiguous. Why do you need to do that? How can you convert, an object to an array? One simple way would be, to accept the object, create an array, add that object to the array, and serialize the array. :D I mean, this is a very surreal sort of...