Browse Source

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

Fixes #9826
Cédric Belin 5 years ago
parent
commit
8378ba541d
1 changed files with 5 additions and 0 deletions
  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
 	**/