3v4l.org

run code in 300+ PHP versions simultaneously
<?php namespace Catalogue\Constante;use Commun\Constante\Impl\OngletConstanteTrait;use Commun\Constante\IOngletConstante;/** * Classe ConstanteOngletUe * * Projet : Instm Ent 2013-2015 * Fichier créé par pierre-anthime.haras le 16/06/14 à 11:23 * * @copyright Copyright © Institut Mines Télécom 2013-2015, All Rights Reserved * @author ALYOTECH * @package Catalogue\Constante */class ConstanteOngletUe implements IOngletConstante{ use OngletConstanteTrait { OngletConstanteTrait::getTabOnglets insteadof ConstanteOngletUe; } /** @const le numero de l'onglet info_gen */ const NUMBER_INFO_GEN = 1; /** @const le numero de l'onglet descriptif */ const NUMBER_DESCRIPTIF = 2; /** @const le numero de l'onglet organisation */ const NUMBER_ORGANISATION = 3; /** @const le numero de l'onglet pré-requis */ const NUMBER_PRE_REQUIS = 4; /** @const le numero de l'onglet acquisition */ const NUMBER_ACQUISITION = 5; /** @const le numero de l'onglet gestion interne */ const NUMBER_GESTION_INT = 6; /** @const le numero de l'onglet occurrences */ const NUMBER_OCCURRENCES = 7; /** * @var array le tableau des onglets de la fiche diplome */ private static $tabOnglets = array( self::NUMBER_INFO_GEN => array( self::ATTRIBUT_NAME => 'InformationsGenerales', self::ATTRIBUT_LIBELLE => 'Informations générales', self::ATTRIBUT_ACTION => 'informations-generales', self::ATTRIBUT_ROUTE_NAME => 'catalogue-ue-tab-info-gen' ), self::NUMBER_DESCRIPTIF => array( self::ATTRIBUT_NAME => 'DescriptifEtProgramme', self::ATTRIBUT_LIBELLE => 'Descriptif et programme', self::ATTRIBUT_ACTION => 'descriptif-et-programme', self::ATTRIBUT_ROUTE_NAME => 'catalogue-ue-tab-desc-et-prog' ), self::NUMBER_ORGANISATION => array( self::ATTRIBUT_NAME => 'Organisation', self::ATTRIBUT_LIBELLE => 'Organisation', self::ATTRIBUT_ACTION => 'organisation', self::ATTRIBUT_ROUTE_NAME => 'catalogue-ue-tab-organisation' ), self::NUMBER_PRE_REQUIS => array( self::ATTRIBUT_NAME => 'PreRequis', self::ATTRIBUT_LIBELLE => 'Pré-requis', self::ATTRIBUT_ACTION => 'pre-requis', self::ATTRIBUT_ROUTE_NAME => 'catalogue-ue-tab-pre-requis' ), self::NUMBER_ACQUISITION => array( self::ATTRIBUT_NAME => 'Acquisition', self::ATTRIBUT_LIBELLE => 'Acquisition', self::ATTRIBUT_ACTION => 'acquisition', self::ATTRIBUT_ROUTE_NAME => 'catalogue-ue-tab-acquisition' ), self::NUMBER_GESTION_INT => array( self::ATTRIBUT_NAME => 'GestionInterne', self::ATTRIBUT_LIBELLE => 'Gestion interne', self::ATTRIBUT_ACTION => 'gestion-interne', self::ATTRIBUT_ROUTE_NAME => 'catalogue-ue-tab-gestion-interne' ), self::NUMBER_OCCURRENCES => array( self::ATTRIBUT_NAME => 'Occurrences', self::ATTRIBUT_LIBELLE => 'Occurrences', self::ATTRIBUT_ACTION => 'occurrences', self::ATTRIBUT_ROUTE_NAME => 'catalogue-ue-tab-occurrences' ) ); /** * @return array */ public static function getTabOnglets() { return self::$tabOnglets; }}
Output for 8.1.0 - 8.1.28, 8.2.0 - 8.2.18, 8.3.0 - 8.3.7
Fatal error: Trait "Commun\Constante\Impl\OngletConstanteTrait" not found in /in/edZ8H on line 2
Process exited with code 255.
Output for 8.0.0 - 8.0.30
Fatal error: Uncaught Error: Interface "Commun\Constante\IOngletConstante" not found in /in/edZ8H:2 Stack trace: #0 {main} thrown in /in/edZ8H on line 2
Process exited with code 255.
Output for 7.4.0 - 7.4.33
Fatal error: Uncaught Error: Interface 'Commun\Constante\IOngletConstante' not found in /in/edZ8H:2 Stack trace: #0 {main} thrown in /in/edZ8H on line 2
Process exited with code 255.
Output for 7.0.6 - 7.0.20, 7.1.0 - 7.1.20, 7.2.0 - 7.2.33, 7.3.16 - 7.3.33
Fatal error: Trait 'Commun\Constante\Impl\OngletConstanteTrait' not found in /in/edZ8H on line 2
Process exited with code 255.
Output for 5.4.0 - 5.4.45, 5.5.24 - 5.5.35, 5.6.8 - 5.6.28, 7.0.0 - 7.0.5
Fatal error: Interface 'Commun\Constante\IOngletConstante' not found in /in/edZ8H on line 2
Process exited with code 255.
Output for 5.3.0 - 5.3.29
Parse error: syntax error, unexpected T_USE, expecting T_FUNCTION in /in/edZ8H on line 2
Process exited with code 255.
Output for 4.4.2 - 4.4.9, 5.1.0 - 5.1.6, 5.2.0 - 5.2.17
Parse error: syntax error, unexpected T_STRING in /in/edZ8H on line 2
Process exited with code 255.
Output for 4.3.0 - 4.3.1, 4.3.5 - 4.3.11, 4.4.0 - 4.4.1, 5.0.0 - 5.0.5
Parse error: parse error, unexpected T_STRING in /in/edZ8H on line 2
Process exited with code 255.
Output for 4.3.2 - 4.3.4
Parse error: parse error in /in/edZ8H on line 2
Process exited with code 255.

preferences:
189.85 ms | 401 KiB | 313 Q