3v4l.org

run code in 300+ PHP versions simultaneously
<?php $string = 'a:7:{s:9:"from_name";s:10:"Massif DOR";s:10:"from_email";s:17:"dealer@massif.com";s:13:"admin_group_1";a:1:{i:0;s:26:"customerservice@massif.com";}s:13:"admin_group_2";a:2:{i:0;s:25:"amanda.voltmer@massif.com";i:1;s:25:"sarah.rehfeldt@massif.com";}s:25:"daily_report_target_email";s:22:"garnick.josh@gmail.com";s:26:"daily_report_schedule_time";s:8:"01:00:00";s:17:"send_daily_report";i:1;}'; $unserialized = unserialize($string); unset($unserialized["daily_report_target_email"]); unset($unserialized["daily_report_schedule_time"]); unset($unserialized["send_daily_report"]); var_dump($unserialized);
Output for git.master_jit, git.master
Warning: Module "Zend OPcache" is already loaded in Unknown on line 0 Warning: Zend OPcache: module registration failed! in Unknown on line 0 array(4) { ["from_name"]=> string(10) "Massif DOR" ["from_email"]=> string(17) "dealer@massif.com" ["admin_group_1"]=> array(1) { [0]=> string(26) "customerservice@massif.com" } ["admin_group_2"]=> array(2) { [0]=> string(25) "amanda.voltmer@massif.com" [1]=> string(25) "sarah.rehfeldt@massif.com" } }

This tab shows result from various feature-branches currently under review by the php developers. Contact me to have additional branches featured.

Active branches

Archived branches

Once feature-branches are merged or declined, they are no longer available. Their functionality (when merged) can be viewed from the main output page


preferences:
31.27 ms | 406 KiB | 5 Q