logo

CuriousTab

CuriousTab

Discussion


Home Interview Technology Comments

  • Question
  • What?s the difference between include and require?


  • Correct Answer
  • It?s how they handle failures If the file is not found by require(), it will cause a fatal error and halt the execution of the script If the file is not found by include(), a warning will be issued, but execution will continue 


  • Technology problems


    Search Results


    • 1. What?s the difference between md5( ), crc32( ) and sha1( ) crypto on PHP?
    • Discuss
    • 2. What is the difference between characters 23 and x23?
    • Discuss
    • 3. What?s the special meaning of __sleep and __wakeup?
    • Discuss
    • 4. If the variable $a is equal to 5 and variable $b is equal to character a, what?s the value of $$b?
    • Discuss
    • 5. I am trying to assign a variable the value of 0123, but it keeps coming up with a different number, what?s the problem?
    • Discuss
    • 6. How do you define a constant?
    • Discuss
    • 7. How do you pass a variable by value?
    • Discuss
    • 8. Explain the ternary conditional operator in PHP?
    • Discuss
    • 9. Are objects passed by value or by reference?
    • Discuss
    • 10. How do you call a constructor for a parent class?
    • Discuss


    Comments

    There are no comments.

Enter a new Comment