3v4l.org

run code in 150+ 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 5.4.0 - 5.4.24
Parse error: syntax error, unexpected 'name' (T_STRING), expecting ')' in /in/2X6t4 on line 8
Process exited with code 255.
Output for 5.3.0 - 5.3.28
Parse error: syntax error, unexpected T_STRING, expecting ')' in /in/2X6t4 on line 8
Process exited with code 255.