Do you have a question? Post it now! No Registration Necessary. Now with pictures!
- Posted on
- Objects: Creating an Array of Keys
December 16, 2008, 11:22 am
rate this thread
Re: Objects: Creating an Array of Keys
No, there is no more direct way of doing it.
Why would you ever want to do that? It violates the whole idea of
encapsulation and leaves your program(s) open to errors when you need to
change the object.
Personally, I find no reasonable use for get_object_vars().
Remove the "x" from my email address
JDS Computer Training Corp.
- » ImageMagick and MagickWand for PHP MagickAnnotateImage custom kerning
- — Next thread in » PHP Scripting Forum