PHP fucntions with parameters
Posted on 2009-07-07
I got some problems with PHP functions
I'd like to declare a PHP function, using Zend Studio 6
function testfunc ()
function testfunc ($aVar)
The first function, testfunc(), without parameter is OK
The 2nd function, testfunc($aVar), has syntax error.
I could not figure out why because it seems trivial to have such parameter.
Maybe I made some error.
If you've some idea, please help.