Support for late binding has been implemented in the latest releases of PHP. Of course, there are many problems when using its late binding feature. If you are using an older version of PHP (my server is running PHP 5.0.1), then you may find that there is a lack of support for late binding. Therefore, please note that the code in this article may not work in your specific version of PHP 5.
One, PHP 5 and polymorphism
This article wants to discuss the design of polymorphism, one of the most important parts of object-oriented programming. To illustrate the problem, I used PHP 5. Before you continue reading, make sure that this article is not entirely about PHP. Although this language has made great strides in the rapid development of the previous two major releases, it is in a more mature language such as C + + or
http://www.bkjia.com/PHPjc/446827.html www.bkjia.com true http://www.bkjia.com/PHPjc/446827.html techarticle support for late binding has been implemented in the latest releases of PHP. Of course, there are many problems when using its late binding feature. If you are using an older version of PHP (My Services ...