Exemplo n.º 1
0
static Variant HHVM_FUNCTION(assert, const Variant& assertion,
                                     const Variant& message /* = null */) {
  raise_disallowed_dynamic_call("assert should not be called dynamically");
  return impl_assert(assertion, message);
}
Exemplo n.º 2
0
void HHVM_FUNCTION(parse_str,
                   const String& str,
                   VRefParam arr /* = null */) {
  raise_disallowed_dynamic_call("parse_str should not be called dynamically");
  parse_str_impl(str, arr);
}
Exemplo n.º 3
0
Array HHVM_FUNCTION(get_defined_vars) {
  raise_disallowed_dynamic_call("get_defined_vars should not be "
    "called dynamically");
  return get_defined_vars();
}
Exemplo n.º 4
0
int64_t HHVM_FUNCTION(extract, VRefParam vref_array,
                      int64_t extract_type /* = EXTR_OVERWRITE */,
                      const String& prefix /* = "" */) {
  raise_disallowed_dynamic_call("extract should not be called dynamically");
  return extract_impl(vref_array, extract_type, prefix);
}
Exemplo n.º 5
0
static void raiseVarEnvDynCall(const Func* func) {
  assertx(func->accessesCallerFrame());
  raise_disallowed_dynamic_call(func);
}