PHP Source:
<!DOCTYPE html>
<html>
<body>

<?php
// case-insensitive constant name
define("GREETING", "Welcome to W3Schools.com!", true);
echo greeting;
?>


</body>
</html>
Result:
Show PHP - © w3schools.com
Privacy Policy