Browse Source

[php] Add extern for `print_r()` (#9834)

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

+ 5 - 0
std/php/Global.hx

@@ -295,6 +295,11 @@ extern class Global {
 	**/
 	static function echo(args:Rest<String>):Void;
 
+	/**
+		@see http://php.net/manual/en/function.print-r.php
+	**/
+	static function print_r(expression:Any, ?returnOutput:Bool):EitherType<Bool, String>;
+
 	/**
 		@see http://php.net/manual/en/function.sprintf.php
 	**/