< Language Tutorials

Revision as of 01:24, 11 November 2018 by Millie S (talk | contribs)

Document stub.png This article is a stub. It may be incomplete, unfinished, or have missing parts/sections. If the article can be expanded, please do so! There may be suggestions on its talk page. (Date?)
Functions in PHP are like the custom blocks in Scratch.

Defining a Function

This is how a function is defined in PHP:

<?php
    function functionName(){
    
    }
?>