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--EXPECTF--
11array(9) {
12  ["sunrise"]=>
13  int(1165897782)
14  ["sunset"]=>
15  int(1165934168)
16  ["transit"]=>
17  int(1165915975)
18  ["civil_twilight_begin"]=>
19  int(1165896176)
20  ["civil_twilight_end"]=>
21  int(1165935773)
22  ["nautical_twilight_begin"]=>
23  int(1165894353)
24  ["nautical_twilight_end"]=>
25  int(1165937597)
26  ["astronomical_twilight_begin"]=>
27  int(1165892570)
28  ["astronomical_twilight_end"]=>
29  int(1165939380)
30}
31Done
32