Which of the following may be used in conjunction with CASE inside a SWITCH statement?
Which of the following may be used in conjunction with CASE inside a SWITCH statement?
What is the output of the following script?
What is the output of the following script?
<code>
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 ?>
</code>
What is the output of the following code?
What is the output of the following code?
str_pad(‘PHP’, 10, ‘P’, STR_PAD_BOTH);
What is the name of the method that can be used to provide read access to virtual properties in a class?
What is the name of the method that can be used to provide read access to virtual properties in a
class?
Which of the following are valid identifiers (Choose 3)
Which of the following are valid identifiers (Choose 3)
What is the method used to execute XPath queries in the SimpleXML extension?
What is the method used to execute XPath queries in the SimpleXML extension?
How can the value of <foo> tag accessed? <code> <?xml version=’1.0′?
The XML document below has been parsed into $xml via SimpleXML. How can the value of <foo>
tag accessed?
<code>
<?xml version=’1.0′?>
<document>
<bar>
<foo>Value</foo>
</bar>
</document>
</code>
Which of the following will set a 10 seconds read timeout for a stream?
Which of the following will set a 10 seconds read timeout for a stream?
Where does the session extension store the session data by default?
Where does the session extension store the session data by default?
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]