Handling Included Files
In the previous articles, we put our functions insi de a class and included the class file with a line like this: The problem with this code is that if … Learn More
View ArticleFatal Error Cannot Redeclare Function I
Sooner or later, you’re likely to see an error like this one: In this article, we’ll look at what causes that message and how to … Learn More
View ArticleUsing an Autoloader to Load Classes
In the previous articles, we looked at ways to prevent collisions between functions and classes. In this article, we’ll see how to make that more convenient by using an autoloader … Learn More
View ArticleUsing Namespaces to Avoid Class-name Collisions
In the several previous articles, we looked at ways to prevent collisions between functions and classes. In this article, we’ll see how to handle that using PHP namespaces. … Learn More
View ArticleUsing Namespaces with an Autoloader
In the last few articles, we looked at autoloaders and ways to prevent collisions between the names of classes and their methods. In this article, we’ll see how to use … Learn MoreDiario de Sesiones...
View Article