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) What will be the output of the following PHP code?

$num = 10;
echo 'What is her age? n She is $num years old';

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

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

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

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) We can use _________ to comment a single line?

  1. /?
  2. //
  3. #
  4. /* */

UP Gk Online Test

taiyari24hour.com

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