Powered by Ajaxy
Digg StumbleUpon LinkedIn YouTube Flickr Facebook Twitter RSS Reset

Création et appel des constantes en PHP

 constant
{filelink=14097}

<?php
class Employes {
    const DISPONIBILITE     = "partielle";
    const HEURE_TRAVAIL   = 4;
    public $status;
}
echo Employes::DISPONIBILITE;
?>

No comments yet.

Leave a Comment