3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php setcookie ( "TestCookie" , "test" ); var_dump($_COOKIE['TestCookie']);
Output for 5.3.0 - 7.1.7
Notice: Undefined index: TestCookie in /in/A01nL on line 3 NULL
Output for 4.3.0 - 5.2.17
Notice: Undefined index: TestCookie in /in/A01nL on line 3 NULL