What XML component does the following XPath query try to match?
What XML component does the following XPath query try to match?
//foo[bar/@id=5]
Which technique should be used to speed up joins without changing their results?
Which technique should be used to speed up joins without changing their results?
Which of the following function signatures is correct if you want to have classes automatically loaded?
Which of the following function signatures is correct if you want to have classes automatically
loaded?
After executing a SELECT query on a database server,
After executing a SELECT query on a database server,
How can a PHP extension be loaded?
How can a PHP extension be loaded? (Choose 2)
Which of the following parts must a XML document have in order to be well-formed?
Which of the following parts must a XML document have in order to be well-formed?
How can you put every sub-string into an array element easily?
You have a variable $test that contains sub-strings divided by a dash (“-“). How can you put every
sub-string into an array element easily?
What type of class definition can be used to define multiple inheritance?
What type of class definition can be used to define multiple inheritance?
How can the constant defined below be accessed from within PHP?
How can the constant defined below be accessed from within PHP?
<code>
class myClass {
const FOO = ‘BAR’;
}
</code>
What is the output of the following code?
What is the output of the following code?
<code>
try {
class MyException extends Exception {};
try {
throw new MyException;
}
catch (Exception $e) {
echo “1:”;
throw $e;
}c
atch (MyException $e) {
echo “2:”;
throw $e;
}}
catch (Exception $e) {
echo get_class($e);
}
</code>