3v4l.org

run code in 300+ PHP versions simultaneously
<?php var_dump( session_get_cookie_params(), ini_get_all('session', false), $_COOKIE );
Output for git.master, git.master_jit, rfc.property-hooks
array(6) { ["lifetime"]=> int(0) ["path"]=> string(1) "/" ["domain"]=> string(0) "" ["secure"]=> bool(false) ["httponly"]=> bool(false) ["samesite"]=> string(0) "" } array(30) { ["session.auto_start"]=> string(1) "0" ["session.cache_expire"]=> string(3) "180" ["session.cache_limiter"]=> string(7) "nocache" ["session.cookie_domain"]=> string(0) "" ["session.cookie_httponly"]=> string(1) "0" ["session.cookie_lifetime"]=> string(1) "0" ["session.cookie_path"]=> string(1) "/" ["session.cookie_samesite"]=> string(0) "" ["session.cookie_secure"]=> string(1) "0" ["session.gc_divisor"]=> string(3) "100" ["session.gc_maxlifetime"]=> string(4) "1440" ["session.gc_probability"]=> string(1) "1" ["session.lazy_write"]=> string(1) "1" ["session.name"]=> string(9) "PHPSESSID" ["session.referer_check"]=> string(0) "" ["session.save_handler"]=> string(5) "files" ["session.save_path"]=> string(0) "" ["session.serialize_handler"]=> string(3) "php" ["session.sid_bits_per_character"]=> string(1) "4" ["session.sid_length"]=> string(2) "32" ["session.upload_progress.cleanup"]=> string(1) "1" ["session.upload_progress.enabled"]=> string(1) "1" ["session.upload_progress.freq"]=> string(2) "1%" ["session.upload_progress.min_freq"]=> string(1) "1" ["session.upload_progress.name"]=> string(27) "PHP_SESSION_UPLOAD_PROGRESS" ["session.upload_progress.prefix"]=> string(16) "upload_progress_" ["session.use_cookies"]=> string(1) "1" ["session.use_only_cookies"]=> string(1) "1" ["session.use_strict_mode"]=> string(1) "0" ["session.use_trans_sid"]=> string(1) "0" } array(0) { }

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:
46.42 ms | 405 KiB | 8 Q