change the encoding method to hhvm_static_method