3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $array = implode(',',array('a'=>'lastname', 'b'=>'email', 'c'=>'phone')); define('DEFAULT_ROLES', $array); echo print_r(explode(',,' ,DEFAULT_ROLES ),1);
Output for 4.3.0 - 7.2.0
Array ( [0] => lastname,email,phone )