mirror of
https://github.com/php/php-src.git
synced 2025-01-26 21:54:16 +08:00
18 lines
306 B
PHP
18 lines
306 B
PHP
--TEST--
|
|
juliantojd()
|
|
--SKIPIF--
|
|
<?php include 'skipif.inc'; ?>
|
|
--FILE--
|
|
<?php
|
|
echo juliantojd( 0, 0, 0). "\n";
|
|
echo juliantojd( 1, 1, 1582). "\n";
|
|
echo juliantojd(10, 5, 1582). "\n";
|
|
echo juliantojd( 1, 1, 1970). "\n";
|
|
echo juliantojd( 1, 1, 2999). "\n";
|
|
?>
|
|
--EXPECT--
|
|
0
|
|
2298884
|
|
2299161
|
|
2440601
|
|
2816443
|