Property Hooks And Default Values¶
By Jan Nedbal
PHP property hooks
Would you expect equal behaviour?
[Added answer] The default value on the property hook is used when the hook is called. At creation time, no hook is called to initialize the property. So, there is no default value for properties with a property hook, unless the set hook is configured to return something.