I am using 000webhost and I made a custom PHP function that looks like this:
function example($test1, $test2, $test3) {
echo $test1 . $test2 . $test3;
}
Then I do example('hello');
and it says:
PHP Error Message
Warning: Missing argument 2 for example(), called in /home/a8525001/public_html/test.php on line 5 and defined in /home/a8525001/public_html/test.php on line 2
Free Web Hosting
PHP Error Message
Warning: Missing argument 3 for example(), called in /home/a8525001/public_html/test.php on line 5 and defined in /home/a8525001/public_html/test.php on line 2
Free Web Hosting
1
Is there any way I can stop these warnings without access to the server's php.ini? The same code worked fine on my xampp server...
Thanks in advance,
Ben