Définir des constants comme nom de variable

Author:

 constant,
Download

<html>
<head>
<title> Fonction Dynamique</title>
</head>
<body>

<?php
    define("HeuresParJour", 24, true);
    define("MinutesParJour", 1440, true);
    define("SecondesParJour", 86400, true);

    print HeuresParJour;
    print minutesParJour;
    print SecondesParJour;
?>

</body>
</html>

Leave a Reply

Your email address will not be published. Required fields are marked *


8 − eight =