3v4l.org

run code in 300+ PHP versions simultaneously
<?php try { header('Content-Type: text/html; charset=utf-8'); header('Set-Cookie: track=ABC'); } catch (Exception $e) { // Catch the exception } finally { var_dump($_COOKIE); } ?>

preferences:
36.49 ms | 402 KiB | 5 Q