3v4l.org

run code in 300+ PHP versions simultaneously
<?php setcookie("name", "val", time() + 100, '/; SameSite=None;', null, true, false);
Output for 7.3.0 - 7.3.13, 7.4.0 - 7.4.1
Warning: Cookie paths cannot contain any of the following ',; \t\r\n\013\014' in /in/6QUPf on line 3
Output for 7.2.0 - 7.2.26

preferences:
34.47 ms | 407 KiB | 5 Q