CopernicaMarketingSoftware/PHP-CPP — pull request #74 by hectorj (2014-04-09 11:39:32+00:00)
Title: Enforce required arguments count

Mimic the native PHP functions behavior :
Generates a warning and returns `null` when the minimum required arguments threshold of the method/function isn't met.
This prevents getting a SEGFAULT for a forgotten parameter.
Extensions' developers still have to check for optional arguments, but all other functions/method do not require a check anymore.
(note : stored the function name in Callable as I didn't found how to retrieve it directly from Function/Method and we need it for the warning. There may be a better way of doing this)