/
usr
/
local
/
lsws
/
phpbuild
/
php-8.0.7
/
ext
/
calendar
/
tests
/
File Upload :
llllll
Current File: //usr/local/lsws/phpbuild/php-8.0.7/ext/calendar/tests/unixtojd_error1.phpt
--TEST-- Test unixtojd() function : error conditions --CREDITS-- edgarsandi - <edgar.r.sandi@gmail.com> --SKIPIF-- <?php include 'skipif.inc'; ?> --INI-- date.timezone=UTC --FILE-- <?php putenv('TZ=UTC'); try { unixtojd(-1); } catch (ValueError $ex) { echo $ex->getMessage(), PHP_EOL; } var_dump(unixtojd(false)) . PHP_EOL; var_dump(unixtojd(null)) . PHP_EOL; var_dump(unixtojd(time())) . PHP_EOL; ?> --EXPECTF-- unixtojd(): Argument #1 ($timestamp) must be greater than or equal to 0 int(%d) int(%d) int(%d)
Copyright ©2k19 -
Hexid
|
Tex7ure