Tag Archives: Php

Readonly variables in Php

  One of the coolest thing in php5 stuff is overloading. You can control access to your variable via __call, __get and __set methods. You may also make your variables readonly to other classes as shown below : class SomeClass { /***********************************************************************************/ /* -=Data Members=- */ /***********************************************************************************/ private $variables = array(); private $readOnlyVariables = array(); [...]

Read more
QR Code Business Card