I'm just showing the function exists. Even if the function is called wrong, that's a different error message than function undefined.
I'm thinking there's something to do with PHP versions. Have you tried using 5.x instead of 7? Maybe namespacing is hiding normal functions?
edit:
check output...