Skip to content

How to call a PHP function with dynamic generated function name? #978

Discussion options

You must be logged in to vote

Also

call_user_func(array($this, $choosedFilter), $image);

should do the trick.

Replies: 1 comment 2 replies

Comment options

You must be logged in to vote
2 replies
@GiovanniSalmeri
Comment options

Answer selected by PetersOtto
@PetersOtto
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants