PHP 8.5.0 Alpha 1 available for testing

Voting

: zero plus two?
(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