3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php session_name('hello'); session_start(); $_SESSION['value'] = 42; session_write_close(); session_unset(); $_SESSION['value'] = 52; session_name('hello'); session_start(); print_r($_SESSION);
based on a7UIn
Output for 5.5.0 - 7.3.0rc4
Array ( [value] => 42 )