Home
Subscribe TechModgy to learn about new technologies!

How many ways can a session data be stored?

A. 3

B. 4

C. 5

D. 6

0) print $i;} ?> ">What will be the output of the following PHP code ? <?php $i = 2;while (++$i){ while ($i --> 0) print…
  • What is the default number of seconds that cached session pages are made available before the new pages…
  • What will be the output of the following PHP code ? <?php define('GREETING_TEST', 'PHP is a scripting…
  • What will be the output of the following PHP code ? <?php $color = red;$color = green;echo $color;?>…
  • What will be the output of the following code? If say date is 22/06/2013. <?php echo Today is .date(F…
  • How many ways can a session data be stored?
  • If the format is F then which one of the following will be returned?
  • What will be the output of the following PHP code? <?php $a = array(red, green, blue);array_pop($a);print_r($a);?>…
  • The date() function returns ___ representation of the current date and/or time.
  • What will be the output of the following PHP code ? <?php $color = red;echo $color . red ;?>
  • If session.use_cookie is set to 0, this results in use of..
  • What will be the output of the following code?<?php $foo = 'Bob'; $bar = &$foo; $bar…
  • What will be the output of the following PHP code? <?php $a1 = array(red, green);$a2 = array(blue,…
  • What does PHP stand for?i) Personal Home Pageii) Hypertext Preprocessoriii) Pretext Hypertext Processoriv)…
  • What will be the output of the following PHP code? <?php $fname = array(Peter, Ben, Joe);$age = array(35,…
  • What will be the output of the following PHP code ? <?php define(VAR_NAME,test);${VAR_NAME} = value;echo…
  • What is the default time(in seconds) for which session data is considered valid?
  • -->

    Please do not use chat terms. Example: avoid using "grt" instead of "great".