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