spaces in function names

I am reading some code in a program named Sphider (.sphider.eu/) and started seeing an occasional space between function names and parameters. Is this just a deprecated thing (PHP 4.3., I think I found mention of somewhere) or is there something more important that I am missing about how this code works…(I am getting no errors while running it with PHP5.3.0)…

for example there is a space below after the word “addsite”

function addsite ($url, $title, $short_desc, $cat)

Hoping NOT to be seen asking for help with Sphider specifically, just seeing if generally this practice/use means something in general or achieves something specific.

Thanks!

It does not serve any purpose. The code is valid with or without the space there.

For example, this is valid code, but obviously it looks silly :wink:

[php]
function test () {
echo “OK”;
}
test ();
[/php]

Sponsor our Newsletter | Privacy Policy | Terms of Service