3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $str = 'a:3:{s:4:"cols";i:1;s:4:"rows";a:1:{i:1;a:2:{s:3:"tot";i:2;s:7:"heading";a:2:{i:1;a:2:{s:6:"enable";s:2:"No";s:4:"text";s:1:"*";}i:2;a:2:{s:6:"enable";s:2:"No";s:4:"text";s:1:"*";}}}}s:4:"tabs";a:1:{i:1;a:2:{i:1;a:2:{s:3:"tot";i:6;s:7:"heading";a:6:{i:1;s:10:"Basic info";i:2;s:6:"Others";i:3;s:13:"Personal info";i:4;s:3:"Two";i:5;s:15:"Contact Numbers";i:6;s:18:"Referer & Provider";}}i:2;a:2:{s:3:"tot";i:5;s:7:"heading";a:5:{i:1;s:9:"Allow Imm";i:2;s:16:"Deceased details";i:3;s:5:"Hipaa";i:4;s:8:"Userlist";i:5;s:8:"Usertext";}}}}}'; echo unserialize($str);
Output for 5.4.0 - 7.1.0
Notice: Array to string conversion in /in/Ft0l0 on line 3 Array
Output for 4.3.0 - 5.3.29
Array