3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php ini_set('session.name', ''); var_dump(session_name("foo"));
Output for 5.4.18 - 7.1.0
Warning: ini_set(): session.name cannot be a numeric or empty '' in /in/r4YSU on line 3 string(9) "PHPSESSID"
Output for 4.3.0 - 5.4.17
string(0) ""