A few questions about PHP4, if you have contact with PHP4 veteran please help to answer, appreciate _php tutorial

Source: Internet
Author: User
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 ...

  • Related Article

    Contact Us

    The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

    If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

    A Free Trial That Lets You Build Big!

    Start building with 50+ products and up to 12 months usage for Elastic Compute Service

    • Sales Support

      1 on 1 presale consultation

    • After-Sales Support

      24/7 Technical Support 6 Free Tickets per Quarter Faster Response

    • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.