I have some legacy code that is present on a live program.
The error I get is:
by the line:[client x.x.x.x] PHP Notice: Undefined offset: 3 in /.../x.php on line 70
Code: Select all
list($a,$b,$c,$d) = split(":", $retValues);What would be the best solution to find out what is actually being set in $retValues (only when the issue happens). I can't feasibly do it everytime because it is a live program now. It's not an issue the users themselves notice, but I would rather clean up the code to the best possible. I don't want any coding errors to be in the logs.