Linux vps-61133.fhnet.fr 4.9.0-19-amd64 #1 SMP Debian 4.9.320-2 (2022-06-30) x86_64
Apache/2.4.25 (Debian)
Server IP : 93.113.207.21 & Your IP : 216.73.216.112
Domains :
Cant Read [ /etc/named.conf ]
User : www-data
Terminal
Auto Root
Create File
Create Folder
Localroot Suggester
Backdoor Destroyer
Readme
/
usr /
src /
php-7.4.33 /
ext /
calendar /
tests /
Delete
Unzip
Name
Size
Permission
Date
Action
bug52744.phpt
257
B
-rw-rw-r--
2022-10-31 11:36
bug53574_1.phpt
560
B
-rw-rw-r--
2022-10-31 11:36
bug53574_2.phpt
573
B
-rw-rw-r--
2022-10-31 11:36
bug54254.phpt
1.63
KB
-rw-rw-r--
2022-10-31 11:36
bug55797_1.phpt
585
B
-rw-rw-r--
2022-10-31 11:36
bug55797_2.phpt
595
B
-rw-rw-r--
2022-10-31 11:36
bug67976.phpt
259
B
-rw-rw-r--
2022-10-31 11:36
bug71894.phpt
571
B
-rw-rw-r--
2022-10-31 11:36
bug80185.phpt
414
B
-rw-rw-r--
2022-10-31 11:36
bug80185_32bit.phpt
401
B
-rw-rw-r--
2022-10-31 11:36
cal_days_in_month.phpt
625
B
-rw-rw-r--
2022-10-31 11:36
cal_days_in_month_error1.phpt
434
B
-rw-rw-r--
2022-10-31 11:36
cal_from_jd.phpt
1.03
KB
-rw-rw-r--
2022-10-31 11:36
cal_from_jd_error1.phpt
291
B
-rw-rw-r--
2022-10-31 11:36
cal_info.phpt
5.45
KB
-rw-rw-r--
2022-10-31 11:36
cal_to_jd.phpt
300
B
-rw-rw-r--
2022-10-31 11:36
cal_to_jd_error1.phpt
287
B
-rw-rw-r--
2022-10-31 11:36
easter_date.phpt
486
B
-rw-rw-r--
2022-10-31 11:36
easter_days.phpt
192
B
-rw-rw-r--
2022-10-31 11:36
frenchtojd.phpt
233
B
-rw-rw-r--
2022-10-31 11:36
gregoriantojd.phpt
411
B
-rw-rw-r--
2022-10-31 11:36
gregoriantojd_overflow.phpt
231
B
-rw-rw-r--
2022-10-31 11:36
jddayofweek.phpt
1.08
KB
-rw-rw-r--
2022-10-31 11:36
jdmonthname.phpt
1.99
KB
-rw-rw-r--
2022-10-31 11:36
jdtofrench.phpt
318
B
-rw-rw-r--
2022-10-31 11:36
jdtogregorian.phpt
349
B
-rw-rw-r--
2022-10-31 11:36
jdtogregorian_overflow.phpt
598
B
-rw-rw-r--
2022-10-31 11:36
jdtojewish.phpt
1.48
KB
-rw-rw-r--
2022-10-31 11:36
jdtojewish64.phpt
404
B
-rw-rw-r--
2022-10-31 11:36
jdtojewish_hebrew.phpt
1016
B
-rw-rw-r--
2022-10-31 11:36
jdtojewish_overflow.phpt
508
B
-rw-rw-r--
2022-10-31 11:36
jdtojulian.phpt
332
B
-rw-rw-r--
2022-10-31 11:36
jdtomonthname.phpt
1.6
KB
-rw-rw-r--
2022-10-31 11:36
jdtounix.phpt
282
B
-rw-rw-r--
2022-10-31 11:36
jdtounix_error1.phpt
252
B
-rw-rw-r--
2022-10-31 11:36
jewishtojd.phpt
239
B
-rw-rw-r--
2022-10-31 11:36
juliantojd.phpt
346
B
-rw-rw-r--
2022-10-31 11:36
juliantojd_overflow.phpt
230
B
-rw-rw-r--
2022-10-31 11:36
skipif.inc
93
B
-rw-rw-r--
2022-10-31 11:36
unixtojd.phpt
1.59
KB
-rw-rw-r--
2022-10-31 11:36
unixtojd_error1.phpt
402
B
-rw-rw-r--
2022-10-31 11:36
Save
Rename
--TEST-- unixtojd() --SKIPIF-- <?php include 'skipif.inc'; ?> --ENV-- TZ=UTC --FILE-- <?php // this line has no impact on test output on Windows putenv('TZ=UTC'); // getenv('TZ') returns 'UTC' here // putenv (basic_functions.c) does call tzset() when the env var being put is 'TZ' // -adding a call direct to GetEnvironmentVariableA just before tzset() is called to check the value of 'TZ' returns 'UTC' // putting a call to date_default_timezone_set() here doesn't help // // on Windows, the only thing that gets this test to pass is to put TZ=UTC in --ENV-- section // -since putenv() is written to call tzset() when env var is TZ, I assume that putenv("TZ=UTC") is intended to work // and should work on all platforms(including Windows). // easter_date.phpt passes // -doesn't use --ENV-- section // -uses --INI-- section with date.timezone=UTC // -uses putenv('TZ=UTC') // date.timezone=UTC // -if omitted from easter_date.phpt, outputs DATE_TZ_ERRMSG warning // -easter_date() calls mktime() and localtime() // -whereas unixtojd(1000000000) calls localtime(1000000000) // -if omitted from unixtojd.phpt, does NOT output DATE_TZ_ERRMSG // // unixtojd() calls php_localtime_r() which for Pacific timezone systems, returns a time -8 hours // -this incorrect localtime is passed to the julian date conversion (GregorianToSDN) function which works (probably correctly) // but returns -1 day from expected because its input is -1 from expected echo unixtojd(). "\n"; echo unixtojd(40000). "\n"; echo unixtojd(1000000000). "\n"; echo unixtojd(1152459009). "\n"; ?> --EXPECTF-- %d 2440588 2452162 2453926