I would recommend reading the following article of Alan Storm regarding the difference between Php and Python
Some of the these aproach problems were overcome by introducing the namespace concept in php.
These differences are due to the development of the PHP language which was not a designed from start but evolved naturaly.
An example with namespaces in php showing how we can solve nowadays these fine pecularities
echo "Hello Earth! \n";
echo "Hello Mars! Mind the germs. \n";
echo "Starting up a solar system \n";
/* Usage with use