1--TEST--
2Test all hebrew month names
3--EXTENSIONS--
4calendar
5--FILE--
6<?php
7for ($year = 5000; $year <= 5001; $year++) {
8    $leap = ($year === 5001) ? 'leap' : 'normal';
9    echo "$leap year $year\n";
10    for ($month = 1; $month <= 13; $month++) {
11        $jd = jewishtojd($month, 1, $year);
12        $hebrew = jdtojewish($jd, true);
13        $hex = bin2hex($hebrew);
14        echo "$hex\n";
15    }
16    echo "\n";
17}
18?>
19--EXPECT--
20normal year 5000
21e020faf9f8e920e4
22e020e7f9e5ef20e4
23e020ebf1ece520e4
24e020e8e1fa20e4
25e020f9e1e820e4
26e020e0e3f820e02720e4
27e020e0e3f820e12720e4
28e020f0e9f1ef20e4
29e020e0e9e9f820e4
30e020f1e9e5ef20e4
31e020faeee5e620e4
32e020e0e120e4
33e020e0ece5ec20e4
34
35leap year 5001
36e020faf9f8e920e4e0
37e020e7f9e5ef20e4e0
38e020ebf1ece520e4e0
39e020e8e1fa20e4e0
40e020f9e1e820e4e0
41e020e0e3f820e4e0
42e020e0e3f820e4e0
43e020f0e9f1ef20e4e0
44e020e0e9e9f820e4e0
45e020f1e9e5ef20e4e0
46e020faeee5e620e4e0
47e020e0e120e4e0
48e020e0ece5ec20e4e0
49
50