The following 7 errors (#14-8)
are treated as serious ones. They result into considerable reduction
of code execution and scripts safety; the code becomes even more
confused.
One of the main advantages of
PHP is its disadvantage at the same time: PHP is very easy to learn.
This attracts many people but in spite of its false easiness its
rather difficult to learn right and effective usage of this language.
As a rule we deal with
insufficient programming praxis. Inexperienced programmers face the
necessity of complicated web-applications creation. Thus the mistakes
are frequently done which an experienced programmer could evade such
as unjustified usage of printf() function or wrong usage of
PHP semantics.
In this series including three
articles the most typical from our point of view errors are
presented. These errors may be classified on some categories from
non-critic to the fatal ones. Together with these errors analysis the
ways of their evading are described and also some little tricks which
have been collected for many years of programming praxis are
presented.