1--TEST--
2Test basic date_sun_info()
3--FILE--
4<?php
5date_default_timezone_set('UTC');
6$sun_info = date_sun_info(strtotime("2006-12-12"), 31.7667, 35.2333);
7var_dump($sun_info);
8echo "Done\n";
9?>
10--EXPECT--
11array(9) {
12  ["sunrise"]=>
13  int(1165897761)
14  ["sunset"]=>
15  int(1165934160)
16  ["transit"]=>
17  int(1165915961)
18  ["civil_twilight_begin"]=>
19  int(1165896156)
20  ["civil_twilight_end"]=>
21  int(1165935765)
22  ["nautical_twilight_begin"]=>
23  int(1165894334)
24  ["nautical_twilight_end"]=>
25  int(1165937588)
26  ["astronomical_twilight_begin"]=>
27  int(1165892551)
28  ["astronomical_twilight_end"]=>
29  int(1165939371)
30}
31Done
32