Page 1 of 1

Disabling dynamic properties

Posted: Wed Oct 14, 2009 10:25 am
by zz_vf_zz
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

Re: Disabling dynamic properties

Posted: Wed Oct 14, 2009 11:10 am
by markusn00b
Nope.

Mark.