logo

CuriousTab

CuriousTab

Discussion


Home Interview Technology Comments

  • Question
  • What is the difference between _construct() and _destruct() methods in php?


  • Correct Answer
  • These two methods are bulid-in methods in php with construct() we can overwride the parent class method The inverse of the __construct() PHP capacity while making another class, is the __destruct() technique The __destruct() technique will consequently keep running, after you've completed with the PHP class 

  • Tags: Software Architect

    Technology problems


    Search Results


    • 1. What is the difference between the functions unlink and unset in PHP?
    • Discuss
    • 2. Describe how to create a simple AD rotator script without using database in PHP.
    • Discuss
    • 3. How to use HTTP Headers inside PHP? Write the statement through which it can be added?
    • Discuss
    • 4. How can I retrieve values from one database server and store them in other database server using PHP?
    • Discuss
    • 5. Will comparison of string "10" and integer 11 work in PHP?
    • Discuss
    • 6. What's the difference between GET() and POST() method?
    • Discuss
    • 7. What is the purpose $_PHP_SELF variable?
    • Discuss
    • 8. What's the difference between Session and Cookie?
    • Discuss
    • 9. How to create a basic text file in php?
    • Discuss
    • 10. What is ANALYZE command used for?
    • Discuss


    Comments

    There are no comments.

Enter a new Comment