Jump to content

phpcat

New Members
  • Posts

    6
  • Joined

  • Last visited

    Never

Profile Information

  • Gender
    Not Telling

phpcat's Achievements

Newbie

Newbie (1/5)

0

Reputation

  1. That's right, a Google query doesn't bring up the answer. And now in the future when people search Google for the same answer, they will find THIS THREAD and NO ANSWER.
  2. Because I'm posting questions that I'm unsure about. Unfortunately, the mock PHP exam doesn't tell you which answers are incorrect and what the correct answers are.
  3. This is a question from a mock PHP exam. Anyone know the answer? When connecting to a database using PDO, what must be done to ensure that database credentials are not compromised if the connection were to fail? CHOOSE 1 a) wrap the PDO DSN in a try/catch block to catch any connection exception b) Use constants in the PDO DSN c) Place the login credentials in the php.ini file e) Disable E_STRICT and E_NOTICE error reporting levels
  4. This is a question from a mock PHP exam. Anyone know the answers? Type-hinting and the instanceof keyword can be used to check what types of things about variables? CHOOSE 3 a) If a particular child class extends from it b) If they are an instance of a particular interface c) If they are an abstract class d) If they have a particular parent class e) If they are an instance of a particular class
  5. This is a question from a mock PHP exam. Anyone know the answer? The __________ interface implements a useful design pattern which allows you to overload an instance of an object so it can be accessed like an array.
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.