Update of sr #971 (project savane):
Open/Closed: Open => Closed
_______________________________________________________
Follow-up Comment #22:
Anyway, that is very strange. I installed and reinstalled several times
savane recently and found no such problem.
About the message in the log, I think it is a bit a problem with PHP
developers than a coding issue. If you write in a well-designed langage like
perl, in strict mode, you will never be able to use a variable that is not
initialized. So you take care to always initialize it at the right time.
In PHP, there is no "my $var;" so you tend to create $variables whenever you
need them. And to make sure you are not using something that has been set
before to a value that could be an issue, you are likely to do an
unset($var); -> this create such log message about how this $var was in fact
not initialized. All this is due to the fact that PHP was too laxist in the
past. Savane as been started in PHP3 (well, it was actually sourceforge, at
that time), days of the big laxism. To avoid all this things, you would have
to almost rewrite the whole code. That quite a big task, just for the
pleasure of having no messages logged.
_______________________________________________________
Reply to this item at:
<http://gna.org/support/?971>
_______________________________________________
Message posté via/par Gna!
http://gna.org/
_______________________________________________
Savane-doc-dev mailing list
[email protected]
https://mail.gna.org/listinfo/savane-doc-dev