3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $o = unserialize('a:7:{s:8:"activity";i:4;s:7:"members";i:5;s:8:"register";i:6;s:8:"activate";i:7;s:7:"ranking";i:29;s:6:"venues";i:30;s:12:"achievements";i:31;}'); $o['leagues'] = 105; echo serialize($o);
Output for 4.3.0 - 5.6.28, hhvm-3.10.0 - 3.12.0, 7.0.0 - 7.1.0
a:8:{s:8:"activity";i:4;s:7:"members";i:5;s:8:"register";i:6;s:8:"activate";i:7;s:7:"ranking";i:29;s:6:"venues";i:30;s:12:"achievements";i:31;s:7:"leagues";i:105;}