The filesize() function returns the file size in ___________
Which PHP function is used to detect the type of a variable?
Which statement is used To produce a stored function?
When you’re uploading files you need to set the enctype of the form to __________
What is the output of the following PHP code?
<?php
$a = "Hello";
echo $a;
$a .= "World";
echo $a;
?>
To validate an email address, which flag is to be passed to the function filter_var()?
Which of the looping statements is/are supported by PHP?
i) for loop
ii) while loop
iii) do-while loop
iv) foreach loop
What will be the output of the following PHP code?
<?php
define("GREETING1", "Hello you! How are you today?");
define("GREETING2", "Hello you! How are you today?");
define("GREETING3", "Hello you! How are you today?");
echo defined("GREETING");
?>
If you want to temporarily store uploaded files in the /tmp/phpuploads/ directory, which one of the following statement will you use?
What is the output of the following PHP code?
<?php
$arr1 = array("red", "green");
$arr2 = array("blue", "yellow");
$arr3 = array_merge($arr1, $arr2);
$arr4 = array("a", "b", "c", "d");
$arr = array_combine($arr4, $arr3);
print_r($a);
?>