3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $options = array( 'name' => 'sso' ); $defaults = array( 'name' => 'CakeCookie[default]', 'value' => '', 'expire' => 0, 'path' => '/', 'domain' => '', 'secure' => false, 'httpOnly' => false ); $options += $defaults; print_r($options);
Output for 4.3.0 - 7.2.0
Array ( [name] => sso [value] => [expire] => 0 [path] => / [domain] => [secure] => [httpOnly] => )