What will be the output of the following code?
function track()
{

Home | Discussion Forum

Free Online Test

Taiyari24Hour

What will be the output of the following code?

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



View More Related Question

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

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

$a = "clue";
$a .= "get";
echo "$a";

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

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

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

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

 $num  = 1;
$num1 = 2;
print $num . "+". $num1;
?>

UP Gk Online Test

taiyari24hour.com

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