24-09-2011, 15:48
|
|
|
חבר מתאריך: 06.05.04
הודעות: 297
|
|
וההסבר הפורמלי יותר הוא:
Property overloading only works in object context. These magic methods will not be triggered in static context. Therefore these methods should not be declared static. As of PHP 5.3.0, a warning is issued if one of the magic overloading methods is declared static.
אני גם לא הכי מבין את הצורך בoverloading לstatic member.
|