Which of the following statements is NOT correct?
What is the output of the following code?
echo "22" + "0.2", 23 . 1;
How do you allow the caller to submit a variable number of arguments to a function?
What will the following function call return?
strstr('http://example.com/test/file.php ', '/');
An HTML form contains this form element:
When this form is submitted, the following PHP code gets executed:
1
2 move_uploaded_file(
3 $_FILES['myFile']['tmp_name'],
4 'uploads/' . $_FILES['myFile']['name']);
5 ?>
Which of the following actions must be taken before this code may go into production?
(Choose 2)
What is the name of the key pointing to the domain name in the array returned by parse_url()?
Which of the following keywords is not new in PHP 5?
Is the following code piece E_STRICT compliant?
final class Testing {
private $test;
public function tester() {
return "Tested!";
}}
What is the output of the following code:
str_replace(array("Apple","Orange"), array("Orange","Apple"), "Oranges are orange and Apples are green");
What SimpleXML function is used to parse a file?