xref: /PHP-5.6/ext/calendar/tests/cal_to_jd.phpt (revision ced39e31)
1--TEST--
2cal_to_jd()
3--SKIPIF--
4<?php include 'skipif.inc'; ?>
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