WordPress

Briefly unavailable for scheduled maintenance.
Check back in a some hours.
Uname:Linux wp 4.15.0-213-generic #224-Ubuntu SMP Mon Jun 19 13:30:12 UTC 2023 x86_64

Base Dir : /var/www/eduesan

User : www-data


403WebShell
403Webshell
Server IP : 202.131.237.196  /  Your IP : 216.73.216.192
Web Server : nginx/1.14.0
System : Linux wp 4.15.0-213-generic #224-Ubuntu SMP Mon Jun 19 13:30:12 UTC 2023 x86_64
User : www-data ( 33)
PHP Version : 7.2.24-0ubuntu0.18.04.17
Disable Function : pcntl_alarm,pcntl_fork,pcntl_waitpid,pcntl_wait,pcntl_wifexited,pcntl_wifstopped,pcntl_wifsignaled,pcntl_wifcontinued,pcntl_wexitstatus,pcntl_wtermsig,pcntl_wstopsig,pcntl_signal,pcntl_signal_get_handler,pcntl_signal_dispatch,pcntl_get_last_error,pcntl_strerror,pcntl_sigprocmask,pcntl_sigwaitinfo,pcntl_sigtimedwait,pcntl_exec,pcntl_getpriority,pcntl_setpriority,pcntl_async_signals,
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : ON  |  Sudo : ON  |  Pkexec : ON
Directory :  /www/server/php/72/src/ext/date/tests/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /www/server/php/72/src/ext/date/tests/DateTimeZone_verify.phpt
--TEST--
Test DateTimeZone class registration
--FILE--
<?php

echo "*** Verify DateTimeZone class ***\n";

echo "Verify DateTimeZone class registered OK\n";
$class = new ReflectionClass('DateTimeZone');
var_dump($class);

echo "..and get names of all its methods\n";
$methods = $class->getMethods();
var_dump($methods);

echo "..and get names of all its class constants\n";
$constants = $class->getConstants();
var_dump($constants);
?>
===DONE===
--EXPECTF--
*** Verify DateTimeZone class ***
Verify DateTimeZone class registered OK
object(ReflectionClass)#%d (1) {
  ["name"]=>
  string(12) "DateTimeZone"
}
..and get names of all its methods
array(9) {
  [0]=>
  object(ReflectionMethod)#%d (2) {
    ["name"]=>
    string(11) "__construct"
    ["class"]=>
    string(12) "DateTimeZone"
  }
  [1]=>
  object(ReflectionMethod)#%d (2) {
    ["name"]=>
    string(8) "__wakeup"
    ["class"]=>
    string(12) "DateTimeZone"
  }
  [2]=>
  object(ReflectionMethod)#%d (2) {
    ["name"]=>
    string(11) "__set_state"
    ["class"]=>
    string(12) "DateTimeZone"
  }
  [3]=>
  object(ReflectionMethod)#%d (2) {
    ["name"]=>
    string(7) "getName"
    ["class"]=>
    string(12) "DateTimeZone"
  }
  [4]=>
  object(ReflectionMethod)#%d (2) {
    ["name"]=>
    string(9) "getOffset"
    ["class"]=>
    string(12) "DateTimeZone"
  }
  [5]=>
  object(ReflectionMethod)#%d (2) {
    ["name"]=>
    string(14) "getTransitions"
    ["class"]=>
    string(12) "DateTimeZone"
  }
  [6]=>
  object(ReflectionMethod)#%d (2) {
    ["name"]=>
    string(11) "getLocation"
    ["class"]=>
    string(12) "DateTimeZone"
  }
  [7]=>
  object(ReflectionMethod)#%d (2) {
    ["name"]=>
    string(17) "listAbbreviations"
    ["class"]=>
    string(12) "DateTimeZone"
  }
  [8]=>
  object(ReflectionMethod)#%d (2) {
    ["name"]=>
    string(15) "listIdentifiers"
    ["class"]=>
    string(12) "DateTimeZone"
  }
}
..and get names of all its class constants
array(14) {
  ["AFRICA"]=>
  int(1)
  ["AMERICA"]=>
  int(2)
  ["ANTARCTICA"]=>
  int(4)
  ["ARCTIC"]=>
  int(8)
  ["ASIA"]=>
  int(16)
  ["ATLANTIC"]=>
  int(32)
  ["AUSTRALIA"]=>
  int(64)
  ["EUROPE"]=>
  int(128)
  ["INDIAN"]=>
  int(256)
  ["PACIFIC"]=>
  int(512)
  ["UTC"]=>
  int(1024)
  ["ALL"]=>
  int(2047)
  ["ALL_WITH_BC"]=>
  int(4095)
  ["PER_COUNTRY"]=>
  int(4096)
}
===DONE===

Youez - 2016 - github.com/yon3zu
LinuXploit