3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $participant_permissions = array( 'access eib', 'access upload statistics', 'access enterprise reporting', ); $participant_permissions += _eib_profile_get_common_field_permissions(); var_dump($participant_permissions); function _eib_profile_get_common_field_permissions() { return array( // Field permissions for Supply Chains: 'create field_barcode_type', 'view own field_barcode_type', ); }
Output for 4.3.0 - 7.1.0
array(3) { [0]=> string(10) "access eib" [1]=> string(24) "access upload statistics" [2]=> string(27) "access enterprise reporting" }