Ver Fonte

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

Cédric Belin há 5 anos atrás
pai
commit
d71847efd7
1 ficheiros alterados com 5 adições e 0 exclusões
  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
 	**/