3v4l.org

run code in 300+ PHP versions simultaneously
<?php error_reporting(E_ALL); setcookie('foo', 'bar', time()+(60*60*24*30), '/; SameSite=None', '3v4l.org', true, true);
Output for git.master_jit, git.master
Fatal error: Uncaught ValueError: setcookie(): "path" option cannot contain ",", ";", " ", "\t", "\r", "\n", "\013", or "\014" in /in/iMo7C:5 Stack trace: #0 /in/iMo7C(5): setcookie('foo', 'bar', 1689544796, '/; SameSite=Non...', '3v4l.org', true, true) #1 {main} thrown in /in/iMo7C on line 5
Process exited with code 255.

This tab shows result from various feature-branches currently under review by the php developers. Contact me to have additional branches featured.

Active branches

Archived branches

Once feature-branches are merged or declined, they are no longer available. Their functionality (when merged) can be viewed from the main output page


preferences:
26.06 ms | 405 KiB | 5 Q