mirror of
https://github.com/php/php-src.git
synced 2024-10-20 16:02:44 +00:00
18 lines
306 B
Plaintext
18 lines
306 B
Plaintext
|
--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
|