Convert whole object to array without using (array) object

Asked

Viewed 24 times

1

I’m trying to convert an object PHP in array using the function:

( array ) $objeto;

Convert converts, but the exit print_r () handover:

"\u0000CelulasReunioes\u0000idCelula":"17",

Is there any other function of PHP do this conversion without adding the name of class to indexes?

Or does it really converting the object in array attribute for attribute?

  • What do you mean, man! In your other one question I already handed you this "ready"...

No answers

Browser other questions tagged

You are not signed in. Login or sign up in order to post.