|The DomCore I published time ago on phpclasses takes care to offer a "java-like" programming our classes.|
That means you can only use variables you already have declared.
Poof. No more dynamic variable.
If you try to use a dynamic variable (set/get) the extended code class will just throw an exception.
Miracle, it's exactly what we want to optimize the code for PHP 5.4 :)
|2012-06-15 04:01:00 - In reply to message 1 from philippe thomassigny|
|Yes, using setters and getters could be a way to trap inadvertent access to variables that were not declared.|