3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?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 4.3.0 - 5.6.28, hhvm-3.10.0 - 3.12.0, 7.0.0 - 7.1.0
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;}