This question here kinda address the issue. In my case I would like to call a function like empty()
or is_int()
. For example:
<?php
$foo = 'empty';
$test = NULL;
$foo($test);
This question is not a duplicate of:
How to call PHP function from string stored in a Variable
My question addresses a native PHP function not a user made function.