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--EXPECT--
22normal year 5000
23e020faf9f8e920e4
24e020e7f9e5ef20e4
25e020ebf1ece520e4
26e020e8e1fa20e4
27e020f9e1e820e4
28e020e0e3f820e02720e4
29e020e0e3f820e12720e4
30e020f0e9f1ef20e4
31e020e0e9e9f820e4
32e020f1e9e5ef20e4
33e020faeee5e620e4
34e020e0e120e4
35e020e0ece5ec20e4
36
37leap year 5001
38e020faf9f8e920e4e0
39e020e7f9e5ef20e4e0
40e020ebf1ece520e4e0
41e020e8e1fa20e4e0
42e020f9e1e820e4e0
43e020e0e3f820e4e0
44e020e0e3f820e4e0
45e020f0e9f1ef20e4e0
46e020e0e9e9f820e4e0
47e020f1e9e5ef20e4e0
48e020faeee5e620e4e0
49e020e0e120e4e0
50e020e0ece5ec20e4e0
51
52