CakeFest 2025 Madrid: The Official CakePHP Conference

Voting

: min(seven, six)?
(Example: nine)

The Note You're Voting On

luisguillermo dot quevedovelez at gmail dot com
13 years ago
I had defined a function function_name(){ ...} as a drupal callback.
I try to get how many params where passed

I got a Error and my Site falls down

I've replaced func_get_args() instead func_num_args() and my Site was restored.

I conclude you can not use func_num_args() in callbacks.

Hope it helps.

<< Back to user notes page

To Top