Browse Source

Update Global.hx (#12317)

I add the date_sun_info function to Gobal.hx
pinc444 2 weeks ago
parent
commit
3416ea60b9
1 changed files with 5 additions and 0 deletions
  1. 5 0
      std/php/Global.hx

+ 5 - 0
std/php/Global.hx

@@ -2183,4 +2183,9 @@ extern class Global {
 		@see http://php.net/manual/en/function.posix-setuid.php
 		@see http://php.net/manual/en/function.posix-setuid.php
 	**/
 	**/
 	static function posix_setuid(user_id: Int): Bool;
 	static function posix_setuid(user_id: Int): Bool;
+	
+	/**
+		@see https://www.php.net/manual/en/function.date-sun-info.php
+	**/
+	public static function date_sun_info(timestamp:Int, latitude:Float, longitude:Float) :NativeArray;
 }
 }