0

When I use get_object_vars() php function, public variables are all fine to convert to array but the problem is private and protected variables.

Is there any way or good way to convert it?

Daniel A. White
  • 187,200
  • 47
  • 362
  • 445
Chris Mok
  • 1
  • 1

0 Answers0