3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $participant_permissions = array( 'access eib', 'access upload statistics', 'access enterprise reporting', ); $eib_participant_permissions += _eib_profile_get_common_field_permissions(); var_dump(eib_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 7.0.0 - 7.1.0
Notice: Undefined variable: eib_participant_permissions in /in/UeV17 on line 8 Fatal error: Uncaught Error: Unsupported operand types in /in/UeV17:8 Stack trace: #0 {main} thrown in /in/UeV17 on line 8
Process exited with code 255.
Output for 5.0.4 - 5.6.28
Notice: Undefined variable: eib_participant_permissions in /in/UeV17 on line 8 Fatal error: Unsupported operand types in /in/UeV17 on line 8
Process exited with code 255.
Output for 4.3.2 - 5.0.3
Notice: Undefined variable: eib_participant_permissions in /in/UeV17 on line 8 Fatal error: Unsupported operand types in /in/UeV17 on line 8
Process exited with code 255.
Output for 4.3.0 - 4.3.1
Notice: Undefined variable: eib_participant_permissions in /in/UeV17 on line 8 Fatal error: Unsupported operand types in /in/UeV17 on line 8