3v4l.org

run code in 300+ PHP versions simultaneously
<?php $var = unserialize('a:16:{s:10:"session_id";s:32:"e1254af27e499ef6c6ce63eec628dc1a";s:10:"ip_address";s:13:"119.93.91.129";s:10:"user_agent";s:72:"Mozilla/5.0+(Windows+NT+6.1;+WOW64;+rv:27.0)+Gecko/20100101+Firefox/27.0";s:13:"last_activity";i:1392832793;s:9:"user_data";s:0:"";s:8:"identity";s:24:"Gerrick@truelogic.com.ph";s:8:"username";s:24:"gerrick+reuben+villarama";s:4:"name";s:24:"Gerrick+Reuben+Villarama";s:9:"dashboard";s:7:"default";s:5:"email";s:24:"Gerrick@truelogic.com.ph";s:7:"user_id";s:3:"186";s:14:"old_last_login";s:10:"1392821173";s:10:"s-prof-pic";b:0;s:10:"m-prof-pic";s:64:"http://www.placehold.it/267x200/368EE0/FFFFFF&text=Profile+Image";s:10:"l-prof-pic";s:64:"http://www.placehold.it/267x200/368EE0/FFFFFF&text=Profile+Image";s:13:"is_allowed_ip";b:1;}d8cceeaf73dcc3fb1e7a6b549e3c3ff7'); $var['identity'] = 'Rommel@truelogic.com.ph'; $var['username'] = 'rommel+gutierrez'; $var['name'] = 'Rommel Gutierrez'; $var['email'] = 'Rommel@truelogic.com.ph'; echo serialize($var);
Output for 8.3.0 - 8.3.13
Warning: unserialize(): Extra data starting at offset 761 of 793 bytes in /in/alq3e on line 3 a:16:{s:10:"session_id";s:32:"e1254af27e499ef6c6ce63eec628dc1a";s:10:"ip_address";s:13:"119.93.91.129";s:10:"user_agent";s:72:"Mozilla/5.0+(Windows+NT+6.1;+WOW64;+rv:27.0)+Gecko/20100101+Firefox/27.0";s:13:"last_activity";i:1392832793;s:9:"user_data";s:0:"";s:8:"identity";s:23:"Rommel@truelogic.com.ph";s:8:"username";s:16:"rommel+gutierrez";s:4:"name";s:16:"Rommel Gutierrez";s:9:"dashboard";s:7:"default";s:5:"email";s:23:"Rommel@truelogic.com.ph";s:7:"user_id";s:3:"186";s:14:"old_last_login";s:10:"1392821173";s:10:"s-prof-pic";b:0;s:10:"m-prof-pic";s:64:"http://www.placehold.it/267x200/368EE0/FFFFFF&text=Profile+Image";s:10:"l-prof-pic";s:64:"http://www.placehold.it/267x200/368EE0/FFFFFF&text=Profile+Image";s:13:"is_allowed_ip";b:1;}
Output for 4.3.0 - 4.3.11, 4.4.0 - 4.4.9, 5.0.0 - 5.0.5, 5.1.0 - 5.1.6, 5.2.0 - 5.2.17, 5.3.0 - 5.3.29, 5.4.0 - 5.4.45, 5.5.24 - 5.5.35, 5.6.7 - 5.6.28, 7.0.0 - 7.0.20, 7.1.0 - 7.1.25, 7.2.0 - 7.2.33, 7.3.0 - 7.3.33, 7.4.0 - 7.4.33, 8.0.0 - 8.0.30, 8.1.0 - 8.1.30, 8.2.0 - 8.2.25
a:16:{s:10:"session_id";s:32:"e1254af27e499ef6c6ce63eec628dc1a";s:10:"ip_address";s:13:"119.93.91.129";s:10:"user_agent";s:72:"Mozilla/5.0+(Windows+NT+6.1;+WOW64;+rv:27.0)+Gecko/20100101+Firefox/27.0";s:13:"last_activity";i:1392832793;s:9:"user_data";s:0:"";s:8:"identity";s:23:"Rommel@truelogic.com.ph";s:8:"username";s:16:"rommel+gutierrez";s:4:"name";s:16:"Rommel Gutierrez";s:9:"dashboard";s:7:"default";s:5:"email";s:23:"Rommel@truelogic.com.ph";s:7:"user_id";s:3:"186";s:14:"old_last_login";s:10:"1392821173";s:10:"s-prof-pic";b:0;s:10:"m-prof-pic";s:64:"http://www.placehold.it/267x200/368EE0/FFFFFF&text=Profile+Image";s:10:"l-prof-pic";s:64:"http://www.placehold.it/267x200/368EE0/FFFFFF&text=Profile+Image";s:13:"is_allowed_ip";b:1;}

preferences:
71.25 ms | 414 KiB | 5 Q