Given the default PHP configuration, how can all of the parameters provided via GET be accessed in a form of a string?
What is the result of the following code:
class T
{ const A
=
42 + 1;
}
echo T::A;
What is the method used to execute XPath queries in the SimpleXML extension?
How can a PHP extension be loaded? (Choose 2)
Which of the following may be used in conjunction with CASE inside a SWITCH statement?
PHP's array functions such as array_values() and array_key_exists() can be used on an object if the object...
Which of the following parts must a XML document have in order to be well-formed?
What is the output of the following script?
1 <?php
2 class a
3 {
4 public $val = 10;
5 }
6
7 function renderVal (a $a)
8 {
9 return $a->$val;
10 }
11
12 renderVal (new a);
13 ?>
How can the constant defined below be accessed from within PHP?
class myClass {
const FOO = 'BAR';
}
Which of the following function signatures is correct if you want to have classes automatically loaded?