3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php session_start(); $alte_sessionid = session_id(); session_regenerate_id(true); $neue_sessionid = session_id(); echo "Alte Session: $alte_sessionid<br>"; echo "Neue Session: $neue_sessionid<br>"; print_r($_SESSION);
based on 8B6VP
Output for 7.2.0
Alte Session: 4e68beaf20bcac7dd4eb7769a14c2983<br>Neue Session: e836e52b37a52f1056d09fae30418161<br>Array ( )
Output for 7.1.10
Alte Session: 40fc718156d887dac9db7f753aa0583e<br>Neue Session: a98aed8fe82a4187bf0a0d8758e27592<br>Array ( )
Output for 7.1.7
Alte Session: 2b82e11c1f622fe25d4b1407a67e327b<br>Neue Session: 5335487679311f91f9c75876e3b69415<br>Array ( )
Output for 7.1.6
Alte Session: d1c1cf6a3e8bdaa65211c1f0411a2145<br>Neue Session: 936b5d3c848d318ea0cd34f4fc423234<br>Array ( )
Output for 7.1.5
Alte Session: 98769d945333337fcd8aae7e5046af9b<br>Neue Session: eb5ddf925f2d9672a61058431d14ba0f<br>Array ( )
Output for 7.1.0
Alte Session: 8c26e4a5ad83008ae7cacaacd5e73c0d<br>Neue Session: bdd8d8e7152014490039e50db5782997<br>Array ( )
Output for 7.0.20
Alte Session: 6c8a19a917dde7e9e6617b06e59bc96c<br>Neue Session: 19355fdd1d879bbb4d83432212603e8f<br>Array ( )
Output for 7.0.6
Alte Session: ae6e3ebfd0e7134b97caf40559e1d3e2<br>Neue Session: cc81b9447441ae7be6998872b7dba8b6<br>Array ( )
Output for 7.0.5
Alte Session: 353c0a7c967449862e9d6ef61d124be4<br>Neue Session: 51deba0d1c43bc067b3850ee3022f4ec<br>Array ( )
Output for 7.0.4
Alte Session: 141b243cefa26c6787766a9b5629aac4<br>Neue Session: b3200e1de5f23e577645bfc10ccbd741<br>Array ( )
Output for 7.0.3
Alte Session: 12a912e8f8b50923f501ef5da406188b<br>Neue Session: 92bcc054925d30036d198da2370d3569<br>Array ( )
Output for 7.0.2
Alte Session: c781a364ea669d26f0293d5e96337ead<br>Neue Session: 55dcb6d7b882600d390004f96e112360<br>Array ( )
Output for 7.0.1
Alte Session: 355121215520f88801d4904226a33f63<br>Neue Session: b6ab1fe4962eabe5f4e3ccfb2c6202de<br>Array ( )
Output for 7.0.0
Alte Session: 4b38cdd198309bf882149caa3e8597e8<br>Neue Session: a523b4f06d93306c1308172d8fcb917b<br>Array ( )
Output for 5.6.28
Alte Session: 360dbfb1dd2a9ef23a4f4cfa3dc2a63d<br>Neue Session: 91d8a60ff355966c6fc1ed8c3819e2ca<br>Array ( )
Output for 5.6.21
Alte Session: d116eb30ffd687d7f73856a2cfd713b7<br>Neue Session: a0de6cd5ca068dfcd4de93d11923b7cf<br>Array ( )
Output for 5.6.20
Alte Session: 97b31135b130428648df00f214789c4e<br>Neue Session: d49d335537417b28f61305bc12b8fc35<br>Array ( )
Output for 5.6.19
Alte Session: 78339dac1b4fc0cd101e85d22dd01576<br>Neue Session: 674f9b57b412f605719efb5b0eabfc69<br>Array ( )
Output for 5.6.18
Alte Session: c77bb7f0f68963e88f72a4af91b22f79<br>Neue Session: 9277f5fecf3392d9bee94e85a62b268a<br>Array ( )
Output for 5.6.17
Alte Session: b95c53efa57ca61905f1171dcfbdc6e0<br>Neue Session: 34ab7e20e6516cc547ba0d64655d72dc<br>Array ( )
Output for 5.6.16
Alte Session: 02ba49c3862f531d5d8138fa27ac2562<br>Neue Session: e0eaec7785467beeb6c90b6e247725ca<br>Array ( )
Output for 5.6.15
Alte Session: c632c704306e4533cb7712e5c273ab3b<br>Neue Session: 08610dff437a6d812d1991ac7bff4cd8<br>Array ( )
Output for 5.6.14
Alte Session: 6e4f387cb432a14714ad506a80bebf03<br>Neue Session: 85c8451bb9fba133a4c00190686e8256<br>Array ( )
Output for 5.6.13
Alte Session: b666ea9de428d6e0aea992c9c9cede38<br>Neue Session: 3218ac7575f55a062da09f87751cd879<br>Array ( )
Output for 5.6.12
Alte Session: 120ac7fe04c1bd18e2337ed40cd6ddff<br>Neue Session: a5b103f49bfb21f01fa626147ece8fb2<br>Array ( )
Output for 5.6.11
Alte Session: c08479ad159302bc2666e38b459191dd<br>Neue Session: b77003a0bb0ddaf2d6271fb2bb9ff21f<br>Array ( )
Output for 5.6.10
Alte Session: cb6eab338ce956ce03e65778ce99b3e0<br>Neue Session: fe9f048fc38bc2636b6c269572551e1f<br>Array ( )
Output for 5.6.9
Alte Session: ae51bb61f98979c91b0e64d9e9e1a3f7<br>Neue Session: 0ffe290fa1aed58afbf683e8cf17606a<br>Array ( )
Output for 5.6.8
Alte Session: 379c1fe04be838b248043060fb6ec219<br>Neue Session: cc68197b6085a4e94ff805452e5526fa<br>Array ( )
Output for 5.5.35
Alte Session: 8504246048cd8a32f9a03d34b62ba3f1<br>Neue Session: 470c1b980eb32a08b075f0799cb4efd8<br>Array ( )
Output for 5.5.34
Alte Session: 685903464a288fa002c63e4898a8ee09<br>Neue Session: 917a3f9b0b476caee2ff286d3f69d874<br>Array ( )
Output for 5.5.33
Alte Session: 5afdd151ca8e3d7fc5bf168a5fa38ae6<br>Neue Session: 22d50eed523e5eef521079390339e1ab<br>Array ( )
Output for 5.5.32
Alte Session: 898cc332d0870cc3566cbf10de1e560d<br>Neue Session: a73b586613256f5529658e2f62a79e76<br>Array ( )
Output for 5.5.31
Alte Session: ade1c5231493d0aa04c34d4de3f8dd41<br>Neue Session: a709abaf8203de204ba57f63bf8a5a92<br>Array ( )
Output for 5.5.30
Alte Session: 348f454d7d28d9aaccf04e5aa9a7767c<br>Neue Session: 4acc2c9d2f46fb75176dc99bc7d60405<br>Array ( )
Output for 5.5.29
Alte Session: 6e9463d1a48e0fdba74b2af14b10fce0<br>Neue Session: ab1321966f8592fee0d907bc6d7214ed<br>Array ( )
Output for 5.5.28
Alte Session: 7fd9374469170706c8a49fcb9c04deb2<br>Neue Session: 87574457154d7efc69975a83693796a0<br>Array ( )
Output for 5.5.27
Alte Session: 09ed728321c14dc9529f56652d6c3c15<br>Neue Session: a70fe3c4d7d61b252263aee1d81a3b3a<br>Array ( )
Output for 5.5.26
Alte Session: 7754edb4fa26f3e40bc4a3aac0718db9<br>Neue Session: 6ff688fbc88687560f2e3a41ff183d6f<br>Array ( )
Output for 5.5.25
Alte Session: 5713a03c0ae443775f6326f0d1ff919d<br>Neue Session: 7cafed8f1d0f33676f93bdce7f09e34b<br>Array ( )
Output for 5.5.24
Alte Session: ff826e60522288a9cf5007d5b446ea84<br>Neue Session: 986a6d720b9acf2333d5c0e8a5cc8656<br>Array ( )
Output for 5.4.45
Alte Session: b56927ad3efd687a653afa659d7b254f<br>Neue Session: c985b83a9acf3abab70a7a0f647c369a<br>Array ( )
Output for 5.4.44
Alte Session: 03215def9c27a8c486c5bcf03b140005<br>Neue Session: 23beec36c21b3791bb634808117416c4<br>Array ( )
Output for 5.4.43
Alte Session: 83bb7faa4a28b475442438c8db3af40e<br>Neue Session: 57c04cccb5a6c6b8df92d0a29840d914<br>Array ( )
Output for 5.4.42
Alte Session: def9ffa6fc282f5200f681f4fd36540f<br>Neue Session: 70eb050908538b7eebe8545b0a7b6937<br>Array ( )
Output for 5.4.41
Alte Session: 20b7ff4d204e75450d0eef370b9012e9<br>Neue Session: 26afca9adc984acc16fb5f1fb0769cc4<br>Array ( )
Output for 5.4.40
Alte Session: b538acacb44de5f757b65cfd0b27dde3<br>Neue Session: e45395337e96ce7f87dc72939f496748<br>Array ( )
Output for 5.4.39
Alte Session: 79b60d76edf74d041003cd76486cd8a8<br>Neue Session: f88958005d6d390c57ec7cba80f4a7a6<br>Array ( )
Output for 5.4.38
Alte Session: 1cbcf23e175c8a00bba4acda49763a3f<br>Neue Session: 0e6640cafb16a3109f15cc50eaad33a6<br>Array ( )
Output for 5.4.37
Alte Session: 7215ec4d803bb2a61da8ed323af02d84<br>Neue Session: 16b761b1fbda5441a2781a42da3423df<br>Array ( )
Output for 5.4.36
Alte Session: f7a274533f7de87d4cde82911f9be40f<br>Neue Session: 33cbe6f3bca66edc07d65bd83264c7ac<br>Array ( )
Output for 5.4.35
Alte Session: 1a2055b3b2863376789ec47af6b0c619<br>Neue Session: 5e2e61c1ebc96b572702d257412a7be4<br>Array ( )
Output for 5.4.34
Alte Session: 5836e0442af7dbb783e9734a0e959aee<br>Neue Session: 06d341b74254004e0233e2b2980d23cb<br>Array ( )
Output for 5.4.32
Alte Session: 04d87d7d0b6cdaa79780482d0ad5e31b<br>Neue Session: 3b343bbaf5798a1e035d0747fbef8970<br>Array ( )
Output for 5.4.31
Alte Session: 7f59082c1c9e7b96fea5f58157de3fcb<br>Neue Session: b548d32a5df513eaddada0ddb22cade8<br>Array ( )
Output for 5.4.30
Alte Session: 96578f8fea0655b14beb92f1d7feb426<br>Neue Session: 7422f28151b3efaa8063a2b6307a2b80<br>Array ( )
Output for 5.4.29
Alte Session: da180cddee57a8f3bb5aad90eda2abaf<br>Neue Session: 405f0beabead865e49668cb40da52230<br>Array ( )
Output for 5.4.28
Alte Session: 603dd1e9fb6aaee00df1d44dc52b2859<br>Neue Session: 1413ff82f4a770e60ab91194c7ffeda4<br>Array ( )
Output for 5.4.27
Alte Session: 62c2e7f9383d5e7fba800e6402bb5abf<br>Neue Session: 6fbda425a5a0669f1caa67a1a4c42453<br>Array ( )
Output for 5.4.26
Alte Session: d932f9ff6060c240ed626ced8ee6c2a8<br>Neue Session: 322ce17f800f213d4b280461867fdd83<br>Array ( )
Output for 5.4.25
Alte Session: b08c240820a8c6c03b80e830df746dd1<br>Neue Session: 9553850edeacb4d289ac39f3b977b0e0<br>Array ( )
Output for 5.4.24
Alte Session: 739e13295c66d321ea5e662ebce9af0d<br>Neue Session: 1055cc8da7bc88ebd4685d00f1b88128<br>Array ( )
Output for 5.4.23
Alte Session: d964550980e208455bc73a85d2bb7507<br>Neue Session: 640609238a864b21fa983a9fead9a927<br>Array ( )
Output for 5.4.22
Alte Session: 236d84ce085739ec5dc903d46dccf50f<br>Neue Session: 5cf626dc8f65294c002fd7c1f4c151c1<br>Array ( )
Output for 5.4.21
Alte Session: 87dd1a612a7d79e395c925270ccdc70b<br>Neue Session: 44374b05843025c0ded9127d65067821<br>Array ( )
Output for 5.4.20
Alte Session: 6ae3057cd16678de36d5a684b740df1f<br>Neue Session: 692464b304915bb883dfa309b3dc1e57<br>Array ( )
Output for 5.4.19
Alte Session: c8ee9228e54fe208ddfc2e8aa2253964<br>Neue Session: dc8b9918af4e474ee18480a8f3f19639<br>Array ( )
Output for 5.4.18
Alte Session: ccb9b71a09bdf7e44a0ccaf38b6ea7f9<br>Neue Session: 11c8ac2062b7ee6b3bc346febd0bb51a<br>Array ( )
Output for 5.4.17
Alte Session: c56e59732c0879ac3b6ff9a16b65b42b<br>Neue Session: 3ebae231e824acd95081b1b22a896a3c<br>Array ( )
Output for 5.4.16
Alte Session: de3f0299129d46f1011550807b2dd47d<br>Neue Session: a0549e6b341697d59c357391898d9b20<br>Array ( )
Output for 5.4.15
Alte Session: 460ddbc28c1e39a55b9f8ae3065396dd<br>Neue Session: 0d05cacb484f83c05bb2ca03886ad78e<br>Array ( )
Output for 5.4.14
Alte Session: 774623e32f9c9a3950001b871366ddbf<br>Neue Session: 93012a77f78a84bba7fee8b392503fc1<br>Array ( )
Output for 5.4.13
Alte Session: bd691fdd8ad80f589b3988121a00654a<br>Neue Session: f7cbb8c517ef69d843e5b6dcc367f958<br>Array ( )
Output for 5.4.12
Alte Session: 66f323aadafa96f8e606bbdc1d678530<br>Neue Session: 41cddba79d8126e8e0422b39195a2170<br>Array ( )
Output for 5.3.29
Alte Session: 7d02dce27a65e10dd8b5235bbacfe5fe<br>Neue Session: 315176704f9d04a7c224fdfd318b555f<br>Array ( )
Output for 5.3.28
Alte Session: fcd95163d00502504a9d831386c0ad8f<br>Neue Session: d1bf7cf62cea87d92799a59c71419709<br>Array ( )
Output for 5.3.27
Alte Session: de3ba9b7831479d162cdc8c1fb3d1e58<br>Neue Session: 2a40e6e24905d383b94832e0de98499b<br>Array ( )
Output for 5.3.26
Alte Session: 5a6c6e9e876da1815ec96d4eeeb66ee0<br>Neue Session: ac48e0b858825f9adbc989a89941bcb8<br>Array ( )
Output for 5.3.25
Alte Session: 5d502331dc67cbabb533dda64fa4b86e<br>Neue Session: b919085edc5fcf54cc97d521bb53a4f3<br>Array ( )
Output for 5.3.24
Alte Session: 6213d958faccb3ceb78000745f861cad<br>Neue Session: e802cfd26be3b62b21a52cc2c4ffd742<br>Array ( )
Output for 5.3.23
Alte Session: 5be1ed6e18dc068fdbf5770aaa2607ec<br>Neue Session: be42b717b0f67e1aaaa4880bddfec42c<br>Array ( )
Output for 5.3.22
Alte Session: bcb74744142e8752bc7998aa3566827d<br>Neue Session: c0aab12bb1d8c9e502c307137cf3cd9b<br>Array ( )