- constant: documentation ( source)
- define: documentation ( source)
<?php
$int_var=256;
$double=2.54;
$r=$int_var+$double;
echo"$r";
if(2+1==4)
{
echo"this value is equal";
}
else
{
echo"this value is not equal\n";
}
define("constant",80);
echo constant("constant");