PHP Test 7

What is the out put.

$x=array("aaa","ttt","www","ttt","yyy","tttt"); 
$y=array_count_values($x);
echo $y[ttt];

How do you get information from a form that is submitted using the "get" method?

What's the best way to copy a file from within a piece of PHP?

PHP code is embedded directly into XHTML document?

Is it possible to submit a form with out a submit button?

Full form of PHP.

What is the expansion of LAMP?

In php Which method is used to getting browser properties?

Which of the following function is used to pick one or more random values from PHP Array?

What is the out put.

$x=array(1,3,2,3,7,8,9,7,3); 
$y=array_count_values($x);
echo $y[8];

Assume that your php file 'index.php' in location c:/apache/htdocs/phptutor/index.php. If you used $_SERVER['PHP_SELF'] function in your page, then what is the return value of this function?

Which operator is used to concatenate two strings in php?

Are there regular expressions in PHP?

In PHP, which of the following function is used to insert content of one php file into another php file before server executes it

What will be the ouput of below code ? Assume that today is 2009-5-19:2:45:32 pm

$today = date("F j, Y, g:i a");

Which of the following function is used for terminate the script execution in PHP?

What function used to print statement in PHP?

What will be the ouput of below code?

define("x","5"); 
$x=x+10;
echo x;

What will be the output of below code?

$arr = array(5 => 1, 12 => 2); 
$arr[] = 56;
$arr["x"] = 42;
unset($arr);
echo var_dump($arr);

PHP variables are

Schreibe einen Kommentar