Hi,
I have a problem with classes and inheritance ...
If this "debug" method is placed into a class which extends another one, each time the method is called, the only variables that appear are the ones of the father class. No variable defined only in the child class is present in the list of information.
function showDebug() {
while (list($key, $val) = each($this)) {
echo "Variable " . $key . ": " . $val;
}
}
Any idea on how to get this working?
Thanks,
Bullotto