Hi All,
Is there a way to disable in PHP dynamic properties,
except for overwriting the __set magic method and throwing an exception from there?
I'm looking for a general solution which wouldn't require repetition in each and every class..
Perhaps some kind of config?
Thanks!
Vitaliy
Disabling dynamic properties
Moderator: General Moderators
- markusn00b
- Forum Contributor
- Posts: 298
- Joined: Sat Oct 20, 2007 2:16 pm
- Location: York, England
Re: Disabling dynamic properties
Nope.
Mark.
Mark.