소스 검색

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

Fixes #9826
Cédric Belin 5 년 전
부모
커밋
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
 	**/