3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php session_start(); $alte_sessionid = session_id(); session_regenerate_id(); $neue_sessionid = session_id(); echo "Alte Session: $alte_sessionid<br>"; echo "Neue Session: $neue_sessionid<br>"; print_r($_SESSION);
Output for 7.2.0
Alte Session: 4760cf6bb8e0e3c0556e18355cbc9e4b<br>Neue Session: 4e652eec28fea529d4acbac9fc4c1711<br>Array ( )
Output for 7.1.10
Alte Session: 91c06f98f683b6ef4e02280c98777c3e<br>Neue Session: 1c311a77fc63a8424b196c6a5f2e5cda<br>Array ( )
Output for 7.1.7
Alte Session: 0fbff8cc8a6d782513761640d04d24aa<br>Neue Session: 6eca8acd1288ab421a07e21ba27456e6<br>Array ( )
Output for 7.1.6
Alte Session: f2ae4a85826006657a7a2fd0910aa25e<br>Neue Session: 9a7eceacdb407d20f19799b6dcc04cac<br>Array ( )
Output for 7.1.5
Alte Session: 028cb3d8d0f527958fe0910c1b1d41d8<br>Neue Session: c21fe3a472535328b7371f97c219e1da<br>Array ( )
Output for 7.1.0
Alte Session: a64185ef425c2211353d026eab09f89b<br>Neue Session: 0419c9784aeebe64a833059813cc0e0a<br>Array ( )
Output for 7.0.20
Alte Session: 20f87e7caf117452bbca5c3430f694cd<br>Neue Session: 830341b5b848651011666a9687a2ba52<br>Array ( )
Output for 7.0.6
Alte Session: b74d6c83d914221f39ee4a4eac0ba693<br>Neue Session: b8c0ba53c878911e49fbfbc3b70f3973<br>Array ( )
Output for 7.0.5
Alte Session: bbb7c4cf2520d46c830b07869c72b129<br>Neue Session: 6347a7d85f3a22ff4efe91bb256aeb19<br>Array ( )
Output for 7.0.4
Alte Session: 2563f2a035a18433347e4de1d6d34a1c<br>Neue Session: 4da23db4575480b1e15c6fe6594dd324<br>Array ( )
Output for 7.0.3
Alte Session: 1e4028caa60ccfc60873895d8ca4f7a2<br>Neue Session: a5698277967a347cc69658a62657a5ac<br>Array ( )
Output for 7.0.2
Alte Session: 2ebee6b661b66bd138a41ed6ce65fae8<br>Neue Session: a6cb6b2521d6e5e820485a1999075e7c<br>Array ( )
Output for 7.0.1
Alte Session: daed5c07af85cd12e7e151925725bc92<br>Neue Session: 04e1bfe9dcb9db53016533f1b3b32a5e<br>Array ( )
Output for 7.0.0
Alte Session: 094ca4b3c042899de669b161bf4dc3b0<br>Neue Session: 49103c15a137b23e08d82bb5c5ff728e<br>Array ( )
Output for 5.6.28
Alte Session: 0461ae5af5fb6dcc92a86165fc730acc<br>Neue Session: d98c81dbc47976181372f5af3fbfdeee<br>Array ( )
Output for 5.6.21
Alte Session: f774cc23cf30d482dcaccd926c319281<br>Neue Session: 07cc18f0690cfed999e336a69ec391cb<br>Array ( )
Output for 5.6.20
Alte Session: 70e2c50de889b5cf05514dac931ee9ea<br>Neue Session: acd8a3a5c62bf4facb96b6123a27c0b7<br>Array ( )
Output for 5.6.19
Alte Session: 7e981a9e538a948482e9eab365cef1dc<br>Neue Session: 43f2dc4b53913a2232e0d3b83cfbe9f8<br>Array ( )
Output for 5.6.18
Alte Session: 02d152d129d9cc11d47e6ab38f04bc64<br>Neue Session: fbf721b0e767d503ede0c9f2d14c4376<br>Array ( )
Output for 5.6.17
Alte Session: ccc792a52656394b6e93bc7a2c66aba7<br>Neue Session: 968abe97b8198e728983f1c3a7c4c781<br>Array ( )
Output for 5.6.16
Alte Session: ec26a95380745a5e6b84b24ec45037fe<br>Neue Session: b738072c803bb2e8d54ebcabed7f9f1b<br>Array ( )
Output for 5.6.15
Alte Session: ea9a7b19a6243a2f6c2036b006e9c10d<br>Neue Session: 5771f8d6034508c63597391729849e5b<br>Array ( )
Output for 5.6.14
Alte Session: 2786a651357afeb51c26c219caf32f57<br>Neue Session: bf172a2f362e837b49bbe3dc5c92d806<br>Array ( )
Output for 5.6.13
Alte Session: f9cee399b2e633b7fd42e2acf0f29fbc<br>Neue Session: f86c2dfe250d71c83b18d0cbab25e1fe<br>Array ( )
Output for 5.6.12
Alte Session: 370305662f949b8181a86469af1464f3<br>Neue Session: 190cf67191f0d152848e14972268afe0<br>Array ( )
Output for 5.6.11
Alte Session: 459d20eec1e0ce17aae9aa881ea3bb04<br>Neue Session: 4de9f286432c6743bdaa27a8a12176d7<br>Array ( )
Output for 5.6.10
Alte Session: cb4eefdc0e428bc719012c431a7f2b5f<br>Neue Session: f6ea83514b79484fa806ffd3d73bff12<br>Array ( )
Output for 5.6.9
Alte Session: 4ff680c24565017f576af9e5ee844f97<br>Neue Session: 5d3895b5e412ebd16e4abcad164d14e0<br>Array ( )
Output for 5.6.8
Alte Session: 4a9333273af496bac8534dcfa8501d0b<br>Neue Session: 27fc931a8fbf987dfc0f6cafd56f497b<br>Array ( )
Output for 5.5.35
Alte Session: 311871d21eae9b0928a74887148f3370<br>Neue Session: 5570651725e91ba1bd01710cf8e77d78<br>Array ( )
Output for 5.5.34
Alte Session: 94085088c71296ce2dcf9e456fc00d28<br>Neue Session: 029ff567d63ba8adfadfed0ea581a6b6<br>Array ( )
Output for 5.5.33
Alte Session: ced8e990a5bf760a6b75bfde60e4e6e6<br>Neue Session: 86f40c52dcc55a42886fd8637b9fd2d9<br>Array ( )
Output for 5.5.32
Alte Session: 0185aa20f331d726f96ab3da19974c2b<br>Neue Session: e88b14821cbe487c7e7a8d86345a0cc1<br>Array ( )
Output for 5.5.31
Alte Session: d89c8f0c07da3141746baec151912607<br>Neue Session: 0f23a2fdcd1e277c668c0efceca2c47e<br>Array ( )
Output for 5.5.30
Alte Session: 94413a0c9a8b70c40be09f692b74b3c2<br>Neue Session: c49cda25002feb78d1c513c4fec98c36<br>Array ( )
Output for 5.5.29
Alte Session: eadca445f5ee6019260a90323fc79e6f<br>Neue Session: 895045900dcd18ec61d0e581a1d831fe<br>Array ( )
Output for 5.5.28
Alte Session: c2caf13d0aca9333fe0cd35663d6594a<br>Neue Session: fd7236ac8a688fcfeb15c5aa45cf70b6<br>Array ( )
Output for 5.5.27
Alte Session: c071d0dac8b051c3f233a4f486177339<br>Neue Session: dbd817d168dced10e09ad2910356415b<br>Array ( )
Output for 5.5.26
Alte Session: b3f646dd90eb5ee2549af2e397fe6e27<br>Neue Session: d986827515775e78166dc532daa42aed<br>Array ( )
Output for 5.5.25
Alte Session: 01409e9a4a56ca907d2e662f3a74e422<br>Neue Session: 4cebf8b5dc7c68f6fc6eff9379f96005<br>Array ( )
Output for 5.5.24
Alte Session: df36874f6f522ba01f254f5c44835fc0<br>Neue Session: 7c15fe2ed713ce98f6bca2b38dc12cc7<br>Array ( )
Output for 5.4.45
Alte Session: 4244e4776cb49aa42881cfda5023088f<br>Neue Session: 31a02ae33d1b10d741a26220d67265d5<br>Array ( )
Output for 5.4.44
Alte Session: b066dc63b8c9d55326348f50472ed90b<br>Neue Session: f79dc3688bf558f78adc5bd313f1630d<br>Array ( )
Output for 5.4.43
Alte Session: a3753b0c85a1293ab6c19d0953bf1164<br>Neue Session: f1be610b6f0af39b0ff3419511d80d79<br>Array ( )
Output for 5.4.42
Alte Session: d71299e397880c892b856ff1bd752559<br>Neue Session: a752a14d3c4f5daeba99725060f70c00<br>Array ( )
Output for 5.4.41
Alte Session: a562088a875ed4c3428569b23f27c075<br>Neue Session: c87e64a37197a113295e0a383ccec987<br>Array ( )
Output for 5.4.40
Alte Session: 28f1cc5ab48d241a8e5eb602a12c97dc<br>Neue Session: efffadd01a54c0ec71c6dab74ba501eb<br>Array ( )
Output for 5.4.39
Alte Session: 21a16bfb9c0b455ae1bea6362b32247d<br>Neue Session: 4061b1d97a12f27d78957830db6232b9<br>Array ( )
Output for 5.4.38
Alte Session: 62fa8fd6d9e7607983507cac30e7b5a2<br>Neue Session: 06fb8617a3b471a3ab80534d56a01b87<br>Array ( )
Output for 5.4.37
Alte Session: dc179c9b71f5ef434e111691164708af<br>Neue Session: 476e612f37bcfa201b13a56ad4fcd164<br>Array ( )
Output for 5.4.36
Alte Session: 8a9bca03f9e509f789dbfea4a40eb34c<br>Neue Session: 309554006dfc484b0e8c56c64fc92db6<br>Array ( )
Output for 5.4.35
Alte Session: c1390be4cccddfa29dba3069a0b76875<br>Neue Session: 6f664a9b49937afba0e46d7e5f44a76b<br>Array ( )
Output for 5.4.34
Alte Session: 3fd0204bab521851df9006f7dcb98e9b<br>Neue Session: 8ad1ff8e61eaf9eb86822e5485894e4e<br>Array ( )
Output for 5.4.32
Alte Session: bda38a31ac0ecb0768a1be4e6301225c<br>Neue Session: 6d470cf598606b0cba1aa14b2b956147<br>Array ( )
Output for 5.4.31
Alte Session: ec2955f26ec38481c82381ad56b791f7<br>Neue Session: c00986788dc813b9d9fed2f64ccda497<br>Array ( )
Output for 5.4.30
Alte Session: f7cf9b0d05260f85decd1e0b96fa971e<br>Neue Session: 9f5485d402da99880fd45d3c0dd5fc53<br>Array ( )
Output for 5.4.29
Alte Session: 46fa6287fe24edbf31632a41b01bcc4b<br>Neue Session: f0a20ab15850286fef2c465383daa0a7<br>Array ( )
Output for 5.4.28
Alte Session: 8b5b0d0717dfb75160dfb583801cd849<br>Neue Session: e5470682da689dff173eb0cb02b69896<br>Array ( )
Output for 5.4.27
Alte Session: 12fb40b85de6ccda3cb822042df899a5<br>Neue Session: 091e8b111ae85cf9771f0e90b232dbfa<br>Array ( )
Output for 5.4.26
Alte Session: 69883273bd2dd06580f7a2f2548c151c<br>Neue Session: 2472ee65969f7b54577fda34dd74fee8<br>Array ( )
Output for 5.4.25
Alte Session: 316f571d7d4094e1b3c172fa9f6e7966<br>Neue Session: 90ff8c6a9866eb2c77a39e30ef856820<br>Array ( )
Output for 5.4.24
Alte Session: 50445442b6455bcdb650d3853e79ec46<br>Neue Session: cce448f5297450451ccb9dfad395ee8d<br>Array ( )
Output for 5.4.23
Alte Session: fd6c5e3c4450a18d17d9c07ddfbd9a7a<br>Neue Session: 5da7aba8cb3e6ca302bfc92575a4849a<br>Array ( )
Output for 5.4.22
Alte Session: 135c25e4aacc5c512a5814c9f6ee06fb<br>Neue Session: d7b82e48f9d701110f3f796111ee20c9<br>Array ( )
Output for 5.4.21
Alte Session: bf5cf9a44812f9cc465c205d1db8e447<br>Neue Session: 2ed62df9f7fd06401b9cd6d31f2f9be4<br>Array ( )
Output for 5.4.20
Alte Session: e354ceff6dd850c8d7d21d494f74aeff<br>Neue Session: 93f854eb6bc2be877c250900cb5ec421<br>Array ( )
Output for 5.4.19
Alte Session: f9a4605ed56e26e154cb2a1da3ccf150<br>Neue Session: dcf763d907710c404123aaae44cb17b8<br>Array ( )
Output for 5.4.18
Alte Session: 8c023cff479d0a39058b7ef49ca7eeda<br>Neue Session: 8851384a6ece9949e582de8b86526ec3<br>Array ( )
Output for 5.4.17
Alte Session: 28efc41849c164aa07db1f0851c46b7a<br>Neue Session: aa5fc085f5ef30cb9c8f9166a101048f<br>Array ( )
Output for 5.4.16
Alte Session: d37b2e4e1f9c00bbd16c1299b02acf8c<br>Neue Session: cb17a1509f2ac9b0d5a7bcc867a38723<br>Array ( )
Output for 5.4.15
Alte Session: 2c3314e28b4a3e1e51bd88fed0c11eac<br>Neue Session: 7c45685738ead81bd493fda680c5394a<br>Array ( )
Output for 5.4.14
Alte Session: a4562b07d0a0c0cb007641f66c323712<br>Neue Session: c9aeb536489fcc3b4025eacfb16e6fe3<br>Array ( )
Output for 5.4.13
Alte Session: 4c787c695a0a47b69c32968164a01481<br>Neue Session: 335d460643fd95ae3a44f8d5790ab1e9<br>Array ( )
Output for 5.4.12
Alte Session: 11ef1f02084283982f8c04bb21ce1d9e<br>Neue Session: 08f57017bfef27f4627fc0004c09e232<br>Array ( )
Output for 5.3.29
Alte Session: 18ad9220fecab269eef5f932e387979b<br>Neue Session: ac91085d7a15f794feaf6f4a45fbf54b<br>Array ( )
Output for 5.3.28
Alte Session: 0a51b3c1300ee0e2efee3e4247640d7f<br>Neue Session: ffa0e2e7422dca67cdd1fc391f32320c<br>Array ( )
Output for 5.3.27
Alte Session: 1854df2d11ca759428b3bb446eb51e26<br>Neue Session: 6502fb2e55522becf6a885721b124eaf<br>Array ( )
Output for 5.3.26
Alte Session: 7cce5059e4c64bbcd515df6790731ffd<br>Neue Session: 05ce89e52c9b6b3f9fed76096cefea22<br>Array ( )
Output for 5.3.25
Alte Session: 106851d630fc44497adfe11da1cfe250<br>Neue Session: 3ee1599f60892dd05e3ace5490282e44<br>Array ( )
Output for 5.3.24
Alte Session: fb8dc3eaafe838f512f6f2c832bf7ebd<br>Neue Session: 1f64e152ff1537dbaf61bae35eefb011<br>Array ( )
Output for 5.3.23
Alte Session: 63b9b07c4590fbb80e094ac655114609<br>Neue Session: 823c2971089848081298d7a0717bdaa9<br>Array ( )
Output for 5.3.22
Alte Session: bbcb652253f8e14b482d7e179fb1a614<br>Neue Session: 782fe3d9b0efef240e36c69513e9c5d2<br>Array ( )