1--TEST--
2jdtogregorian()
3--EXTENSIONS--
4calendar
5--FILE--
6<?php
7echo jdtogregorian(0). "\n";
8echo jdtogregorian(1). "\n";
9echo jdtogregorian(2298874). "\n";
10echo jdtogregorian(2299151). "\n";
11echo jdtogregorian(2440588). "\n";
12echo jdtogregorian(2816423). "\n";
13?>
14--EXPECT--
150/0/0
1611/25/-4714
171/1/1582
1810/5/1582
191/1/1970
201/1/2999
21