<!DOCTYPE html>
<html>
<body>

<?php

echo "<h3>日期:2016 年 1 月 1 日:</h3>";
$sun_info=date_sun_info(strtotime("2016-01-01"),31.7667,35.2333);
foreach ($sun_info as $key=>$val)
  {
  echo "$key: " . date("H:i:s",$val) . "<br>";
  }

echo "<h3>日期:2016 年 6 月 1 日:</h3>";
$sun_info=date_sun_info(strtotime("2016-06-01"),31.7667,35.2333);
foreach ($sun_info as $key=>$val)
  {
  echo "$key: " . date("H:i:s",$val) . "<br>";
  }

?>

</body>
</html>