- composer.json:
"php": ">=5.6"
| Feature | Minimum PHP | Used in |
|---|---|---|
Short array [] |
5.4 | access.php, dal.php, register.php, requestuniqueidrange.php |
__DIR__ |
5.3 | register.php, requestuniqueidrange.php |
session_set_cookie_params(lifetime, path, domain, secure, httponly) |
5.2 | access.php, dal.php |
| PDO | 5.1 | dal.php |
array() |
4 | dal.php, utils.php, etc. |
- Session code uses the 5-argument form of
session_set_cookie_params()only (no array form, nosamesite), compatible with PHP 5.2+. - No null coalescing (
??) – usesisset() ? : defaultfor PHP 5.6. - Conclusion: The application is compatible with PHP 5.6 through 8.x.
PHP 5.6 cannot set the SameSite cookie attribute. Browsers will use their default (often Lax). For stricter control, use PHP 7.3+ or set the cookie via a custom Set-Cookie header.