3v4l.org

run code in 300+ PHP versions simultaneously
<?php $array = array('lastname', 'email', 'phone'); define('DEFAULT_ROLES', implode (',' , $array)); echo explode(',' ,DEFAULT_ROLES ) [2];

preferences:
37.24 ms | 402 KiB | 5 Q