title: PHP check function parameters without calling it
body: <p>I am creating a xml-rpc server and now i got to a phase where i want to check if the parameters sent to me in request could be applied to the method specified in . I could hard code it for every method i call, but would be no fun, so i decided to take it more dynamically. To be specific, i need to count parameters and determine their types without actually passing them to the callback method. The closest i could find was "func-get-args" which is nowhere near to what i need to achieve.</p>
  
  <p>User (Developer using my class) has to pass an array of methods, that xml-rpc request can call, so my original idea was to just force user to fill info about parameters into this array, but then i realised, how much would i hate myself for this every time i would do some changes. So i consider this a dead-end.</p>
  
  <p>Can you help me out or at least point a direction?</p>