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 statement will output $x on the screen?

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

$total = "25 students";
$more = 10;
$total = $total + $more;
echo "$total";

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

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

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

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

5) Which of the following php statement/statements will store 111 in variable num?

  1. int $num = 111;
  2. int mum = 111;
  3. $num = 111;
  4. 111 = $num;

UP Gk Online Test

taiyari24hour.com

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