Cast Private To Array¶
By Paul Shryock
Today I learned that PHP exposes private properties when an object is cast to an array. 🤦.
See Also¶
Casting private properties [Try me]
By Paul Shryock
Today I learned that PHP exposes private properties when an object is cast to an array. 🤦.
Casting private properties [Try me]