Introducing Radical.sh

Forget Code launches a powerful code generator for building API's

PHP Function without arguments in PHP

<?php
    function code() {
        echo "Hello World ! ! !";
        static $a=1;
        $a++;
        echo "<br>" + $a + "<br>";
    }
code();
code();
?>

Output :


Hello World ! ! !
2
Hello World ! ! !
3