3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php var_dump(unserialize('a:5:{s:5:"width";i:540;s:6:"height";i:960;s:4:"file";s:41:"2015/01/custom_wallpaper1383799176834.jpg";s:5:"sizes";a:4:{s:9:"thumbnail";a:4:{s:4:"file";s:41:"custom_wallpaper1383799176834-150x150.jpg";s:5:"width";i:150;s:6:"height";i:150;s:9:"mime-type";s:10:"image/jpeg";}s:6:"medium";a:4:{s:4:"file";s:41:"custom_wallpaper1383799176834-169x300.jpg";s:5:"width";i:169;s:6:"height";i:300;s:9:"mime-type";s:10:"image/jpeg";}s:10:"book-cover";a:4:{s:4:"file";s:41:"custom_wallpaper1383799176834-180x236.jpg";s:5:"width";i:180;s:6:"height";i:236;s:9:"mime-type";s:10:"image/jpeg";}s:14:"post-thumbnail";a:4:{s:4:"file";s:41:"custom_wallpaper1383799176834-540x510.jpg";s:5:"width";i:540;s:6:"height";i:510;s:9:"mime-type";s:10:"image/jpeg";}}s:10:"image_meta";a:11:{s:8:"aperture";i:0;s:6:"credit";s:0:"";s:6:"camera";s:0:"";s:7:"caption";s:0:"";s:17:"created_timestamp";i:0;s:9:"copyright";s:0:"";s:12:"focal_length";i:0;s:3:"iso";i:0;s:13:"shutter_speed";i:0;s:5:"title";s:0:"";s:11:"orientation";i:0;}}'));
Output for 4.3.0 - 7.3.0beta1
array(5) { ["width"]=> int(540) ["height"]=> int(960) ["file"]=> string(41) "2015/01/custom_wallpaper1383799176834.jpg" ["sizes"]=> array(4) { ["thumbnail"]=> array(4) { ["file"]=> string(41) "custom_wallpaper1383799176834-150x150.jpg" ["width"]=> int(150) ["height"]=> int(150) ["mime-type"]=> string(10) "image/jpeg" } ["medium"]=> array(4) { ["file"]=> string(41) "custom_wallpaper1383799176834-169x300.jpg" ["width"]=> int(169) ["height"]=> int(300) ["mime-type"]=> string(10) "image/jpeg" } ["book-cover"]=> array(4) { ["file"]=> string(41) "custom_wallpaper1383799176834-180x236.jpg" ["width"]=> int(180) ["height"]=> int(236) ["mime-type"]=> string(10) "image/jpeg" } ["post-thumbnail"]=> array(4) { ["file"]=> string(41) "custom_wallpaper1383799176834-540x510.jpg" ["width"]=> int(540) ["height"]=> int(510) ["mime-type"]=> string(10) "image/jpeg" } } ["image_meta"]=> array(11) { ["aperture"]=> int(0) ["credit"]=> string(0) "" ["camera"]=> string(0) "" ["caption"]=> string(0) "" ["created_timestamp"]=> int(0) ["copyright"]=> string(0) "" ["focal_length"]=> int(0) ["iso"]=> int(0) ["shutter_speed"]=> int(0) ["title"]=> string(0) "" ["orientation"]=> int(0) } }