3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $str = 'a:7:{s:4:"size";s:4:"tiny";s:11:"folder_name";s:11:"user_images";s:13:"create_folder";s:2:"No";s:19:"permitted_file_type";s:16:"gif,png,jpg,jpeg";s:13:"max_file_size";s:4:"2048";s:24:"open_link_with_fancy_box";s:2:"No";s:14:"field_comments";s:0:"";}'; $str2 = 'a:8:{s:4:"size";s:4:"tiny";s:11:"folder_name";s:11:"user_module";s:13:"create_folder";s:2:"No";s:19:"permitted_file_type";s:16:"gif,png,jpg,jpeg";s:13:"max_file_size";s:4:"2048";s:24:"open_link_with_fancy_box";N;s:13:"image_capture";s:2:"No";s:14:"field_comments";s:0:"";}'; print_r(unserialize($str2));
Output for 4.3.0 - 7.1.0
Array ( [size] => tiny [folder_name] => user_module [create_folder] => No [permitted_file_type] => gif,png,jpg,jpeg [max_file_size] => 2048 [open_link_with_fancy_box] => [image_capture] => No [field_comments] => )