xref: /php-src/ext/calendar/tests/cal_to_jd.phpt (revision 56f90492)
1--TEST--
2cal_to_jd()
3--EXTENSIONS--
4calendar
5--FILE--
6<?php
7echo cal_to_jd(CAL_GREGORIAN, 8, 26, 74), "\n";
8echo cal_to_jd(CAL_JULIAN, 8, 26, 74), "\n";
9echo cal_to_jd(CAL_JEWISH, 8, 26, 74), "\n";
10echo cal_to_jd(CAL_FRENCH, 8, 26, 74), "\n";
11?>
12--EXPECT--
131748326
141748324
15374867
160
17