php missing argument error for a function <p>hi guys i am Currently Confused why do i get this error about missing argument when i compile the code it gives me this error Warning: Missing argument 5 for print_LCS(), here is my code:</p> <p>this is the function </p> <pre><code>function print_LCS($b,$x,$i,$j,$k){ $fLCS=array(); if ($i==0||$j==0) { return 0; } if ($b[$i][$j]=='c') { print_LCS($b,$x,$i-1,$j-1); $fLCS[$k] = $x[$i-1]." "; $k++; } elseif ($b[$i][$j]=='u') { print_LCS($b,$x,$i-1,$j); } else { print_LCS($b,$x,$i,$j-1); } return array($fLCS); } </code></pre> <p>and this is the function call:</p> <pre><code>list($final)=print_LCS($var2,$first,$var3,$var4,$var5); </code></pre> <p>hoping for your quick response guys. thank you So much.</p>