Quantcast
Channel: Issues for Drupal core
Viewing all articles
Browse latest Browse all 293292

_drupal_session_destroy() should return boolean

$
0
0

According to the PHP docs for session_set_save_handler(), the destroy callback should return TRUE or FALSE. However, the current _drupal_session_destroy() callback does not return anything explicitly.

https://php.net/manual/en/function.session-set-save-handler.php

Failure to return a boolean in the session destroy callback is a warning in PHP7 and results in many test failures.


Viewing all articles
Browse latest Browse all 293292

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>