[wp-hackers] Corrupt Plugin files

Ozh ozh at ozh.org
Tue Dec 7 10:08:20 UTC 2010


> > 19   function wpsqt_functions_send_mail( array $results ){
> Remove "array" there and it'll function as expected.
> 

I didn't know about this parameter type casting...
Is it equivalent to:
myfunc( $result = array() ) {
        $result = (array)$result;
        ...
}

?

Ozh

-- 
http://ozh.org/



More information about the wp-hackers mailing list