Home

Say you want to calculate the date 45 days from the present date which one of the following statement will you use?

A.

totime(+45)

B.

totime(+45 days)

C.

strtotime(+45 days)

D.

strtotime(-45 days)

0) print $i;} ?> ">What will be the output of the following PHP code ? <?php $i = 2;while (++$i){ while ($i --> 0) print…
  • What will be the output of the following PHP code? <?php $a = array(red, green, blue);array_pop($a);print_r($a);?>…
  • -->

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