Question No : 22
What will be the output of the following PHP code ?
<?php $i = 2;
while (++$i){ while (--$i > 0) print $i;
} ?>
Question No : 23
Which function displays the web pages most recent modification date?
lastmod()
getlastmod()
last_mod()
get_last_mod()
Question No : 24
What will be the output of the following PHP code ?
<?php $color1 = red;
$color2 = 1;
echo $color1 + $color2;
?>
Question No : 25
What will be the output of the following PHP code ?
<?php $i = 5;
while (--$i > 0 || ++$i){ print $i;
} ?>
Question No : 26
What is the default number of seconds that cached session pages are made available before the new pages are created?
Question No : 27
What will be the output of the following PHP code ?
<?php define('GREETING_TEST', 'PHP is a scripting language', true);
echo GREETING_TESt;
$changing_variable = 'test';
echo constant('GREETING_' . strtoupper($changing_variable));
?>
Question No : 28
If the directive session.cookie_lifetime is set to 3600, the cookie will live until..