2
0
Эх сурвалжийг харах

[php] Add `Global.session_destroy()` method (#9827)

Fixes #9826
Cédric Belin 5 жил өмнө
parent
commit
8378ba541d
1 өөрчлөгдсөн 5 нэмэгдсэн , 0 устгасан
  1. 5 0
      std/php/Global.hx

+ 5 - 0
std/php/Global.hx

@@ -1398,6 +1398,11 @@ extern class Global {
 	**/
 	static function session_cache_expire(?new_cache_expire:Int):Int;
 
+	/**
+		@see http://php.net/manual/en/function.session-destroy.php
+	**/
+	static function session_destroy():Bool;
+
 	/**
 		@see http://php.net/manual/en/function.session-name.php
 	**/