3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php //print_r(unserialize('a:2:{s:4:"cols";i:1;s:4:"rows";a:1:{i:1;a:1:{s:3:"tot";i:1;}}}')); print_r(unserialize('a:9:{s:5:"field";s:15:"c_category_name";s:5:"order";s:3:"ASC";s:9:"headerPre";s:7:"header1";s:10:"headerPost";s:7:"header1";s:12:"headerTotPre";s:7:"totalg1";s:13:"headerTotPost";s:8:"totalg12";s:6:"column";s:3:"Yes";s:7:"summary";s:3:"Yes";s:8:"collapse";s:2:"No";}')); print_r(unserialize('a:4:{s:4:"oper";s:5:"count";s:9:"textPrime";s:12:"groupsummary";s:7:"textPre";s:2:"g1";s:8:"textPost";s:2:"gn";}'));
Output for 4.3.0 - 7.1.0
Array ( [field] => c_category_name [order] => ASC [headerPre] => header1 [headerPost] => header1 [headerTotPre] => totalg1 [headerTotPost] => totalg12 [column] => Yes [summary] => Yes [collapse] => No ) Array ( [oper] => count [textPrime] => groupsummary [textPre] => g1 [textPost] => gn )