PHP files have a default file extension of..

Home | Discussion Forum

Free Online Test

Taiyari24Hour

PHP files have a default file extension of..



View More Related Question

1) Which of the following is/are a PHP code editor?

2) Which statement will output $x on the screen?

3) What will be the output of the following PHP code?

$color = "maroon";
$var = $color[2];
echo "$var";

4) Which of the following PHP statements will output Hello World on the screen?

  1. echo (“Hello World”);
  2. print (“Hello World”);
  3. printf (“Hello World”);
  4. sprintf (“Hello World”);

5) What will be the output of the following code?

function track()
{
static $count = 0;
$count++;
echo $count;
}
track();
track();
track();

UP Gk Online Test

taiyari24hour.com

Study 2 Online Says....
Kindly log in or signup.