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