<HTML>
<HEAD>
<TITLE>
</TITLE>
</HEAD>
<BODY>

<?php

// Named constants

echo "<P><BR><B>Now constants:</B><BR>\n";

define('M',3);
// define ("M",3); // OK
echo "M = ", M, "<BR>"; // Prints M = 3
echo "M = M"; // Prints M = M
echo "<BR>M = $M<BR>"; // Prints M = 

echo '<BR>';
echo "M"; // Prints the letter M
echo '<BR>';
echo M; // Prints 3
echo "<BR>";
// M = 4; // ERROR
define('M',"Iyad");
echo "M = ", M; # Still prints M = 3.

echo '<BR>';

define('A',"Iyad");
# define('A','Iyad'); # OK
echo "A = ", A;

echo '<BR>';
define(y,4);
echo y; // Prints 4
?>

</BODY>
</HTML>
