summaryrefslogtreecommitdiff
path: root/ext/calendar/tests/jdtogregorian.phpt
blob: e8bf4a49aaa9d3b4b0727ed6f5151225e7e5c897 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
--TEST--
jdtogregorian()
--SKIPIF--
<?php include 'skipif.inc'; ?>
--FILE--
<?php
echo jdtogregorian(0). "\n";
echo jdtogregorian(1). "\n";
echo jdtogregorian(2298874). "\n";
echo jdtogregorian(2299151). "\n";
echo jdtogregorian(2440588). "\n";
echo jdtogregorian(2816423). "\n";
?>
--EXPECT--
0/0/0
11/25/-4714
1/1/1582
10/5/1582
1/1/1970
1/1/2999