Parcourir la source

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

Cédric Belin il y a 5 ans
Parent
commit
d71847efd7
1 fichiers modifiés avec 5 ajouts et 0 suppressions
  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
 	**/