Which function can help prevent cross-site scripting?
Which function can help prevent cross-site scripting? (Choose 2)
Is the following code piece E_STRICT compliant?
Is the following code piece E_STRICT compliant?
<code>
finalclass Testing {
var$test = 0;
publicfunction tester() {
return”Tested!”;
}}
</code>
PHP’s array functions such as array_values() and array_key_exists() can be used on an object if the obje
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 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 code?
What is the output of the following code?
str_pad(‘PHP’, 10, ‘P’, STR_PAD_BOTH);
What is the best way to run PHP 4 and PHP 5 side-by-side on the same Apache server?
What is the best way to run PHP 4 and PHP 5 side-by-side on the same Apache server?
Which function will remove the value 28 from $a?
Given the following array:
<code>
$a = array(28, 15, 77, 43);
</code>
Which function will remove the value 28 from $a?
Which of the following pieces of code will properly assign $year, $month and $day with their respective values
You want to extract the pieces of a date string, which looks like this:
“2005-11-02”.Which of the following pieces of code will properly assign $year,
$month and $day with their respective values?
How can the value of <foo> tag accessed? <code> <?xmlversion=’1.0′?
The XML document below has been parsed into $xml via SimpleXML. How can the value of <foo> tag accessed?
<code>
<?xmlversion=’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?