1--TEST-- 2Bug #64895: Integer overflow in SndToJewish 3--EXTENSIONS-- 4calendar 5--SKIPIF-- 6<?php 7if (PHP_INT_SIZE == 4) { 8 die("skip this test is for 64bit platform only"); 9} 10?> 11--FILE-- 12<?php 13$a = array(38245310, 324542846, 324542847, 9223372036854743639); 14 15foreach ($a as $x) var_dump(jdtojewish($x)); 16?> 17--EXPECT-- 18string(11) "2/22/103759" 19string(12) "12/13/887605" 20string(5) "0/0/0" 21string(5) "0/0/0" 22