nit: use const and use function

Also this seems basically the same as Zend/tests/use_const/function_and_cons.phpt