3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php var_dump( session_get_cookie_params(), $_COOKIE );
Output for 5.2.0 - 7.1.0
array(5) { ["lifetime"]=> int(0) ["path"]=> string(1) "/" ["domain"]=> string(0) "" ["secure"]=> bool(false) ["httponly"]=> bool(false) } array(0) { }
Output for 4.3.0 - 5.1.6
array(4) { ["lifetime"]=> int(0) ["path"]=> string(1) "/" ["domain"]=> string(0) "" ["secure"]=> bool(false) } array(0) { }