Browse Source

[php] Add extern for `error_log()` (#9865)

Cédric Belin 5 years ago
parent
commit
83ad82b871
1 changed files with 5 additions and 0 deletions
  1. 5 0
      std/php/Global.hx

+ 5 - 0
std/php/Global.hx

@@ -19,6 +19,11 @@ extern class Global {
 	**/
 	**/
 	static function die(status:EitherType<String, Int>):Void;
 	static function die(status:EitherType<String, Int>):Void;
 
 
+	/**
+		@see http://php.net/manual/en/function.error-log.php
+	**/
+	static function error_log(message:String, message_type:Int = 0, ?destination:String, ?extra_headers:String):Bool;
+
 	/**
 	/**
 		@see http://php.net/manual/en/function.error-reporting.php
 		@see http://php.net/manual/en/function.error-reporting.php
 	**/
 	**/