- json_decode: documentation ( source)
- print_r: documentation ( source)
- json_encode: documentation ( source)
- define: documentation ( source)
<?php
$array = json_encode(array('a'=>'lastname', 'b'=>'email', 'c'=>'phone'));
define('DEFAULT_ROLES', $array);
echo print_r(json_decode(DEFAULT_ROLES ),1);