A few questions about PHP4, if you have contact with PHP4 veteran please help to answer, I appreciate
First:
Does PhP4 support static methods and properties?
Second:
Does PhP4 have no destructor? If not, how do you solve some of the places where destructors must be used? For example, close the database.
Third:
What do I need to note if I write a program that is compatible with PHP4 and php5?
Thank you for your help! I do not have time to install PHP4 own test!
I'll answer that.
d8888d Huitie Content-------------------------------------------------------
Read the manual.
There is a function that triggers the function at the end of the script execution.
d8888d Huitie Content-------------------------------------------------------
If the database is closed, you just need not pcconnect, it shut down itself, not to write a function
http://www.bkjia.com/PHPjc/632546.html www.bkjia.com true http://www.bkjia.com/PHPjc/632546.html techarticle A few questions about PHP4, if you have contact with PHP4 veteran please help to answer, greatly appreciated the first: PHP4 support static methods and properties? Second: PHP4 is not a destructor ...