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

Définir des constants en PHP

 constant
{filelink=14098}

<?php

   class Fonctions_math
   {
     const PI = '3.14159265';
     const E = '2.7182818284';
     const EULER = '0.5772156649';/
   }

   echo Fonctions_math::PI;

?>

No comments yet.

Leave a Comment