Get your own PHP server Result Size: 625 x 565
x
 
<!DOCTYPE html>
<html>
<body>
<?php
define("GREETING", "Welcome to W3Schools.com!");
function myTest() {
  echo GREETING;
}
 
myTest();
?> 
</body>
</html>
Welcome to W3Schools.com!