3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php print_r(unserialize('a:9:{s:9:"alignment";s:0:"";s:7:"caption";s:18:"Enter caption here";s:16:"captionAlignment";s:0:"";s:4:"text";s:18:"This is test image";s:10:"hasCaption";b:0;s:4:"link";s:0:"";s:5:"title";s:0:"";s:15:"alternativeText";s:0:"";s:5:"image";O:37:"TYPO3\Media\Domain\Model\ImageVariant":3:{s:16:"�*�originalImage";O:30:"TYPO3\Media\Domain\Model\Image":10:{s:32:"�*�Persistence_Object_Identifier";s:36:"23e5b5e5-8998-ed3c-2276-0b0bc4fa76e8";s:8:"�*�width";i:2592;s:9:"�*�height";i:1944;s:7:"�*�type";i:2;s:16:"�*�imageVariants";a:0:{}s:15:"�*�lastModified";O:8:"DateTime":3:{s:4:"date";s:19:"2013-07-02 11:30:32";s:13:"timezone_type";i:3;s:8:"timezone";s:12:"Asia/Kolkata";}s:8:"�*�title";s:0:"";s:10:"�*�caption";s:0:"";s:32:"Flow_Persistence_RelatedEntities";a:1:{s:8:"resource";a:3:{s:12:"propertyName";s:8:"resource";s:10:"entityType";s:28:"TYPO3\Flow\Resource\Resource";s:10:"identifier";s:36:"7d3989d8-9be9-8caf-7c36-f34fd5878cc5";}}s:7:"�*�tags";O:33:"Doctrine\ORM\PersistentCollection":2:{s:39:"�Doctrine\ORM\PersistentCollection�coll";O:43:"Doctrine\Common\Collections\ArrayCollection":1:{s:54:"�Doctrine\Common\Collections\ArrayCollection�_elements";a:0:{}}s:46:"�Doctrine\ORM\PersistentCollection�initialized";b:1;}}s:25:"�*�processingInstructions";a:2:{i:0;a:2:{s:7:"command";s:4:"crop";s:7:"options";a:2:{s:5:"start";a:2:{s:1:"x";i:0;s:1:"y";i:0;}s:4:"size";a:2:{s:5:"width";i:2592;s:6:"height";i:1944;}}}i:1;a:2:{s:7:"command";s:6:"resize";s:7:"options";a:1:{s:4:"size";a:2:{s:5:"width";s:3:"500";s:6:"height";i:375;}}}}s:8:"�*�alias";N;}}'));
Output for 4.3.10, 5.0.3, 5.3.0 - 7.1.0
Notice: unserialize(): Error at offset 307 of 1607 bytes in /in/0BdJt on line 3
Output for 4.3.11 - 4.4.9, 5.0.4 - 5.2.17
Notice: unserialize(): Error at offset 248 of 1607 bytes in /in/0BdJt on line 3
Output for 4.3.2 - 4.3.9, 5.0.0 - 5.0.2
Notice: unserialize(): Error at offset 309 of 1607 bytes in /in/0BdJt on line 3
Output for 4.3.0 - 4.3.1
Notice: unserialize() [http://www.php.net/function.unserialize]: Error at offset 309 of 1607 bytes in /in/0BdJt on line 3