vlad-ghita/symphony-2 — comment on commit 55bc74244d139f90f1b0a70749820cd09852649a
File: symphony/lib/toolkit/class.general.php line 1363
By brendo:

Also, do you think it would be better to show the name of the argument that failed rather than the position? In some cases the position is not accurate as the first 3 parameters of the function can be type checked (ie. XMLElement $value) so the index will not truly reflect the argument in all scenarios?

I think this would have to be passed by the calling function as an additional array param, I can't see another way to do it without using Reflection.