blob: 0032e376db3cacb817d41082c2ae45e93e208967 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
|
--TEST--
Test jdtounix() function : error conditions
--CREDITS--
edgarsandi - <edgar.r.sandi@gmail.com>
--INI--
date.timezone=UTC
--EXTENSIONS--
calendar
--FILE--
<?php
try {
jdtounix(2440579);
} catch (ValueError $ex) {
echo $ex->getMessage(), PHP_EOL;
}
?>
--EXPECTF--
jday must be between 2440588 and %d
|