PHP :: Bug #64895 :: interger overflow in SndToJewish
[2013-05-22 06:00 UTC] remi@php.net
Description: ------------ Interger overflow occurs in SndToJewish Last correct value is 324542846 With very large value (ex: 9223372036854746369), php hangs. Test script: --------------- <?php for ($i=324542840; $i<324542850; $i++) echo "$i:".jdtojewish($i)."\n";' Expected result: ---------------- 324542840:12/7/887605 324542841:12/8/887605 324542842:12/9/887605 324542843:12/10/887605 324542844:12/11/887605 324542845:12/12/887605 324542846:12/13/887605 324542847:0/0/0 324542848:0/0/0 324542849:0/0/0 Actual result: -------------- 324542840:12/7/887605 324542841:12/8/887605 324542842:12/9/887605 324542843:12/10/887605 324542844:12/11/887605 324542845:12/12/887605 324542846:12/13/887605 324542847:3/434978988/887 324542848:3/434978989/887 324542849:3/434978990/887
[2013-05-22 06:00 UTC] remi@php.net
-Assigned To: +Assigned To: remi
[2013-05-22 06:30 UTC] remi@php.net
-Status: Assigned +Status: Closed