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  = 1;
$num1 = 2;
print $num . "+". $num1;
?>

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

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

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

$score = 1234;
$scoreboard = (array) $score;
echo $scoreboard[0];

4) Which of following variables can be assigned a value to it?

  1. $3hello
  2. $_hello
  3. $this
  4. $This

5) A PHP script should start with ___ and end with ___:

UP Gk Online Test

taiyari24hour.com

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