CopyPastor

Detecting plagiarism made easy.

Score: 0.8862810990561737; Reported for: String similarity Open both answers

Possible Plagiarism

Plagiarized on 2018-08-16
by Ramesh

Original Post

Original - Posted on 2011-01-08
by Jacob Relkin



            
Present in both answers; Present only in the new answer; Present only in the old answer;

Absolutely not.
One way you'd be able to pass in unordered arguments is to take in an associative array.
function F($params) { if(!is_array($params)) return false; //do something with $params['A'], etc... }
Absolutely not.
One way you'd be able to pass in unordered arguments is to take in an associative array:
function F($params) { if(!is_array($params)) return false; //do something with $params['A'], etc... }
You could then invoke it like this:
F(array('C' => 3, 'A' => 1, 'B' => 1));

        
Present in both answers; Present only in the new answer; Present only in the old answer;