Quick SerializeΒΆ
By Doeke Norg
Did you know that get_object_vars()
only returns the initialized parameters from your objects? This can be very useful when (un)serializing objects.
PS : accessing uninitialized properties leads to a Fatal error. This trick avoids it.