Voting

: min(six, three)?
(Example: nine)

The Note You're Voting On

chris at peeto dot net
15 years ago
The value of a constant can be the value of another constant.

<?php

define
("NEW_GOOD_NAME_CONSTANT", "I have a value");
define("OLD_BAD_NAME_CONSTANT", NEW_GOOD_NAME_CONSTANT);

echo
NEW_GOOD_NAME_CONSTANT; // current
echo OLD_BAD_NAME_CONSTANT; // legacy

?>

<< Back to user notes page

To Top