123456789101112131415161718192021 |
- --TEST--
- Test gmmktime() function : basic functionality
- --FILE--
- <?php
- echo "*** Testing gmmktime() : basic functionality ***\n";
- // Initialise all required variables
- $hour = 8;
- $min = 8;
- $sec = 8;
- $mon = 8;
- $day = 8;
- $year = 2008;
- // Calling gmmktime() with all possible arguments
- var_dump( gmmktime($hour, $min, $sec, $mon, $day, $year) );
- ?>
- --EXPECT--
- *** Testing gmmktime() : basic functionality ***
- int(1218182888)
|