1 2 3 4 5 6 7
<?php function writeMsg() { echo "Hello world!"; } writeMsg(); // call the function ?>
1
Hello world!