1--TEST--
2jdtojewish(): test overflow
3--CREDITS--
4neweracracker@gmail.com
5--SKIPIF--
6<?php
7if (!extension_loaded('calendar')) die('skip ext/calendar required');
8?>
9--FILE--
10<?php
11for ($i=324542840; $i<324542850; $i++) {
12	echo $i, ':', jdtojewish($i), PHP_EOL;
13}
14echo 'DONE', PHP_EOL;
15?>
16--EXPECT--
17324542840:12/7/887605
18324542841:12/8/887605
19324542842:12/9/887605
20324542843:12/10/887605
21324542844:12/11/887605
22324542845:12/12/887605
23324542846:12/13/887605
24324542847:0/0/0
25324542848:0/0/0
26324542849:0/0/0
27DONE
28