<?php function greet() { echo "Hello, welcome to the site!"; } // The function runs only when we call it greet(); ?>
Click Run to execute this code.