Closed
Description
Description
The following code:
<?php
session_set_cookie_params(PHP_INT_MAX, '/', null, false, true);
session_start();
?>
Resulted in this output:
/home/dan/php-8.3.9/ext/session/session.c:1353:5: runtime error: signed integer overflow: 1728342208 + 9223372036854775807 cannot be represented in type 'long int'
Also, not tested with 8.3.12, yet.
PHP Version
8.3.9
Operating System
No response