3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php var_dump(json_decode("O:31:\"Api\\Processor\\Jobs\\Import\\Image\":11:{s:7:\"\u0000*\u0000user\";s:3:\"273\";s:14:\"\u0000*\u0000static_host\";s:56:\"betteronvinyltesting-static.development.myshopblocks.com\";s:12:\"\u0000*\u0000admin_url\";s:63:\"https:\/\/betteronvinyltesting-admin.development.myshopblocks.com\";s:6:\"\u0000*\u0000url\";s:118:\"\/var\/www\/sites\/current\/processor.api.shopblocks.com\/storage\/app\/merchants\/270\/Images\/18152_153925096052fb7effd9e05.jpg\";s:8:\"\u0000*\u0000model\";s:8:\"products\";s:11:\"\u0000*\u0000model_id\";i:9;s:12:\"\u0000*\u0000reference\";s:33:\"#94e82f765efd96e5ff71e528e0703af6\";s:10:\"connection\";N;s:5:\"queue\";s:5:\"image\";s:5:\"delay\";N;s:6:\"\u0000*\u0000job\";N;}")); var_dump(unserialize("O:31:\"Api\\Processor\\Jobs\\Import\\Image\":11:{s:7:\"\u0000*\u0000user\";s:3:\"273\";s:14:\"\u0000*\u0000static_host\";s:56:\"betteronvinyltesting-static.development.myshopblocks.com\";s:12:\"\u0000*\u0000admin_url\";s:63:\"https:\/\/betteronvinyltesting-admin.development.myshopblocks.com\";s:6:\"\u0000*\u0000url\";s:118:\"\/var\/www\/sites\/current\/processor.api.shopblocks.com\/storage\/app\/merchants\/270\/Images\/18152_153925096052fb7effd9e05.jpg\";s:8:\"\u0000*\u0000model\";s:8:\"products\";s:11:\"\u0000*\u0000model_id\";i:9;s:12:\"\u0000*\u0000reference\";s:33:\"#94e82f765efd96e5ff71e528e0703af6\";s:10:\"connection\";N;s:5:\"queue\";s:5:\"image\";s:5:\"delay\";N;s:6:\"\u0000*\u0000job\";N;}"));
based on PVJlD
Output for 5.6.30, 7.0.30 - 7.3.0alpha1
NULL Notice: unserialize(): Error at offset 55 of 665 bytes in /in/XZZen on line 5 bool(false)
Output for hhvm-3.22.0
NULL Notice: Unable to unserialize: [O:31:"Api\Processor\Jobs\Import\Image":11:{s:7:"\u0000*\u0000user";s:3:"273";s:14:"\u0000*\u0000static_host";s:56:"betteronvinyltesting-static.development.myshopblocks.com";s:12:"\u0000*\u0000admin_url";s:63:"https:\/\/betteronvinyltesting-admin.development.myshopblocks.com";s:6:"\u0000*\u0000url";s:118:"\/var\/www\/sites\/current\/processor.api.shopblocks.com\/storage\/app\/merchants\/270\/Images\/18152_153925096052fb7effd9e05.jpg";s:8:"\u0000*\u0000model";s:8:"products";s:11:"\u0000*\u0000model_id";i:9;s:12:"\u0000*\u0000reference";s:33:"#94e82f765efd96e5ff71e528e0703af6";s:10:"connection";N;s:5:"queue";s:5:"image";s:5:"delay";N;s:6:"\u0000*\u0000job";N;}]. Expected '"' but got '\'. in /in/XZZen on line -1 bool(false)
Output for hhvm-3.18.5 - 3.21.3
NULL Notice: Unable to unserialize: [O:31:"Api\Processor\Jobs\Import\Image":11:{s:7:"\u0000*\u0000user";s:3:"273";s:14:"\u0000*\u0000static_host";s:56:"betteronvinyltesting-static.development.myshopblocks.com";s:12:"\u0000*\u0000admin_url";s:63:"https:\/\/betteronvinyltesting-admin.development.myshopblocks.com";s:6:"\u0000*\u0000url";s:118:"\/var\/www\/sites\/current\/processor.api.shopblocks.com\/storage\/app\/merchants\/270\/Images\/18152_153925096052fb7effd9e05.jpg";s:8:"\u0000*\u0000model";s:8:"products";s:11:"\u0000*\u0000model_id";i:9;s:12:"\u0000*\u0000reference";s:33:"#94e82f765efd96e5ff71e528e0703af6";s:10:"connection";N;s:5:"queue";s:5:"image";s:5:"delay";N;s:6:"\u0000*\u0000job";N;}]. Expected '"' but got '\'. in /in/XZZen on line 5 bool(false)