0

im facing strange problem in Netbeans. Its a remote ftp project, and i got this class

<?php

class functions
{

    public static function sendEmail($to, $to_name, $from, $from, $from_name, $subject, $body)
    {

    }


}

?>

i think there is nothign wrong on this file, but in Netbeans i got this Parsing error problem. i cant simply call this function thgrough CTRL+SPACE cause its not reading in in other php files. this error is really strange and is slowering my work. Did someone solved this?? thanks

4

1 回答 1

1

the method definition has a duplicate parameter - $from

Although this is syntactically correct, it is bad practice and can make your IDE barf

于 2013-02-06T20:52:34.110 回答