Introduction
Introduction Statistics Contact Development Disclaimer Help
Post AvKdclkoydAozLQEpE by [email protected]
More posts by [email protected]
Post #AvKacPliQ2hiwGyo7c by [email protected]
0 likes, 1 repeats
Today I learned that PHP exposes private properties when an object is casted to…
Post #AvKdclkoydAozLQEpE by [email protected]
0 likes, 1 repeats
@paulshryock Hmm, that's strange. It also ignores SensitiveParameter: https…
Post #AvL7z117uJihJzZZce by [email protected]
0 likes, 1 repeats
/** For casting to an array without exposing private state. */public function t…
Post #AvL821V0ZW8lgWz41Q by [email protected]
0 likes, 1 repeats
Also, why can we not use a __toArray magic method?
Post #AvLAsA6U1eadL0VBVg by [email protected]
0 likes, 1 repeats
@paulshryock i would enjoy a __toArray. mine ended up being called describeForP…
Post #AvLgg6I7ZSeSZYEoam by [email protected]
0 likes, 1 repeats
@paulshryock Nice gotcha! It goes to the PHP Tips archive (https://php-tips.rea…
You are viewing proxied material from pleroma.anduin.net. The copyright of proxied material belongs to its original authors. Any comments or complaints in relation to proxied material should be directed to the original authors of the content concerned. Please see the disclaimer for more details.