Exemplo n.º 1
0
String HHVM_FUNCTION(decoct, const Variant& number) {
  return string_long_to_base(number.toInt64(), 8);
}
Exemplo n.º 2
0
String f_dechex(int64_t number) {
  return String(string_long_to_base(number, 16), AttachString);
}
Exemplo n.º 3
0
String f_decoct(int64_t number) {
  return String(string_long_to_base(number, 8), AttachString);
}
Exemplo n.º 4
0
String f_decbin(int64_t number) {
  return String(string_long_to_base(number, 2), AttachString);
}